Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5759309imm; Mon, 23 Jul 2018 05:42:43 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdSSGk6szjeZcw8MKPGeiQYZkW7/xlAe/M+93+IMo70pmi+IMCW6Pu5W8Y1O4PZ43K+moZD X-Received: by 2002:a65:5288:: with SMTP id y8-v6mr12021122pgp.284.1532349763725; Mon, 23 Jul 2018 05:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532349763; cv=none; d=google.com; s=arc-20160816; b=DkaMKEHHhFdm2OL9Q/L78v7lCfbuRDwjm5wM85Z34vEe9ofnOVIKvnQx/1X/Pkc80q 3uTGmG8QPYGzE+fsTEWzymrdLxo6uZ5vus/QJ/RYCWVFTX6ckKgFyCzUaVHb2KqZYIIM cNDeo9Z7z+EL5s3J7EwOM6LM7m8PVFlVDUrYcdG1Trl69oLvygIEzbLZ3InFI5FlklZV z9ZszQDUJfiYhdh2Ue4WWuqWyerTr/PMryemVz0eqOe6Tvvv+sS6O4Kvlr4DQmRCMwVM tY3u7g1TD6LeXkYYZliFK51mpU4vF9TtRGcA97R3UpppROyXXanlYK09f1l5KkKXdOT9 Tufg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=49HQ+V4SBLVofqvbd+S2ZaHcGj21SruzIZC+6d8jjX0=; b=fjBu575gMa1GShPyd7xPh9jQMtmYUMD3Hyqx9NFN7kGG5iVZ9+ZDMon99PbiZHXWYA /iPC6jiC8ztqLYYhwNpogfzdCmI9FJU55WOgRR0zLEgmFDozc2QVa47y2Im/fk1iv5Q7 6laVD9ZufdtbPAB7EzFOWHACBMbTxL4HDlBfGxBjFqOdxByWJVKF1P3+A+nNMlaCg6kE HhPfgj/5BRgxzlAmBh8DJgb7BqKgVaajGfEwC6qQqLWuhh7kM3p+zb3RTlm/anJQrkUi Zme9hlyVY5QIXCDsufsskibgR4QLubU6B3zaG1lNfSBucyWwuwiIbsJBk1js5iYyygoC 0zcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n5-v6si8137757plk.352.2018.07.23.05.42.29; Mon, 23 Jul 2018 05:42:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388990AbeGWNiW (ORCPT + 99 others); Mon, 23 Jul 2018 09:38:22 -0400 Received: from mout.perfora.net ([74.208.4.194]:41343 "EHLO mout.perfora.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388263AbeGWNiV (ORCPT ); Mon, 23 Jul 2018 09:38:21 -0400 Received: from localhost.localdomain.toradex.int ([46.140.72.82]) by mrelay.perfora.net (mreueus002 [74.208.5.2]) with ESMTPA (Nemesis) id 0M1pkK-1g1iCZ2s8I-00tmhr; Mon, 23 Jul 2018 14:37:14 +0200 From: Marcel Ziswiler To: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Marcel Ziswiler , Thierry Reding , Jonathan Hunter , Rob Herring , Mark Rutland Subject: [PATCH 05/26] ARM: tegra: colibri_t30: add missing regulators Date: Mon, 23 Jul 2018 14:36:36 +0200 Message-Id: <20180723123658.980-6-marcel@ziswiler.com> X-Mailer: git-send-email 2.14.4 In-Reply-To: <20180723123658.980-1-marcel@ziswiler.com> References: <20180723123658.980-1-marcel@ziswiler.com> X-Provags-ID: V03:K1:2L9VcMxzyZI1j6eqGPJw7TmqvjuY2VuKI/C0AVrk0Vitz3laII5 j6HBryr2pjRORkALbF6bL1jICd/JMQbRYcDTYMJKQ+YrQypky8D/H5cPciq9GTsykpoBQlB QATuG4aGXWya9knQb+2EE2v1KrZtU0lJL8LhVb4thpxpGs/RLSyn7TPErsfLuz0qeakcRJ6 B11abZu6i1+/sDDeoA91g== X-UI-Out-Filterresults: notjunk:1;V01:K0:ZMyBkUo5jiY=:THce8KQcJ7uwp6tLxl8lrL 0dX8eXjkrdKJH7MoZdnVQYOiCSRvvqkntG8TxFzBG4UkjIo4jzW5ssz/seKhPHpmFiVafawaP HvymahXtXrxjxUTCOKppWe3Ti76pbJnWJHPwarhcloFxVCcfHnenGKnsGcCpZ1xWvihAqqCXO NopbF0x0C+TAaM84JNsVZEfwxRWSeGWu0DAqOs/maqEbibItZiPvTMzQJrSwprWXRrHcsCLhH kJ+EEswpotx1ZRCY1o7AIpQfNnb88Qqg4NoggFf8nqveMrujDDdxLiaX4tg5SBKEwCRFE1RmX eW8NSSGvaYZNoo1vZDT/waZJpg/P0XhA/O1QDCgCyC7slXJX79o8Iyfy1pBIyUw7ZjUwt/XCq HaQCJA3Di6H1XMnQVkMZd9LwmOUoLP0cMl+Qc6043gzHnvutAe6TX7EQs44+wpGFKUtF8li7R ps4r2RaY579Ow2cToffHnV+I4yZttGwTjYnhhNgVV5qb9cr5pw2vI0L68iipwCKKstt60T7P+ VbBEHv9DvUGx1skINhHz9iTAZo+w4T0iY1TCz+9/1PbzHGgfH4ZuVKlUbq2D6MUqYzv2Mqnx0 ufi3gZotM8xNw+Q+4ZkFD9ISsbZmTtfspKN286f0w2jC8N3ZDFLaUyrgTT1TLE+GN5jYSwRmj gJVd62MNxOprYCjty0BVtd/A8mCLd+cJlAQCaoIxVc635ctHHVkDAYAUmDMTOGKw22kA= Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Marcel Ziswiler Add missing regulators: - reg_module_3v3_audio being VDDA supply of SGTL5000 - VDDD supply of SGTL5000 actually being reg_1v8_vio - reg_lan_v_bus being USB Ethernet chip vbus supply - carrier board HDMI supply being reg_5v0 - carrier board reg_3v3 actually being backlight and panel power supply Signed-off-by: Marcel Ziswiler --- arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 10 ++++++++++ arch/arm/boot/dts/tegra30-colibri.dtsi | 21 ++++++++++++++++++++- 2 files changed, 30 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts index 5eb665d89435..1c057b285153 100644 --- a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts +++ b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts @@ -29,6 +29,7 @@ }; hdmi@54280000 { status = "okay"; + hdmi-supply = <®_5v0>; }; }; @@ -127,6 +128,7 @@ default-brightness-level = <6>; /* BL_ON */ enable-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>; + power-supply = <®_3v3>; }; clocks { @@ -159,6 +161,7 @@ compatible = "edt,et057090dhu", "simple-panel"; backlight = <&backlight>; + power-supply = <®_3v3>; }; pwmleds { @@ -181,6 +184,13 @@ }; }; + reg_3v3: regulator-3v3 { + compatible = "regulator-fixed"; + regulator-name = "3.3V_SW"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + }; + reg_5v0: regulator-5v0 { compatible = "regulator-fixed"; regulator-name = "5V_SW"; diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi index c58bd41a68ae..fedcd2f7912b 100644 --- a/arch/arm/boot/dts/tegra30-colibri.dtsi +++ b/arch/arm/boot/dts/tegra30-colibri.dtsi @@ -229,7 +229,8 @@ sgtl5000: codec@a { compatible = "fsl,sgtl5000"; reg = <0x0a>; - VDDA-supply = <®_module_3v3>; + VDDA-supply = <®_module_3v3_audio>; + VDDD-supply = <®_1v8_vio>; VDDIO-supply = <®_module_3v3>; clocks = <&tegra_car TEGRA30_CLK_EXTERN1>; }; @@ -450,6 +451,7 @@ usb-phy@7d004000 { status = "okay"; nvidia,is-wired = <1>; + vbus-supply = <®_lan_v_bus>; }; clocks { @@ -493,6 +495,15 @@ regulator-always-on; }; + reg_lan_v_bus: regulator-lan-v-bus { + compatible = "regulator-fixed"; + regulator-name = "LAN_V_BUS"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + enable-active-high; + gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>; + }; + reg_module_3v3: regulator-module-3v3 { compatible = "regulator-fixed"; regulator-name = "+V3.3"; @@ -501,6 +512,14 @@ regulator-always-on; }; + reg_module_3v3_audio: regulator-module-3v3-audio { + compatible = "regulator-fixed"; + regulator-name = "+V3.3_AUDIO_AVDD_S"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + sound { compatible = "toradex,tegra-audio-sgtl5000-colibri_t30", "nvidia,tegra-audio-sgtl5000"; -- 2.14.4