From patchwork Tue Jul 21 15:24:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 1548 Return-Path: X-Original-To: linux-amarula@patchwork.amarulasolutions.com Delivered-To: linux-amarula@patchwork.amarulasolutions.com Received: from mail-pj1-f71.google.com (mail-pj1-f71.google.com [209.85.216.71]) by ganimede.amarulasolutions.com (Postfix) with ESMTPS id AEC573F03F for ; Tue, 21 Jul 2020 17:25:09 +0200 (CEST) Received: by mail-pj1-f71.google.com with SMTP id q70sf1833947pjb.0 for ; Tue, 21 Jul 2020 08:25:09 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1595345108; cv=pass; d=google.com; s=arc-20160816; b=FCX2CXRgXM2kBp2wdxsobRF1FUSz2kjy0L4iR85d/5YgyDtmmC0ert94uPFkQ0ihBy qKih62kCRnKMw6FN8zRfmTXxzH2jmwwV6xobR4O2+Zc5WSrnq+zAe3qLhx+ugUXG4Nl+ sikC1vrCQxNW1MSobWn78RO79GpAsSiSQgdyAp8d6hJzB4fJ8zT5/YRPBJo/0LwvX2uz kwBdA2sjnAFheOhH+8oAJ3QRhw2Iku8ubjybAlMQi5QWE7mVxyqDN/raxS3Lb2EXrdWQ 1hbePddau3IfBOhgj1sG1Cbxh2dgVwz5y1epHs9VHov+q/OV+wJcJv2fQ8WxvoojUYlS r20g== 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=HB4Uu1GEqfWrGIxVc7s3Oe8oacEB8eRKZA4BgNusTls=; b=lmaeoVXcY/TgkAiXVVGIBJB5oOGqFPs2gjQEI5gFh2DsoZePrTdiPsC/Br2UCAKIJN 8kGTC/Xz+rcacxGLWRYqw16b9NvicE0aHC5Vu/iU+4GR715COUtA6Stb4VMj4ri41Gut iPZVbd2o8i22QAgVPjDTdVZU8ygGd5DgMhaOG2nM8GZBtlkC4pufAsmIHth3/0mjIxdj KiQgu9QfRKAfeMjP85/8bS2qhL79d++l7gF+EEFXGtsCxqbwLnxb7ceWcWQo32tvjHCG MuKq6+tE3CdfY6Aau/7bBS5pY/Lhuxx5djPPI1KMf4audDrIWtk3g8HYrE3FrEm3yMF9 3RoQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KjgfwZIU; 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=HB4Uu1GEqfWrGIxVc7s3Oe8oacEB8eRKZA4BgNusTls=; b=Fz/R696QIHOaXg7EujSbCvqo4jeQuq5Y25M2k5rJqWeNGBxSO/46s7LCVKJkK+KFy+ DGLVNcvIc3lA+Ns4dmN+esj7xnLVKnMrOwGbhf8X21fpbTQpse79jwrQ4HPnL2g+nEMy jXvm/Hiab1PRdMw0nZ7xvnQjdqN6K0dnVk4nk= 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=HB4Uu1GEqfWrGIxVc7s3Oe8oacEB8eRKZA4BgNusTls=; b=N0NfEWe7P6GwpmRxaYqGjHppTpLTZ6MjMHoXUFhTUpKZS+hI6WOK9LUelLHRnpjLTT IuucrAlmU18NxSMejyJ2GkoTFoNHOQNzzY9q9cyeBvOhy6LPPvZxHpGVs2ZS1S1aIbII FEqqN7M1V99N+EaNYiVXr38D278eFQL13wikM40kywNZlJuIlvbe2Buia/IpMx4spP3g 4pU/3K3C2oOlj4DXRDSJInce+z8J/6Vez7xeYE7hRjlBRElu8cwbIibnSQDFrUT1t6jl MqAh5Kuifjgzac9QLhj56Li1H++kl6lyQYxp7kCYFPKGmjq3TN5za+Axaxda0HP3FjY9 vijA== X-Gm-Message-State: AOAM533uN0NzkymGciRVaWx2hMoQzFpCSWLE5aVBILzMCHz1VZNl/fC3 DIMjpBqNWQ3iulsZSYJXMTW+MbHN X-Google-Smtp-Source: ABdhPJwXbJ6abFRKGArjjmMIeNn/dT33YlxDM2Si1Xnls2P6fTSv7GabDROA3SHEL8ND0TrWzg3A8Q== X-Received: by 2002:a17:90a:71c3:: with SMTP id m3mr5613831pjs.225.1595345108523; Tue, 21 Jul 2020 08:25:08 -0700 (PDT) X-BeenThere: linux-amarula@amarulasolutions.com Received: by 2002:a17:90a:4b04:: with SMTP id g4ls1677261pjh.3.gmail; Tue, 21 Jul 2020 08:25:08 -0700 (PDT) X-Received: by 2002:a17:902:8215:: with SMTP id x21mr4084493pln.105.1595345108067; Tue, 21 Jul 2020 08:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595345108; cv=none; d=google.com; s=arc-20160816; b=p4d0wve4UR4JRRtpCb0bsTdCy5+XUfdV1dStccmunq137K6TYUOqTb+gZfUw8ACH96 7QgXQckRI/Dx1a/X9iM7isBq1MZtLR7PoufmjrHj5d4fQ3ZJE0+M+W4lsyBSbRmDgK7R 72JhpW50AL8Od3Yx7BA7hKD8JeXcESUjvur925l+8Uh/TXK9CHgs19A2dx/j5+cfqR5H LNPpGSnZYMp2XMmsSQxbQGoYwbC/S6dWH0cVIMCRtxFghpIGxW+xzeJyRKpRbyuKNwzy TTCQ9NCe/tFRWf2mWFcMmpzW7vqsMiQNz8MfUl5NdK6mqCilwzvinH0SP/hq00inIYCo Jwkg== 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=RRQJMfMOUyCEkYE2mTHnwCt1aViIDvYEYRPrKdHdJFU=; b=0Hy6gdOJ2fmDDi1m2yazqiNvB+/slrDGSy3bawRJpcPzWHjetYSaHzrPmQ4sIVGsi3 bvMd6DELzvk+QVw1TdnNekgdtse7tqEUWy0epFPWkeuA52iofG9bJpdqaVS8SJAR8Lf9 /vfNI2Va7/mWhbDiKFrJBnA5bjNRrjO7KzMNm/AmW771kAxi+v4UvwDn4SdvgNmLbzJ2 7wb4mEbjkfTB7TM5m855u6I6qzA+jlzRRXWpeCe4a7D2sdIowzQ2bYLHltbsgMMm27e6 yRw48cgoVeeyfrOQeUy+c4VOXuwrAV04RVW0TqTTlXtUI8WIMeCtzRoooMFGsWKp4ese onZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=KjgfwZIU; 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 nv14sor3706274pjb.5.2020.07.21.08.25.08 for (Google Transport Security); Tue, 21 Jul 2020 08:25:08 -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:a17:90a:6281:: with SMTP id d1mr5291086pjj.231.1595345107768; Tue, 21 Jul 2020 08:25:07 -0700 (PDT) Received: from localhost.localdomain ([2405:201:c809:c7d5:3df7:ef76:b2b5:fa14]) by smtp.gmail.com with ESMTPSA id h131sm2876838pfe.138.2020.07.21.08.25.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Jul 2020 08:25:07 -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 v2 03/12] ARM: dts: rockchip: Add usb host0 ohci node for rk3288 Date: Tue, 21 Jul 2020 20:54:37 +0530 Message-Id: <20200721152443.37602-4-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200721152443.37602-1-jagan@amarulasolutions.com> References: <20200721152443.37602-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=KjgfwZIU; 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 Reviewed-by: Kever Yang --- Changes for v2: - none 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",