From patchwork Thu Aug 15 08:12:52 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kever Yang X-Patchwork-Id: 11095175 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 8B750112C for ; Thu, 15 Aug 2019 08:13:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7E7ED28845 for ; Thu, 15 Aug 2019 08:13:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7252928848; Thu, 15 Aug 2019 08:13:25 +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.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 2824F28845 for ; Thu, 15 Aug 2019 08:13:25 +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=tmjt4Y3FZuY85C4Ot4t0mTUCzRfAOt1JStPz9L8WiQU=; b=H/I Q372ISfWugxQ8b9IwcyBFM/TtxUWfhM/IHbTd1EGVr2M7kSW/N5/Y4jB5dPg9VuUoAImCBqkrPNiV Tl2cZVlDQ2zX0bzbvRBmYXXKgI0iLhL0i5sVbwrljZozALy3wHzy/5aXv6WQPMbqVev5Xj1bYHSba I3aU3iERpN8+Pg3NAExxPe0vlJTOqp7KBbGiPB6EiJiC1zvZmZzQ3uSzoVvEbT39lGJTiT0htZE2x cSE8rDfOOe9kS53aRkVvCU6dnph/audStmQXXTzT07MfvIFU7PTTMLvbLvSYaTLeKse7Q1MXgvTj1 0m+xWdXnk7AIPibEnE82peuR686egmA==; 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 1hyAsu-00081Y-DY; Thu, 15 Aug 2019 08:13:24 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hyAso-00080U-V9; Thu, 15 Aug 2019 08:13:20 +0000 Received: by mail-pf1-x444.google.com with SMTP id g2so1016821pfq.0; Thu, 15 Aug 2019 01:13:18 -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=wLap0Zy+ci+CJDpmUhxVRnZnzzmq1nqEQXj4qyza1yk=; b=Um9fSX9fZr03aGVR9n/2L2BbbywQnKhRAh4QrS5sagL2hVLXlD30pHM3LuzL1BoIn5 YCrlu6fk5e5H6Lheqo7PNWlDFf6NLgVhZdsYutua0Ut3l68Z79njZbJFc2JHVVZYWGBy /t6FZeHHUFhkK6e4+44v6dEliHtgZoLYzWfsa1bmGMaO42B62KyF5R5+eYRQpGPJyjJJ jRSkPUvCfTYGWCkW/P1N/xf4Nq+cHCVXScD+coc2PtThtU+itgJWTF/Yf1AhDDzyF4j5 tdaLxbEzEeohf1Fx+5bxzYU0kl/WD0nk04iUR3HxlzL0b6SDcpY0IFuCcJ2ddLqvD5l3 cOFg== 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=wLap0Zy+ci+CJDpmUhxVRnZnzzmq1nqEQXj4qyza1yk=; b=hU8ZQEV78/z2LaZBXWgCQzZIxJMC682ytxbD9K1hFdgzxJyLAIeLtlrJoeKRQg7lwv F/2o7ryrktWU7176Ua6D1AnMH8W1UtpbULrIEOk5auDBGY3NOm1HTn6jBzmm7zGAiXew IEfcxYkV257zVgWh6DYgIvGAa0ciJv3cXgxdISD0WOGNZZvgaNUGbWs9V1T6mMCZCXbi 8RnLFa94c4SozRtJSjmO90QANXDwXgvrZ2Ip2MUn4qV5iNRK1fTbuu/PUwQG+fcn81l5 W2SkMQ3ZJnUjZ/hRCJ3UJGTRK+mXEkPhlIrdSMdq0+1sJgL+QVcNGavDDUGngUgXRD4K wQ7Q== X-Gm-Message-State: APjAAAX/X+Mn0IY2PLQCcGjEno0+ZUkaIWu7pzL3LkUT4dz0jatgQ/tN IbegcHD4XYSAbz7m2d+fSz0= X-Google-Smtp-Source: APXvYqxhSkqTwo55kHvwOxePBRXqzxO0xgOzn16baZ6D28WYL4ASlLZ/C50ueZXOn/sduDjLE5annQ== X-Received: by 2002:a17:90a:35e3:: with SMTP id r90mr1195041pjb.34.1565856798082; Thu, 15 Aug 2019 01:13:18 -0700 (PDT) Received: from localhost.localdomain ([103.29.142.67]) by smtp.gmail.com with ESMTPSA id h17sm2084786pfo.24.2019.08.15.01.13.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Aug 2019 01:13:17 -0700 (PDT) From: Kever Yang To: heiko@sntech.de Subject: [PATCH v2] arm: dts: rockchip: fix vcc_host_5v regulator for usb3 host Date: Thu, 15 Aug 2019 16:12:52 +0800 Message-Id: <20190815081252.27405-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-20190815_011319_030144_34ECC551 X-CRM114-Status: GOOD ( 10.48 ) 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 --- Changes in v2: - remove enable-active-high property arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 7cfd5ca6cc85..62936b432f9a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -34,10 +34,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 +319,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 {