From patchwork Tue Jul 7 10:12:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Nazzareno Trimarchi X-Patchwork-Id: 11648139 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 952E414B7 for ; Tue, 7 Jul 2020 10:13:36 +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 6D849206DF for ; Tue, 7 Jul 2020 10:13:36 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sJveTpiz"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=amarulasolutions.com header.i=@amarulasolutions.com header.b="cE0rViub" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6D849206DF 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-arm-kernel-bounces+patchwork-linux-arm=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: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=fD5X1/m3JWKnsxjjR6SmfNymw81/cfUdErgzb63qBo4=; b=sJveTpiz3TBQOjqeL3LNiLNalZ zXp6MAG952ayAKdAtSMhKuh/L5WX7Qvz88GQNc8Gwsbe0/Q4Us6VVH+uEZH4nEyfsvKK3nKZcgbYG au0BVarmBDrriflu2LG9O6N3ema2Vm4ZX+d8HpLK8xYCA96KiHmyB1WwiV8hbOZMsXyjb0SHJvmDG 1aUxTwh3IB6LYiAE8oGJm61ZmQ+jjVysJcdEkGRyRHpS2pXLEK3H7tZz/D/to9+ZBXKy4kXPKQfN6 sgsca7QQunS5YK7woikKsfRq5q0i6gxhsjLtp5MpPEqOQXaAGG0KEqSEXFZLt1GtOm3H+gMc9mTWz Mq+XNdog==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jskaM-0003k6-Bp; Tue, 07 Jul 2020 10:12:22 +0000 Received: from mail-wr1-x444.google.com ([2a00:1450:4864:20::444]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jskaJ-0003j6-7T for linux-arm-kernel@lists.infradead.org; Tue, 07 Jul 2020 10:12:20 +0000 Received: by mail-wr1-x444.google.com with SMTP id q5so44503207wru.6 for ; Tue, 07 Jul 2020 03:12:17 -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:mime-version :content-transfer-encoding; bh=Ox2ec9xKeqYNpU//N7D5LOrU5GweWdGDzS15Zrqp/JA=; b=cE0rViubzmawGs+s2bNz/HYeJLyTK9UhluVB6bOjXJ+IEJTQNmNzLxv6o7WDhR99GJ 7O0NOspsGwaqUUZWZhOk2yYCw9Qgr6sNLKG7r0heK45wZDL45btcODXbBTjyPMAG/mwI x3JLFhxPnnkSuU+jLELEtwEnFdPJS23UVx8g0= 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:mime-version :content-transfer-encoding; bh=Ox2ec9xKeqYNpU//N7D5LOrU5GweWdGDzS15Zrqp/JA=; b=thlsMB5/HXLVrw25eA3x1UAeCBS5Xe9CgXnktrMNZ56L2+Dn2Dk/2Gr/Niz1sn/kRE iEdlPRY/7bDy2xoyQr4HMSI9DTz8auXg1sbiJE4cMN+y0J7SC6PpBM5hhHjgxk4lwyvZ +AK5uPDnT/nXXB+gWYOG1lbiPz/pWEzJVx0IOmalHnoqQM6cMgTX5hf4B8/Bi3R++1ng yAj4o8TrCnkPHacQvMn6AKEjMvdz+rf6hc+LAbIIAiJlqwgLFq4u7s+7H+87s8+SAoRL YGC9GCVd+n4kXAgwxaiwBK7dOMN/lhRas+7mETM9ESbh4FLxPMYGNAM8dIqrJC/M8qUi tIkQ== X-Gm-Message-State: AOAM5304gO1KNofbxb+EcrrbJ6y9gtgRk8/WF8dasytkhUSdFAsJ59zr FYnU9si0pnuaqL5hO1H7VPCaaw== X-Google-Smtp-Source: ABdhPJxoBYAgdDhWiramJwYkHt3jHpGiUWv4+qul7we1FmarfIbbJjwEpFAWtIooatx3TBXa8a5ikA== X-Received: by 2002:a5d:55cb:: with SMTP id i11mr50329141wrw.28.1594116736051; Tue, 07 Jul 2020 03:12:16 -0700 (PDT) Received: from panicking.lan (93-46-124-24.ip107.fastwebnet.it. [93.46.124.24]) by smtp.gmail.com with ESMTPSA id f12sm363053wrj.48.2020.07.07.03.12.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jul 2020 03:12:15 -0700 (PDT) From: Michael Trimarchi To: Heiko Stuebner Subject: [PATCH] ARM: dts: rockchip: Fix VBUS on rk3288-vyasa Date: Tue, 7 Jul 2020 12:12:14 +0200 Message-Id: <20200707101214.2301768-1-michael@amarulasolutions.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200707_061219_560175_C8877A13 X-CRM114-Status: GOOD ( 11.18 ) 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 [2a00:1450:4864:20:0:0:0:444 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an 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_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid 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: devicetree@vger.kernel.org, Rob Herring , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Connect the voltage regulator of vbus to the otg connector. Depending on the current mode this is enabled (in "host" mode") or disabled (in "peripheral" mode). The regulator must be updated if the controller is configured in "otg" mode and the status changes between "host" and "peripheral". Signed-off-by: Michael Trimarchi --- arch/arm/boot/dts/rk3288-vyasa.dts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/rk3288-vyasa.dts b/arch/arm/boot/dts/rk3288-vyasa.dts index ba06e9f97ddc..5b0263b1be73 100644 --- a/arch/arm/boot/dts/rk3288-vyasa.dts +++ b/arch/arm/boot/dts/rk3288-vyasa.dts @@ -87,8 +87,6 @@ pinctrl-0 = <&otg_vbus_drv>; regulator-min-microvolt = <5000000>; regulator-max-microvolt = <5000000>; - regulator-always-on; - regulator-boot-on; vin-supply = <&vsus_5v>; }; @@ -405,6 +403,7 @@ &usb_otg { status = "okay"; + vbus-supply = <&vusb1_5v>; }; &vopb {