Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp404055pxu; Tue, 1 Dec 2020 14:24:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqg8aZ9AO5SGsqzfu/DAAQ1WSAcHZ0UC5ysZYPJ6i0L6tUAKuIS0j+VFEVyzQfJxLA2wts X-Received: by 2002:a17:906:1393:: with SMTP id f19mr2735262ejc.431.1606861454607; Tue, 01 Dec 2020 14:24:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606861454; cv=none; d=google.com; s=arc-20160816; b=Pu7cDb1f4cM0sRm0Jrr+Z3W2kk4Ghp5gcAsk52+3jcX0vGCbS8WS36B3wSX1OhMlw8 NYhENE+h6UBIufOHb/DffcK63fOTiZEFXtJnWBuxlv4kQjklHdrn7zELDh7U7i3Zp8OW OUNVN/GBIhoz9hDpHvfB1j82nURnOMzMPoaWd4ZVl2hOYSlttM/5zlIluplHBKT0PytA 0cOnF+Oha8VfWSQcHnB3ODnCgcqU7w817kDpBuZdtnm4Shn2Ryi7tRHUIFpqFR3ObxFp bF78UMWRrpovYqdoU5YpeLbQnZS2A5jKApEh77fEf+k9CPFKMdJz51qO/MNIeaueLmM1 l79A== 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=JZrRxhz9A6i4we04E9Zh7E4gtQeqEGy4SSip5aZplFU=; b=EN8ONCtLDbsvfWNLvpUFIFFGeeuTNNfFCxl+b4XlJtnroIb0HddyZZ3GviCnU+mexo 1E3Q/YgpWI/NJRZwm/BmaodT2rKTbbNoTpfq1q3uF4FwZpqA6eBFK3OWhv3XwNFY2yMt 2dj97wThbCSEvgdxiDG511qD7C148OwHptEJOovTb/zauMJP6np5onYlhqidEUaKDRDH yeJGo0B6qFxjGnAZCPSFoA2VeznAJ6crGwWCuZN8x7i9X181drlY4wM9a/drqwjEDxfn 5WnWqvCCVJHgYrRU9mGrTgknEkr9U1uc7zpIK7WgSOq65LC5Ua/rlVlajilMw+mv18qK vsNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v6cPk+lq; 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 n15si898553eje.122.2020.12.01.14.23.52; Tue, 01 Dec 2020 14:24:14 -0800 (PST) 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=v6cPk+lq; 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 S2388315AbgLAJJm (ORCPT + 99 others); Tue, 1 Dec 2020 04:09:42 -0500 Received: from mail.kernel.org ([198.145.29.99]:45844 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389310AbgLAJIq (ORCPT ); Tue, 1 Dec 2020 04:08:46 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DC4F820656; Tue, 1 Dec 2020 09:08:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1606813710; bh=eolXpumk6hF1HxX7zjKHOr305ikx7LoLNhCdBIZxuGI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=v6cPk+lqpMtwLWxlsKQuN+hdJPicmLQ9D/THvrZyZ5kZHOWwZvFpTPDiUeaRD8Ijz IAS+Wx7UaEC8bkkjGRjbxVEJLFRl09g+hQN3UmI+gfXS5VMfzoxIUtd4f/x09GIKR4 TQz2UrL1amUnZBPoQm30lFG2zjfhHpVN9ZuuxakY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, JC Kuo , Jon Hunter , Thierry Reding Subject: [PATCH 5.9 032/152] arm64: tegra: Fix USB_VBUS_EN0 regulator on Jetson TX1 Date: Tue, 1 Dec 2020 09:52:27 +0100 Message-Id: <20201201084716.117533922@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201201084711.707195422@linuxfoundation.org> References: <20201201084711.707195422@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: JC Kuo commit f24a2acc15bcc7bbd295f9759efc873b88fbe429 upstream. USB host mode is broken on the OTG port of Jetson TX1 platform because the USB_VBUS_EN0 regulator (regulator@11) is being overwritten by the vdd-cam-1v2 regulator. This commit rearranges USB_VBUS_EN0 to be regulator@14. Fixes: 257c8047be44 ("arm64: tegra: jetson-tx1: Add camera supplies") Cc: stable@vger.kernel.org Signed-off-by: JC Kuo Reviewed-by: Jon Hunter Signed-off-by: Thierry Reding Signed-off-by: Greg Kroah-Hartman --- arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) --- a/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra210-p2597.dtsi @@ -1663,16 +1663,6 @@ vin-supply = <&vdd_5v0_sys>; }; - vdd_usb_vbus_otg: regulator@11 { - compatible = "regulator-fixed"; - regulator-name = "USB_VBUS_EN0"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>; - enable-active-high; - vin-supply = <&vdd_5v0_sys>; - }; - vdd_hdmi: regulator@10 { compatible = "regulator-fixed"; regulator-name = "VDD_HDMI_5V0"; @@ -1712,4 +1702,14 @@ enable-active-high; vin-supply = <&vdd_3v3_sys>; }; + + vdd_usb_vbus_otg: regulator@14 { + compatible = "regulator-fixed"; + regulator-name = "USB_VBUS_EN0"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio TEGRA_GPIO(CC, 4) GPIO_ACTIVE_HIGH>; + enable-active-high; + vin-supply = <&vdd_5v0_sys>; + }; };