Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp906865ybt; Tue, 7 Jul 2020 03:15:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw/MW0em6L0AbQSr/5p/oA+oXKROTliSsWwNDNC49af1KXzdUGxzAWbLXJrka2eTBUtc/Yt X-Received: by 2002:a17:906:c56:: with SMTP id t22mr48612321ejf.50.1594116918740; Tue, 07 Jul 2020 03:15:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594116918; cv=none; d=google.com; s=arc-20160816; b=pduIzzvIIzcSXur0ZGCZaIVr82DJLZj2ZdARQ95pGhge19nKP3xs/rL5bH1lz7A12J UKPzMu8rTHIvt8u3ntdRBakjp8b+VBs/Xdhdb27n1I8ap4ftFzv83KC739g5FnMkgQZN Du8pRSqBuWbn/e6cgZkYweINse8cqHb2U2QAtfzoFW4XWNT8XWTcys7jsazH60xRXImX BoNTgvepWy61MQY/LDVU6YP9zvsweu08Hd5FD/snnHX4e2YpST9jUGez6c++r3vY0Yti icU/tTTWmGez6nIcjHmCHWozPkipjhcnhB1Hfg9G7tiAhdqca8JChTB/S+fUcap3MaN7 EX7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=Ox2ec9xKeqYNpU//N7D5LOrU5GweWdGDzS15Zrqp/JA=; b=Cpc1W8NjpWFOk0s/UZMxCrXNRgPMTmcef5urDjA8PaoyV74sh9YOmAYvpu829J9Rne K1IOelsfbwiClB3QArQhJ0cLdes2I5LBVkwJyZs+Fmj6tcvoFCwS+U+l019FzseJav54 wnKB/78iSP451d3ynSMVXDrnsD9MazjXCYnXCLyV/cO13EZ7C42SEu4QkU06vFiSywZl uKE9bV04EC6MsmGmxak3ho+2poLHgaVVtzM+ujoWmJf9w3LVBX8y7Hn1/WWX2moeOPPx ta09mgzkz2Cd6qwvXhEVEB3F1a2Vc/Tn/vpMNwkyy7YDEzISbw1bG12vghfKV11EHty9 5FwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cE0rViub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z11si499002ejm.102.2020.07.07.03.14.54; Tue, 07 Jul 2020 03:15:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@amarulasolutions.com header.s=google header.b=cE0rViub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727120AbgGGKMT (ORCPT + 99 others); Tue, 7 Jul 2020 06:12:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40642 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726900AbgGGKMS (ORCPT ); Tue, 7 Jul 2020 06:12:18 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 641FBC061755 for ; Tue, 7 Jul 2020 03:12:17 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id r12so44463509wrj.13 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=JIlsxZLyU81V3Glq5nwhqC7KjRmxnzgXReeOzJaWV7txW90bVpdIMpxaHMLEWl79cx hdudL0wTH48gCfPvvwoyp318Up2T12uH6jsRsoni+2ZvLD/yRSrWRgLzWniMpJMdSq3A N/5BhfQcserXYB1GuJC/kvqI+WzKpM6Lr8BStrqnYzEwQG54YJ4OB8syrgAl0Z6FdQLE PThPCz/afwNrH1z88vIpmIe0LKzN8qMxHhU6G5B0uo3+a3znvDotjpg3MqFTXx19731q OiR9CMwJ+BcrJEgHiDDze14bvFSW0DgaGOu1Ikd05asWmYcZErclSwL+ifRKyj0rJOCL CvkQ== X-Gm-Message-State: AOAM531vjzZO+T1ZNkBRtyIBTEfUN3dNzb389P4giMKyFBuzD3nKD4Q3 9DlN32J/S2V+LbhoDMz2468OlAhWrKOJIg== 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 Cc: Rob Herring , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org 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 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 { -- 2.25.1