Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp452004pxb; Thu, 9 Sep 2021 04:56:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxGluHkjwnvHyyMSJRDXo+WOVfHE9eWJNNzqsQYbRvQdZ2UG4abgkgLbL1k4f4FUqlZLroq X-Received: by 2002:a17:906:e88:: with SMTP id p8mr2929423ejf.103.1631188573338; Thu, 09 Sep 2021 04:56:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631188573; cv=none; d=google.com; s=arc-20160816; b=ZYImvogKHr2BGkiQDEB8QY9kBJRId28uj5wavVBbJiowDP9Z1TFVLYOF4/mB2ZHPCn bS5amYqknltouLkJwF0tFzA2C4XiYFzoBpoU7WJMs+44saQDWcTGj7lOoqfZjA6f3ewj DCWPvf01WRI2sc8nEOVFiaLLEwtP0fJL2amd12QTdAKbP7VRpiE0u9Ez1rq9h+WmPYCb CFY9iSZtryeED0qUjeugJJyu6wBc1RlLdaaSdDoP+VsecHxCN2RruuWT2/r6o27Uusks q8BkjCQ6jVjUTjW2IuBfoeLKYnJ3AdN197tJLxBLYrumeujZt5Jo4gaD1AQeooCk7nCx qe1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=akwT+hlnwCq/0kppUyOKjERGCxb8PeP0E9S8sKEXl6o=; b=ggOCKesSOrC/BrZdlYKRIAebVXm5AYWOMRwk5Y8LpL06UI8AH8bs9LDzwW4+GWKwn4 50gBFupZvIXhEQ4o8PvaKXisMfesF0W2cDlid0oGqnO/AKqQRh1cFz0DZa6Bi7wINu24 UOQgUkFb84/nrsg7xh4lZMaHe0npgD6loyvHX9FXjGUHygcXBuuA8+quDfYeSALkffan TLMWOxMayHQ95PeGcYwAGjoRIUz+vObISKeHTghmYlfhAIm2+SgbHP/Lm2kS86yHm2VE AtOFgWmBz6d1reQNKNBrM5RiplQGCmNHtI1tdDXzLdGGa6yqvAoahrlgawqyAe90jzls 8gGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Ry0pwx0O; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id d5si1456649ejm.652.2021.09.09.04.55.48; Thu, 09 Sep 2021 04:56:13 -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=@kernel.org header.s=k20201202 header.b=Ry0pwx0O; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240442AbhIILzh (ORCPT + 99 others); Thu, 9 Sep 2021 07:55:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:54744 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237093AbhIILwY (ORCPT ); Thu, 9 Sep 2021 07:52:24 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3D8926121F; Thu, 9 Sep 2021 11:44:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1631187863; bh=fUOsmHQboWRMzUpUx221c/TqzMJS73zhyOJIdiXNTIQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Ry0pwx0OQ3aqgFI9rHHDLUb6ZGINiMR84x/JHkGa8kDknz1JEg+UXzw/WYcIaaW4d 16SGHU0/x7qVD6Wh/XLGHoc5pDVH+lmAW3Bzg6hXO4kGluD7/7hQCNfgnv/v7RwWVH mFxvuUzhErAB/7gNAQFbcG+ufKDuDCKM0n8R89PdM84LwNyj0liadN9+nUOmtm+L6t k+J/qmihDeTkdxOpx10k3VcgPwRVTv/nugQJ0jr4cjWE1bs2aktGFuuVXnzb6N08+8 uhwM4j6XmwZcKWvn0dzfMVvwIyz07dYhE+NtwFiKRRowl9s+fWEgiCgKkIZakOYeD3 /4VWZXc6I3hXg== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Cc: Dmitry Osipenko , Thierry Reding , Sasha Levin , devicetree@vger.kernel.org, linux-tegra@vger.kernel.org Subject: [PATCH AUTOSEL 5.14 150/252] ARM: tegra: acer-a500: Remove bogus USB VBUS regulators Date: Thu, 9 Sep 2021 07:39:24 -0400 Message-Id: <20210909114106.141462-150-sashal@kernel.org> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210909114106.141462-1-sashal@kernel.org> References: <20210909114106.141462-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Dmitry Osipenko [ Upstream commit 70e740ad55e5f93a19493720f4105555fade4a73 ] The configuration of USB VBUS regulators was borrowed from downstream kernel, which is incorrect because the corresponding GPIOs are connected to PROX_EN (A501 3G model) and LED_EN pins in accordance to the board schematics. USB works fine with both GPIOs being disabled, so remove the bogus USB VBUS regulators. The USB VBUS of USB3 is supplied from the fixed 5v system regulator and device-mode USB1 doesn't have VBUS switches. Signed-off-by: Dmitry Osipenko Signed-off-by: Thierry Reding Signed-off-by: Sasha Levin --- .../boot/dts/tegra20-acer-a500-picasso.dts | 25 +------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts index 1976c383912a..05bd0add258c 100644 --- a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts +++ b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts @@ -719,7 +719,6 @@ usb-phy@c5000000 { nvidia,xcvr-setup-use-fuses; nvidia,xcvr-lsfslew = <2>; nvidia,xcvr-lsrslew = <2>; - vbus-supply = <&vdd_vbus1>; }; usb@c5008000 { @@ -731,7 +730,7 @@ usb-phy@c5008000 { nvidia,xcvr-setup-use-fuses; nvidia,xcvr-lsfslew = <2>; nvidia,xcvr-lsrslew = <2>; - vbus-supply = <&vdd_vbus3>; + vbus-supply = <&vdd_5v0_sys>; }; brcm_wifi_pwrseq: wifi-pwrseq { @@ -991,28 +990,6 @@ vdd_pnl: regulator@3 { vin-supply = <&vdd_5v0_sys>; }; - vdd_vbus1: regulator@4 { - compatible = "regulator-fixed"; - regulator-name = "vdd_usb1_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; - enable-active-high; - vin-supply = <&vdd_5v0_sys>; - }; - - vdd_vbus3: regulator@5 { - compatible = "regulator-fixed"; - regulator-name = "vdd_usb3_vbus"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - gpio = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>; - enable-active-high; - vin-supply = <&vdd_5v0_sys>; - }; - sound { compatible = "nvidia,tegra-audio-wm8903-picasso", "nvidia,tegra-audio-wm8903"; -- 2.30.2