From patchwork Fri Jan 25 11:30:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10781215 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 17646139A for ; Fri, 25 Jan 2019 11:30:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 042AC2F1A5 for ; Fri, 25 Jan 2019 11:30:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECCD52F1BF; Fri, 25 Jan 2019 11:30:28 +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 956552F1A5 for ; Fri, 25 Jan 2019 11:30:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728310AbfAYLa1 (ORCPT ); Fri, 25 Jan 2019 06:30:27 -0500 Received: from mail-wr1-f66.google.com ([209.85.221.66]:45830 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728031AbfAYLaZ (ORCPT ); Fri, 25 Jan 2019 06:30:25 -0500 Received: by mail-wr1-f66.google.com with SMTP id t6so9866752wrr.12; Fri, 25 Jan 2019 03:30:24 -0800 (PST) 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=wsFMYnQVROXFGge9r2lQVfbIp4Bz8dAyrnsFbHGou2E=; b=QskVF/KkFzoOPm1Bru1aQpgPKQ3xKLtsJO3byC/MqMH/7M5wVkzs+QTO0syDqKIE/J IFyLbQsy09dEF0fkQCLnHmKC+OEK/wdLHIZ9YvDS/qFEjiLcCyu4rZk6ZPlflASR8y6k zN0qpg9UFM19z9EOQG0oMBZk1+BKlVamSBRFhR5ZuHHqO8sp4B2oHbSpaWOmW3B2XlsR J2kPNcG13VUVxSjgYLSBR/xPErUGUoXQFFpdG/nDrwl2B4wj6C9Z7yaagbezI5S1SWIg lhfUlFI94u18R/s3Sr8Fz3cmtmYM2Chmug6/lcJqTKd7wHav3dESu/DiTGmkNSOcTgWe OTkg== 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=wsFMYnQVROXFGge9r2lQVfbIp4Bz8dAyrnsFbHGou2E=; b=cchdyJEWUN79olApPKdM0WkSCNsGlg3EfD9eoJuj+zs1gTnkjRCeqR+OhPLrJkXbeg okSUB+rQM53E/a76cTf5prYb1Z3nEgCEupi+KuAVjI6P2eTz84giC0VXfFrYLJJQm1VD +ZyVW/j/2UGvjtQv208gBsOXuTiSdEA7vHkbqCh1Zp5QXjVMyKfM7Tygk6sT+yBlnBmV GbrONDahpG4XyL5mMSqsm6WM0du+RUlNxuoWW4aCoorW3iWAEZiMvfR6JLalXX0x9+aL FudDJQ+6KliugxGT8idxSuWIStsg3p2ZJNNDZBRjYxyk4REFO+3vvNBs78XGEOxzcf2b iIEQ== X-Gm-Message-State: AJcUukc/FtVIqskVjSmYIMg05gloANnP27G3fnSz0vc4pK/Bq0q8VjoX WVXoEr+1m2HWdeTODJ4Duba4VX7ABhk= X-Google-Smtp-Source: ALg8bN6P7RUB/BIGPVkJGL/hu54KVEg2Py/nuUeyfk3XR36mQhHWjnNuXbzqWuGpSwLmCXsJhmx7yg== X-Received: by 2002:adf:f8cf:: with SMTP id f15mr7805350wrq.265.1548415823365; Fri, 25 Jan 2019 03:30:23 -0800 (PST) Received: from localhost (pD9E51040.dip0.t-ipconnect.de. [217.229.16.64]) by smtp.gmail.com with ESMTPSA id l19sm61715585wme.21.2019.01.25.03.30.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Jan 2019 03:30:22 -0800 (PST) From: Thierry Reding To: Greg Kroah-Hartman Cc: Mathias Nyman , Jon Hunter , JC Kuo , linux-usb@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 6/6] arm64: tegra: Remove regulator hacks on Jetson TX2 Date: Fri, 25 Jan 2019 12:30:13 +0100 Message-Id: <20190125113013.11447-6-thierry.reding@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20190125113013.11447-1-thierry.reding@gmail.com> References: <20190125113013.11447-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 eb64d9be3231..0b62f80b0e86 100644 --- a/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi +++ b/arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi @@ -266,43 +266,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; }; @@ -329,18 +316,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; }; }; }; @@ -388,10 +369,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;