From patchwork Mon Apr 1 10:40:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10879685 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B6DE015AC for ; Mon, 1 Apr 2019 10:41:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A01D6286A2 for ; Mon, 1 Apr 2019 10:41:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 940E8287D4; Mon, 1 Apr 2019 10:41:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 33E52286A2 for ; Mon, 1 Apr 2019 10:41:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726818AbfDAKlG (ORCPT ); Mon, 1 Apr 2019 06:41:06 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37307 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726754AbfDAKlC (ORCPT ); Mon, 1 Apr 2019 06:41:02 -0400 Received: by mail-wr1-f65.google.com with SMTP id w10so11327733wrm.4; Mon, 01 Apr 2019 03:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=lJhTRFrOMYpm5uCm9mt9lBn0z5i7LEmRQsVTVMus07I=; b=n7P+iXmpvxrk8wsAjujP0XWkMqDMGZ5ZirtqhHL+REpyDQkvsppWq5Q5FwvMZYVpho 9bgfyQVb0/zxpem076tsAr1TBmuFEeDg6mYNQxAvnIFJlB7Z5856yTMtQ6Rkt5P9nGSD FSZSrq8IFBq+uaOUGC1iNHzqWjYZc3ThrTTHwSBvdUHSuu3+c0WzK/IbafVBFUDmieh9 FenmOfVMAdtYQwqBEkU3cD3XJaRkZBJAmbXISHe2SEbCML020l78t+wG6IHjyvkFs4p1 U1NY7Zaj+RW2V+vvFpNhm2H+HADCdkMFlZpb014/kJjNJjxeQDbYI3M8ERe16ck1p0te GfSA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=lJhTRFrOMYpm5uCm9mt9lBn0z5i7LEmRQsVTVMus07I=; b=lbnxgSx8yBj4QXso0IyuCsHEZQglKRjU0MgXQrsNVvxRrIzRnxd16NgW3M1/wf2kSI vb+p/MOcXpxCGo7isJJcT47JedMTmPOCU5WPopQRA2tttimtEcTr2m0X+9Lle19QvWgw 5Odq46eegCaB5VoUo3ZjAK8HUfiwHb9F6gX/iWByiVAsSHoSunQYDEnK6QoDJoaMVk7J sgY//ZLNrORCK+mK2OmZj8ozBAL4O9hNDD36sbxCD3LzJJxSMu5qcq8WBkNZiRpBYsIT u15j4xZO9+6fKzaSHwFEL8eLWOHzzUakwPUt9EL1FPFu2l2pF7G0YSfey4LT4KMSe4m0 Z08w== X-Gm-Message-State: APjAAAUtGj4RlEZRn4mN/TSKtIBsO+CfaNPrFzUXk2wo7L0d2pwyDAnl Xl2skDjDnkZa/pzycBKFcb6neDlz X-Google-Smtp-Source: APXvYqxSyS2xpYO1Yu/2SVAbPmKs13jXzn0g1EXoRiHIXmDeSjeZicUt61a6bv8qxaNMOkMR/UR1Dw== X-Received: by 2002:a5d:4683:: with SMTP id u3mr39556023wrq.200.1554115261008; Mon, 01 Apr 2019 03:41:01 -0700 (PDT) Received: from localhost (pD9E51B25.dip0.t-ipconnect.de. [217.229.27.37]) by smtp.gmail.com with ESMTPSA id y5sm7932907wrw.23.2019.04.01.03.41.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Apr 2019 03:41:00 -0700 (PDT) From: Thierry Reding To: Greg Kroah-Hartman , Thierry Reding Cc: Jon Hunter , linux-usb@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 6/6] arm64: tegra: Remove regulator hacks on Jetson TX2 Date: Mon, 1 Apr 2019 12:40:50 +0200 Message-Id: <20190401104050.31355-7-thierry.reding@gmail.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190401104050.31355-1-thierry.reding@gmail.com> References: <20190401104050.31355-1-thierry.reding@gmail.com> MIME-Version: 1.0 Sender: linux-usb-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-usb@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding Various regulators were marked as always-on for Jetson TX2. At this point, all of the regulators are properly hooked up, so this workaround is no longer required. Signed-off-by: Thierry Reding --- .../arm64/boot/dts/nvidia/tegra186-p3310.dtsi | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi index 952062f0b9a9..64686b033c38 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi @@ -268,43 +268,30 @@ regulator-name = "AVDD_DSI_CSI_1V2"; regulator-min-microvolt = <1200000>; regulator-max-microvolt = <1200000>; - /* XXX */ - regulator-always-on; - regulator-boot-on; }; vdd_1v8: sd2 { regulator-name = "VDD_1V8"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - /* XXX */ - regulator-always-on; - regulator-boot-on; }; vdd_3v3_sys: sd3 { regulator-name = "VDD_3V3_SYS"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - /* XXX */ - regulator-always-on; - regulator-boot-on; }; vdd_1v8_pll: ldo0 { regulator-name = "VDD_1V8_AP_PLL"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - /* XXX */ - regulator-always-on; - regulator-boot-on; }; ldo2 { regulator-name = "VDDIO_3V3_AOHV"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; - /* XXX */ regulator-always-on; regulator-boot-on; }; @@ -331,18 +318,12 @@ regulator-name = "VDD_HDMI_1V05"; regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1050000>; - /* XXX */ - regulator-always-on; - regulator-boot-on; }; vdd_pex: ldo8 { regulator-name = "VDD_PEX_1V05"; regulator-min-microvolt = <1050000>; regulator-max-microvolt = <1050000>; - /* XXX */ - regulator-always-on; - regulator-boot-on; }; }; }; @@ -390,10 +371,6 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; - /* XXX */ - regulator-always-on; - regulator-boot-on; - gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; enable-active-high;