From patchwork Mon Jul 20 18:51:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1521 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pl1-f197.google.com (mail-pl1-f197.google.com [209.85.214.197]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id 352593F080 for ; Mon, 20 Jul 2020 20:52:16 +0200 (CEST) Received: by mail-pl1-f197.google.com with SMTP id c15sf10966845plz.15 for ; Mon, 20 Jul 2020 11:52:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595271135; cv=pass; d=google.com; s=arc-20160816; b=tZH/ZPKYCSqb3qFd70cqd8LoDn8Zqk0tfLJ4W2PARLfvBmuve23ff3sprcF8DLfjCz SzRUq/YTjLy5+ThPD4nM7mAZnPA1gxlbJT/iqmesxGcu12xQQwsgdEk5gBKH+QIg/DCD ZRkj7qHAaClzFSYiKpULlwA4nQCe+7PJbJNyGAPWyYz3jNY0Q5BaaLogGLB3kKAW2brf zlCKhT4vDFcaVQL+Am/9VZgsIVRvkfJ2puVXt8uwRU4CzgZYb4LcIZAGo66+WyGu6d6t g065UWlieJtjzwOlthFQvM0yKuXy3WrXVepypANl7nrdsQ1+QOS1LfhvSTB2B7vZNGBw c81g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-archive:list-help:list-post:list-id :mailing-list:precedence:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=C3Hu9E5RqwCj4BJu6SDy7959QrGS3N/+ml0embbp5KE=; b=cRQRpNhw7nE4rLi970SQ7LPiut/OSOZ0/UmwB1Q+TMHjptZ59QZey3JGfy3VmTSUpg aDInNeTIP8pjaa6FlQ4b6jGp6ztKsoxKsIEp3ALF67ntLcKAO7K1AJdtkNb2WUvdQgsH oxwKp0BM1FlqSj+Qj3ofdZq0nS93ewBGALJT2a0c67coQR0YwaS/gIuSJfpC+rph1lJa FvBfhh2MfV6bHbpZ0J0LoNSdTlHm80e4zetMKeBd9BWTYqyN66bJKEqi+wi7VL3cpwC7 HAZ8g8jXZpPFoU0FHu6/IfQEziG15vQGIBclgTbNig53NGsKzgDEkZ+olbj+xbgo+pam aGBQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Q/XcJjiz"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=C3Hu9E5RqwCj4BJu6SDy7959QrGS3N/+ml0embbp5KE=; b=TV8Q4nuX0YpjjHrwS53sez/LX8eUhNtrKKiJpgMwyf6ecQgiH2UGYWEqqvpkVLOP8R EZskEm/39K/Qk12ebk2yl7QE6lk6Ca0xCskJRrqZeV6veEZ8NhUOLjxIVA3Dilw/8Rrk st9n0u+V1s2ZEkoY9nQjtV9QdUviDViPkhylg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-unsubscribe; bh=C3Hu9E5RqwCj4BJu6SDy7959QrGS3N/+ml0embbp5KE=; b=dr1xn3p7e38/9G6HcEpCAl9wuPFKQPzYb2tUUNXCkTCDnZWdEd9F1l10FfkSUQjMGc BjY+26jTq8j0xRESIcO/FRJrCmPFA+pMHcNG1CEvb9CUT7C+uttN6uSjW6YHCkyQ0eCG LTpkKe/sFMwzuR2QIf9c3BGsWhTJlx4TKRvJrUwGHJsxqI7p1Xh9ZFfqtsB8hJ3iwn0U Tj8idBt+DejRXyIg+sRTsfW5w4Sh2HLj27UtMe5hOXtKdqVPjQXiz/2mlfDVTktSEFoZ JMvHtQ0euGxEome8iZSjUqakdtuP+2wWoVyy4gFVHbjIHomdHqVMBlRAeyJA30WytqWR KM8Q== X-Gm-Message-State: AOAM532o2OXr9BuosP+8BXf1zpiTIy0Z56ekpxFYolTO6XQyEmZtz9Hy Dl8ZQH5rYJAk+Oi+RUEDqZOLVBj6 X-Google-Smtp-Source: ABdhPJxJmupR2VfrfgYjDYJnMzqvzliZXvCGYCRU6hGiMQSMAZ7pj+Ua8TofqHIEhGx0PXQprdlohQ== X-Received: by 2002:a65:66c4:: with SMTP id c4mr5986715pgw.442.1595271134235; Mon, 20 Jul 2020 11:52:14 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:26aa:: with SMTP id m39ls13998pje.0.experimental-gmail; Mon, 20 Jul 2020 11:52:13 -0700 (PDT) X-Received: by 2002:a17:902:a3c7:: with SMTP id q7mr19297088plb.20.1595271133691; Mon, 20 Jul 2020 11:52:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595271133; cv=none; d=google.com; s=arc-20160816; b=hNhwY4cs8pVZUPOFDKzSdDbYZd9zNOM8Jbx1EYjFK6AiI32D59+ISLQplljcqwXsaK GV4btIIVVoMprEJieJ6i4FIoTqKgJzj0q652bTNNKBlczLLthccMPuZGG3TaTYkRm27k Z0z6XBF/guYNtADvI0+N7g/JlfAxUZ+NAzJNfTlU73P8IvpAdB6wHS63qVBCU9Buma1w tKKXeK0lHF1Oiv5hrnqkZOajohE3TE7dQURoVds0H0LVc7fnG+N+PWka78E2W0y/hR3s rLiNo7h8gRym7mp7g5fflpD9Z12TIL/gyUroG2xpIVAMcuhknGuTPtGExjSF6CljzMHU wDoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=DHP2+gYJ4aLdOt0nif9x51u8Uev+ldn4aYaib4Nxiyc=; b=06W0OtyT+JKDrTwPpZ71+255Lner5kk3V0iSFJ1/tMctz4YJdcQyPJFwFhbMGExGzq tYmRGe+YBXcpsYRNCdB5oseA8Ob5gUPEGJUPI+dtkTd/V3JF7Yfozm/Ik8AsFJBrTotY pTYAz7HO9YsnLHdXQYr5jruEA35HFzHCLyTcCApeX74oL0e/R6sRT5rcF7YRJ1XahlzI DqOSumWAO0WUgnCuAMppgUVVD69yLkTQzZgk9AyZRtIHkIkuEQrZJsSwLuU2svaPnCxT bFohB6zlF9r6///SJS2aC1gvbZR9Iz8gYF7BR94w3ZhrP4s2FQnhx9bi6B88TYjJR5fU i/uA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Q/XcJjiz"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a14sor21604292pfl.57.2020.07.20.11.52.13 for (Google Transport Security); Mon, 20 Jul 2020 11:52:13 -0700 (PDT) Received-SPF: pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; X-Received: by 2002:a62:2b0c:: with SMTP id r12mr21247891pfr.122.1595271133283; Mon, 20 Jul 2020 11:52:13 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:8c21:db7b:4558:fba3]) by smtp.gmail.com with ESMTPSA id m9sm306649pjs.18.2020.07.20.11.52.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jul 2020 11:52:12 -0700 (PDT) From: Jagan Teki To: Kever Yang , Philipp Tomsich , Simon Glass Cc: Suniel Mahesh , U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki Subject: [PATCH 03/16] ARM: dts: rockchip: Add usb host0 ohci node for rk3288 Date: Tue, 21 Jul 2020 00:21:07 +0530 Message-Id: <20200720185120.671064-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200720185120.671064-1-jagan@amarulasolutions.com> References: <20200720185120.671064-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-Original-Sender: jagan@amarulasolutions.com X-Original-Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b="Q/XcJjiz"; spf=pass (google.com: domain of jagan@amarulasolutions.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=jagan@amarulasolutions.com Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list linux-amarula@amarulasolutions.com; contact linux-amarula+owners@amarulasolutions.com List-ID: X-Spam-Checked-In-Group: linux-amarula@amarulasolutions.com X-Google-Group-Id: 476853432473 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , rk3288 and rk3288w have a usb host0 ohci controller. Although rk3288 ohci doesn't actually work on hardware, but rk3288w ohci can work well. So add usb host0 ohci node in rk3288 dtsi and the quirk in ohci platform driver will disable ohci on rk3288. Signed-off-by: Jagan Teki --- arch/arm/dts/rk3288.dtsi | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288.dtsi b/arch/arm/dts/rk3288.dtsi index 18b372db3a..22bb06cec5 100644 --- a/arch/arm/dts/rk3288.dtsi +++ b/arch/arm/dts/rk3288.dtsi @@ -431,7 +431,16 @@ status = "disabled"; }; - /* NOTE: ohci@ff520000 doesn't actually work on hardware */ + /* NOTE: doesn't work on RK3288, but fixed on RK3288W */ + usb_host0_ohci: usb@ff520000 { + compatible = "generic-ohci"; + reg = <0x0 0xff520000 0x0 0x100>; + interrupts = ; + clocks = <&cru HCLK_USBHOST0>; + phys = <&usbphy1>; + phy-names = "usb"; + status = "disabled"; + }; usb_host1: usb@ff540000 { compatible = "rockchip,rk3288-usb", "rockchip,rk3066-usb",