Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1538980pxb; Thu, 16 Sep 2021 09:30:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9J3LFLqZhEkw2bQ6B3PAiULpa8XBRKVQuP5k3WAJBRBFX5/eMnP/KXay3Bq9mZhpz5N6D X-Received: by 2002:a6b:ef10:: with SMTP id k16mr1351094ioh.210.1631809808038; Thu, 16 Sep 2021 09:30:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631809808; cv=none; d=google.com; s=arc-20160816; b=N6CmGnsAwRCZzS8obTh/a5mrRzgAeCKOak0vXHvTkUVtVBudIHEvLYQCb9q86KzqRJ 4Cm2ZKFqN6K+c+suhlh35QtjQjNhXLDsx9Cj3pvcO6vQweYlyIqK7BdESvG72yqDahW7 YQG06bjAMpDIJfkUNQf1fkMj4qRygMRkS45MnXJq8/a54jbcexoC8TSSrShqohWIP0jT Ss4bUICGr0mfsnLN/89qRuccSuZIvff4E+bJP/qs+5Qx+pd3PK1o5qNcxraYLjl8t5VB uQhUVhvXAUuFGmGPuVFR44uLRKFuD8e1dGAcRAhL5+wLJp4ftCGxQrmph/voymTheIYY OHyA== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=RGmOJXiDMI+ldGtuVFGekTaUy+hYXBoK2w+b4tLU1Co=; b=FdFrg0ZzHMMkVGHrDghcAVFX5grG1lz/lhK2icTpwAtFEAJT4SLbLb1oCV46diOEQ4 JuwS2HfoEM2wuikFJajpSHYDIwijIeoYLAzYkPVFeybAS+Gfl4PukLmJFH40JHIAozeV bBzRdqVmAJyjh7sqi4lOYUcMvRkpLxB1EXGHduCFrpoe8GN/91xue5QUYUHZLQs7WjtE SDcjat8PDyAnHi3+ghJzSgOhD5P0AkIHenHBsQ/wOzjU0LTaDKHtHntHHzczhF3ng2ZK oXEkgOmzgJ9jkgXvvF6gHoBoEpBKrHhCLcfQSmkapkpPBhnNpZ+eQCPJWFxStoYtDjfn gbYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gCBHf4DV; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z22si4028086jan.81.2021.09.16.09.29.55; Thu, 16 Sep 2021 09:30:08 -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=@linuxfoundation.org header.s=korg header.b=gCBHf4DV; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242791AbhIPQ3d (ORCPT + 99 others); Thu, 16 Sep 2021 12:29:33 -0400 Received: from mail.kernel.org ([198.145.29.99]:58934 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241743AbhIPQUE (ORCPT ); Thu, 16 Sep 2021 12:20:04 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3958D613DB; Thu, 16 Sep 2021 16:14:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1631808852; bh=SwozLfpYiQLE0tIiO65mXXvojnIJlmmHkdaJkfgdxgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gCBHf4DVnypjL5FEAxMV2SOmnd08ApT6WXNlYDVQRXe0IlmlGUIGG9nLClfpRSZTU Yb3LHEuxcADeSv5ls6CCWR8rjjrl7Z0I15uPVZ1BixMsTdrgJVVzv+MfHno9Y3fsOs Te5pB3ybaZHzwOkDmzaDF93WCDPapbABz0zCirKQ= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Dmitry Osipenko , Thierry Reding , Sasha Levin Subject: [PATCH 5.10 214/306] ARM: tegra: acer-a500: Remove bogus USB VBUS regulators Date: Thu, 16 Sep 2021 17:59:19 +0200 Message-Id: <20210916155801.333549648@linuxfoundation.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20210916155753.903069397@linuxfoundation.org> References: <20210916155753.903069397@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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 5d0f0fbba1d2..5dbfb83c1b06 100644 --- a/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts +++ b/arch/arm/boot/dts/tegra20-acer-a500-picasso.dts @@ -704,7 +704,6 @@ usb-phy@c5000000 { nvidia,xcvr-setup-use-fuses; nvidia,xcvr-lsfslew = <2>; nvidia,xcvr-lsrslew = <2>; - vbus-supply = <&vdd_vbus1>; }; usb@c5008000 { @@ -716,7 +715,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 { @@ -967,28 +966,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