From patchwork Thu Aug 15 02:59:19 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 11094981 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 130BB1398 for ; Thu, 15 Aug 2019 03:00:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 020F62881B for ; Thu, 15 Aug 2019 03:00:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E980A28823; Thu, 15 Aug 2019 03:00:05 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 9DF3D2881B for ; Thu, 15 Aug 2019 02:59:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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:In-Reply-To: References:List-Owner; bh=dQ4HfzP5BLFpJWITNLGzSIlU78qZ2Yz5gprpWOE/N+Q=; b=Spb 113FpIy5XXpVr/dxK7M5EKlyyNdNFxqiteO4cEM7dUqza+reAQByq5V2TFNw8vVRNltEvj9YMPif1 t2crhRPrJrNahFais65jv8AAh4SmdXhGt61NdiHq/GdWrjUxlaGy16H7Sonqz7kVfUs4O7tct+dRf UqjENYzQASdfh5UXMjViOKVGvNzY7RiwWk59Wkos1Og5fNOwUkO/IqCxYQ3TrN54dKHcQVKteFeVk 0lQTI6Vfr0F73A6Om5TogmkcwN588jeAGfJJCmpszT8FDIWQMTZkYDMTk5CPQYRiGxVEpJttyzVgn XP6H1IekbRJhuWmu9OJZSNgyyiDZhGg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hy5zS-0001OG-8G; Thu, 15 Aug 2019 02:59:50 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hy5zL-0001N2-GM; Thu, 15 Aug 2019 02:59:45 +0000 Received: by mail-pl1-x641.google.com with SMTP id a93so530144pla.7; Wed, 14 Aug 2019 19:59:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id; bh=jtcbQSdvzy5cT1Z921sK+U6eJuTaITvB/5Row+mcI0c=; b=VPyImWLVUBR+YJhKD3akvkpU0i5ENU919XA+N261pXNLUFFifIFgh984CAi1BGK4vs lsmnqso8RLiJ5hSxAWHUja3jeCIOxoGHPfWnJrn/ovMXJpj1WRuNX3c75AJSx0/FKszp hJAAFWhE0XnpJm7uZ9mmm2LOPKDYV/PtMHUuZa6siu7IYpg/BQ8eGkZAbHfGeNJXuSpJ qZeRdMNSciFbNM8VytVYUqIkSC0J+/9HhlcbAEmm69zb06ksFXU42GNGPno9eAHvtbYJ ImoEBwmnFdXq0/QO62cuWxg+JxAHIe9UZFsxbrod04OUUk9CQAXBMJN8OsJE7pXhtlp8 G/Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id; bh=jtcbQSdvzy5cT1Z921sK+U6eJuTaITvB/5Row+mcI0c=; b=HkIe6T13U8N3Me+1nhDMK8qksvauA1Rf7XciNqiHNrT1ZNLrdZVmEP+sZaDlDuJES3 8HnoEV7xU4ElRoJGsV6+CgmZdmHvICVgBXXwXCDatHTSP1W65+6t1qtJjcM3fFZ5paqF +eaeUvP2V/hBBxO/Hk+6wQJDJU0zpfoRr1ScQFwgp1/yAbE7lo6PZ8BzyW56eggamoOV y/QFQEd0fDOl7sOZKSkAMaoceC+RokPdKEJgSe7zO4/FupOYQ/RnwGTS7RuCRy8Lj3SQ JEPU4fdFwXGQ1oGbd5hKukFF6Tfs1oRAKxWRAj6jFyK8synuVvzpChjCX6+ia7Q7kgLn AHSA== X-Gm-Message-State: APjAAAXR/z3AJ0OTEc1fmJhbhHABgBPExrtxkTZDP4+LpYk7HHhd08rC eNOGxGW3nggvM0xzzTCZGZQ= X-Google-Smtp-Source: APXvYqwQlvrnAQc0lPUHt/zfuAZ+tW3qd3Tcao4Wz1WqTtmVKnHjXDaxSx8tYi4gb6lsRg/sGGftXQ== X-Received: by 2002:a17:902:d715:: with SMTP id w21mr2413435ply.261.1565837982100; Wed, 14 Aug 2019 19:59:42 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id k5sm954439pgo.45.2019.08.14.19.59.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Aug 2019 19:59:41 -0700 (PDT) From: Kever Yang To: heiko@sntech.de Subject: [PATCH] arm: dts: rockchip: fix vcc_host_5v regulator for usb3 host Date: Thu, 15 Aug 2019 10:59:19 +0800 Message-Id: <20190815025919.5194-1-kever.yang@rock-chips.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190814_195943_550355_EC333659 X-CRM114-Status: GOOD ( 10.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , devicetree@vger.kernel.org, Jonas Karlman , Katsuhiro Suzuki , Kever Yang , linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, Chen-Yu Tsai , Rob Herring , Tomohiro Mayama , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP According to rock64 schemetic V2 and V3, the VCC_HOST_5V output is controlled by USB_20_HOST_DRV, which is the same as VCC_HOST1_5V. Signed-off-by: Kever Yang --- arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 7cfd5ca6cc85..bd4ad1635e0b 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -35,9 +35,9 @@ vcc_host_5v: vcc-host-5v-regulator { compatible = "regulator-fixed"; enable-active-high; - gpio = <&gpio0 RK_PA0 GPIO_ACTIVE_HIGH>; + gpio = <&gpio0 RK_PA2 GPIO_ACTIVE_LOW>; pinctrl-names = "default"; - pinctrl-0 = <&usb30_host_drv>; + pinctrl-0 = <&usb20_host_drv>; regulator-name = "vcc_host_5v"; regulator-always-on; regulator-boot-on; @@ -320,12 +320,6 @@ rockchip,pins = <0 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; }; }; - - usb3 { - usb30_host_drv: usb30-host-drv { - rockchip,pins = <0 RK_PA0 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; }; &sdmmc {