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: 11675891 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9C01F159A for ; Tue, 21 Jul 2020 15:25:23 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 746FD206E3 for ; Tue, 21 Jul 2020 15:25:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AZAF+8D1"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="KjgfwZIU" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 746FD206E3 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=amarulasolutions.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VbnYYdWTtUriKlP5fUm86Yl4fS4SZkumNMCIxnvF+pw=; b=AZAF+8D1Mphojzh3ofAqCoE7D 7uomKfqbE9AL8bBbuYXwmTxK/ls/xxwERtxYqoklbfz4CCm0cUoAmiYQyps+YOwHHskVhg4Y5CR7h KX464rLTpuEbw9jdpYrWfA107/CedADsSU0OFL+o9yRcTV6LKVeeNVMSE9tJYHrUF9+Nlg0G2JFPZ AnAEIh491pJPSsVC0tgQHQNwAPspM6xUQTJnhmuUO9m1cOcj4Z5zeqtKrCsbs2dkpLCxIJZCRHcZb ebBhE/mu60VLzz0Kv06LlhesPQS7SZl4YzroMVbW7XpUcr3NjtLjQjnO/GWD/IOaau7BhNPGVx8mp 4m3MPS3Dw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8w-0003tt-65; Tue, 21 Jul 2020 15:25:22 +0000 Received: from mail-pj1-x1043.google.com ([2607:f8b0:4864:20::1043]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jxu8k-0003nY-0E for linux-rockchip@lists.infradead.org; Tue, 21 Jul 2020 15:25:20 +0000 Received: by mail-pj1-x1043.google.com with SMTP id k1so1731339pjt.5 for ; Tue, 21 Jul 2020 08:25:09 -0700 (PDT) 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:content-transfer-encoding; bh=RRQJMfMOUyCEkYE2mTHnwCt1aViIDvYEYRPrKdHdJFU=; b=KjgfwZIUqQWEusLu5xRkr38PjvxiYO8nzbFGgPFeeF5cHoNbIQC+l15Mjsqny8c9eq wevXutYYN2z8R5XrlRNXzym4TzVq6QY+m1Ox4atwFObbbsZXQbFA5OpMqbY85iRFbMWx BDe6tCt+0NrQPKIu5Xs8jYzAsriYX5T9i/Ei8= 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:content-transfer-encoding; bh=RRQJMfMOUyCEkYE2mTHnwCt1aViIDvYEYRPrKdHdJFU=; b=JMsTuIQwgZQtPByrPRF7ubI5u5sgTlRvAhl0IlMAsNvEqVUDk9A950Ys7wROPy+NK8 weFedZrIR2LVQQhIyM7+uClEMPHEjumnX3hM8nLgr6ydJEamk3LketYZpIwZMO+gB0/y 5HAoGS/8rK03cTTu2iIS0tdg8cYoxOvbcb4kBJDU0Vsr7q9sfHSXAMTBB6jLw4qU6Er+ a23eCKVvcXo99zDc2Ndk5ZSWv0kwbA2QfyLU+vjbKrO02mcQdQLgqJZSaIvtA4ZOxbZH S9unEEUI5tVdLgluLC2QvimfZ6OyCIeGucWdJjQ9LZuCjTDoT90NYSDDBZyMAgsNQvx9 tPJw== X-Gm-Message-State: AOAM530smdNtSR3RovcUszT0674LuynG5V1X7DZsyqVTKGeFoi8rNul5 rKX/20qkI3Xadr9UWfpQxBtFfA== X-Google-Smtp-Source: ABdhPJxNwm42Tt4x18cmhokfRaGSpl6LEUi6Csuw0+jXe1vBXHcE5gnx9Rw7WNRg60ssRycAEUQ0ng== 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 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-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200721_112510_099342_A5E14B2D X-CRM114-Status: GOOD ( 10.49 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2607:f8b0:4864:20:0:0:0:1043 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain X-BeenThere: linux-rockchip@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Upstream kernel work for Rockchip platforms List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: U-Boot-Denx , linux-rockchip@lists.infradead.org, linux-amarula , Jagan Teki , Suniel Mahesh Sender: "Linux-rockchip" Errors-To: linux-rockchip-bounces+patchwork-linux-rockchip=patchwork.kernel.org@lists.infradead.org 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",