From: Svyatoslav Ryhel <clamor95@gmail.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Thierry Reding <thierry.reding@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
Svyatoslav Ryhel <clamor95@gmail.com>,
Mikko Perttunen <mperttunen@nvidia.com>
Cc: devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v1 03/18] ARM: tegra: tegratab: Upgrade powerlines configuration
Date: Sun, 22 Nov 2026 22:13:52 +0200 [thread overview]
Message-ID: <20261122201407.23742-4-clamor95@gmail.com> (raw)
In-Reply-To: <20261122201407.23742-1-clamor95@gmail.com>
Refresh existing PMIC configuration of tegratab according to all collected
information from downstream and device experiments. Complete PMC node
according to tegratab/tegranote7c board configuration. Add missing and
update existing fixed regulators.
Signed-off-by: Svyatoslav Ryhel <clamor95@gmail.com>
---
.../tegra114-nvidia-tegratab-common.dtsi | 278 +++++++++++++-----
.../nvidia/tegra114-nvidia-tegratab-p1988.dts | 22 ++
2 files changed, 228 insertions(+), 72 deletions(-)
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
index e4ba975fcc3db..9d18cb48a1e63 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-common.dtsi
@@ -33,7 +33,7 @@ host1x@50000000 {
dsi@54300000 {
status = "okay";
- avdd-dsi-csi-supply = <&vdd_1v2_ap>;
+ avdd-dsi-csi-supply = <&avdd_dsi_csi>;
panel@0 {
compatible = "lg,ld070wx3-sl01";
@@ -77,61 +77,129 @@ palmas_gpio: gpio {
#gpio-cells = <2>;
};
+ pinmux {
+ compatible = "ti,tps65913-pinctrl";
+ ti,palmas-enable-dvfs1;
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&palmas_default>;
+
+ palmas_default: pinmux {
+ gpio0 {
+ pins = "gpio0";
+ function = "gpio";
+ };
+
+ gpio1 {
+ pins = "gpio1";
+ function = "gpio";
+ };
+
+ gpio2 {
+ pins = "gpio2";
+ function = "gpio";
+ };
+
+ gpio3 {
+ pins = "gpio3";
+ function = "gpio";
+ };
+
+ gpio4 {
+ pins = "gpio4";
+ function = "gpio";
+ };
+
+ gpio5 {
+ pins = "gpio5";
+ function = "gpio";
+ };
+
+ gpio6 {
+ pins = "gpio6";
+ function = "gpio";
+ };
+
+ gpio7 {
+ pins = "gpio7";
+ function = "gpio";
+ };
+
+ powergood {
+ pins = "powergood";
+ function = "powergood";
+ };
+
+ vac {
+ pins = "vac";
+ function = "vac";
+ };
+ };
+ };
+
pmic {
compatible = "ti,tps65913-pmic", "ti,palmas-pmic";
+ ldo1-in-supply = <&vddio_ddr>;
+ ldo2-in-supply = <&vddio_ddr>;
+ ldo5-in-supply = <&vcore_emmc>;
+ ldo6-in-supply = <&vcore_emmc>;
+ ldo7-in-supply = <&vcore_emmc>;
+ ldo9-in-supply = <&vcore_emmc>;
ldoln-in-supply = <&vdd_smps10_out2>;
regulators {
- smps123 {
- regulator-name = "vd-cpu";
- regulator-min-microvolt = <1000000>;
- regulator-max-microvolt = <1000000>;
+ vdd_cpu: smps123 {
+ regulator-name = "vdd_cpu";
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <1400000>;
regulator-always-on;
regulator-boot-on;
+ ti,roof-floor = <1>;
+ ti,mode-sleep = <3>;
};
vdd_core: smps45 {
- regulator-name = "vd-soc";
- regulator-min-microvolt = <1100000>;
- regulator-max-microvolt = <1100000>;
+ regulator-name = "vdd_core";
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <1400000>;
regulator-always-on;
regulator-boot-on;
+ ti,roof-floor = <3>;
};
avdd_lcd: smps6 {
- regulator-name = "va-lcd-hv";
+ regulator-name = "vdd_lcd_hv";
regulator-min-microvolt = <3160000>;
regulator-max-microvolt = <3160000>;
regulator-boot-on;
};
- smps7 {
- regulator-name = "vd-ddr";
- regulator-min-microvolt = <1350000>;
- regulator-max-microvolt = <1350000>;
+ vddio_ddr: smps7 {
+ regulator-name = "vddio_ddr";
+ regulator-min-microvolt = <1380000>;
+ regulator-max-microvolt = <1380000>;
regulator-always-on;
regulator-boot-on;
};
- vdd_1v8: smps8 {
- regulator-name = "vs-pmu-1v8";
+ vdd_1v8_vio: smps8 {
+ regulator-name = "vdd_1v8";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
};
- vdd_2v9_sys: smps9 {
- regulator-name = "vs-sys-2v9";
+ vcore_emmc: smps9 {
+ regulator-name = "vdd_emmc";
regulator-min-microvolt = <2900000>;
regulator-max-microvolt = <2900000>;
- regulator-always-on;
regulator-boot-on;
};
- vdd_smps10_out1: smps10_out1 {
- regulator-name = "vd-smps10-out1";
+ smps10_out1 {
+ regulator-name = "vd_smps10_out1";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
@@ -139,90 +207,88 @@ vdd_smps10_out1: smps10_out1 {
};
vdd_smps10_out2: smps10_out2 {
- regulator-name = "vd-smps10-out2";
+ regulator-name = "vd_smps10_out2";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
regulator-boot-on;
};
- ldo1 {
- regulator-name = "va-pllx";
+ avdd_pll: ldo1 {
+ regulator-name = "vdd_pllm,x,u,a_p_c_s";
regulator-min-microvolt = <1050000>;
regulator-max-microvolt = <1050000>;
regulator-always-on;
regulator-boot-on;
+ ti,roof-floor = <3>;
};
- vdd_1v2_ap: ldo2 {
- regulator-name = "va-ap-1v2";
+ avdd_dsi_csi: ldo2 {
+ regulator-name = "avdd_dsi_csi";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
- regulator-always-on;
regulator-boot-on;
};
ldo3 {
- regulator-name = "vd-fuse";
+ regulator-name = "vpp_fuse";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
- regulator-always-on;
- regulator-boot-on;
};
- ldo4 {
- regulator-name = "vd-ts-hv";
- regulator-min-microvolt = <3200000>;
- regulator-max-microvolt = <3200000>;
- regulator-always-on;
- regulator-boot-on;
+ avdd_touch: ldo4 {
+ regulator-name = "avdd_ts";
+ regulator-min-microvolt = <3000000>;
+ regulator-max-microvolt = <3000000>;
};
- ldo5 {
- regulator-name = "va-cam2-hv";
- regulator-min-microvolt = <2700000>;
- regulator-max-microvolt = <2700000>;
+ avdd_2v8_front: ldo5 {
+ regulator-name = "avdd_front_cam";
+ regulator-min-microvolt = <2800000>;
+ regulator-max-microvolt = <2800000>;
};
- ldo6 {
- regulator-name = "va-sns-hv";
+ vdd_2v85_sen: ldo6 {
+ regulator-name = "vdd_dev";
regulator-min-microvolt = <2850000>;
regulator-max-microvolt = <2850000>;
};
- ldo7 {
- regulator-name = "va-cam1-hv";
+ avdd_2v7_rear: ldo7 {
+ regulator-name = "avdd_rear_cam";
regulator-min-microvolt = <2700000>;
regulator-max-microvolt = <2700000>;
};
ldo8 {
- regulator-name = "va-ap-rtc";
- regulator-min-microvolt = <1100000>;
- regulator-max-microvolt = <1100000>;
- ti,enable-ldo8-tracking;
+ regulator-name = "vdd_rtc";
+ regulator-min-microvolt = <950000>;
+ regulator-max-microvolt = <950000>;
regulator-always-on;
regulator-boot-on;
+ ti,enable-ldo8-tracking;
};
- ldo9 {
- regulator-name = "vi-sdcard";
- regulator-min-microvolt = <2900000>;
+ vddio_usd: ldo9 {
+ regulator-name = "vddio_usd";
+ regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <2900000>;
};
- ldousb {
- regulator-name = "avdd-usb";
+ avdd_hdmi: ldoln {
+ regulator-name = "avdd_hdmi";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
- regulator-always-on;
regulator-boot-on;
};
- ldoln {
- regulator-name = "va-hdmi";
+ avdd_usb: ldousb {
+ regulator-name = "avdd_usb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ regulator-boot-on;
+ ti,roof-floor = <3>;
};
};
};
@@ -230,16 +296,28 @@ ldoln {
rtc {
compatible = "ti,palmas-rtc";
interrupt-parent = <&palmas>;
- interrupts = <8 0>;
+ interrupts = <8 IRQ_TYPE_NONE>;
};
-
};
};
pmc@7000e400 {
+ nvidia,suspend-mode = <1>;
+ nvidia,cpu-pwr-good-time = <300>;
+ nvidia,cpu-pwr-off-time = <300>;
+ nvidia,core-pwr-good-time = <641 3845>;
+ nvidia,core-pwr-off-time = <2000>;
+ nvidia,core-power-req-active-high;
+ nvidia,sys-clock-req-active-high;
core-supply = <&vdd_core>;
- nvidia,invert-interrupt;
+ /* Clear DEV_ON bit in DEV_CTRL register of TPS65913 PMIC */
+ i2c-thermtrip {
+ nvidia,i2c-controller-id = <4>;
+ nvidia,bus-addr = <0x58>;
+ nvidia,reg-addr = <0xa0>;
+ nvidia,reg-data = <0x00>;
+ };
};
/* eMMC */
@@ -271,12 +349,13 @@ backlight: backlight {
brightness-levels = <0 4 8 16 32 64 128 255>;
default-brightness-level = <6>;
- power-supply = <&lcd_bl_en>;
+ power-supply = <&vdd_3v7_bl>;
};
clk32k_in: clock-32k {
compatible = "fixed-clock";
clock-frequency = <32768>;
+ clock-output-names = "ref-oscillator";
#clock-cells = <0>;
};
@@ -303,35 +382,90 @@ key-volume-up {
};
};
- /* FIXME: output of BQ24192 */
- vs_sys: regulator-vs {
+ vdd_5v0_sys: regulator-5v0-sys {
+ compatible = "regulator-fixed";
+ regulator-name = "vdd_5v0_sys";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ regulator-always-on;
+ regulator-boot-on;
+ };
+
+ vdd_3v3_sys: regulator-3v3-sys {
compatible = "regulator-fixed";
- regulator-name = "VS_SYS";
- regulator-min-microvolt = <4200000>;
- regulator-max-microvolt = <4200000>;
+ regulator-name = "vdd_3v3_sys";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
regulator-always-on;
regulator-boot-on;
};
- lcd_bl_en: regulator-lcden {
+ vdd_3v7_bl: regulator-bl-en {
compatible = "regulator-fixed";
- regulator-name = "VDD_LCD_BL";
- regulator-min-microvolt = <16500000>;
- regulator-max-microvolt = <16500000>;
+ regulator-name = "vdd_3v7_bl";
+ regulator-min-microvolt = <3700000>;
+ regulator-max-microvolt = <3700000>;
+ regulator-boot-on;
gpio = <&gpio TEGRA_GPIO(H, 2) GPIO_ACTIVE_HIGH>;
enable-active-high;
- vin-supply = <&vs_sys>;
- regulator-boot-on;
+ vin-supply = <&vdd_5v0_sys>;
+ };
+
+ vdd_5v0_hdmi: regulator-hdmi {
+ compatible = "regulator-fixed";
+ regulator-name = "vdd_5v0_hdmi";
+ regulator-min-microvolt = <5000000>;
+ regulator-max-microvolt = <5000000>;
+ gpio = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ vin-supply = <&vdd_smps10_out2>;
+ };
+
+ vddio_1v8_cam: regulator-cam-vio {
+ compatible = "regulator-fixed";
+ regulator-name = "vddio_1v8_cam";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ gpio = <&palmas_gpio 6 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ vin-supply = <&vdd_1v8_vio>;
};
dvdd_lcd: regulator-lcd {
compatible = "regulator-fixed";
- regulator-name = "VD_LCD_1V8";
+ regulator-name = "dvdd_1v8_lcd";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
+ regulator-boot-on;
gpio = <&palmas_gpio 4 GPIO_ACTIVE_HIGH>;
enable-active-high;
- vin-supply = <&vdd_1v8>;
+ vin-supply = <&vdd_1v8_vio>;
+ };
+
+ vlogic_gyro: regulator-gyro {
+ compatible = "regulator-fixed";
+ regulator-name = "vlogic_gyro";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ vin-supply = <&vdd_1v8_vio>;
+ };
+
+ avdd_hdmi_pll: regulator-hdmi-pll {
+ compatible = "regulator-fixed";
+ regulator-name = "avdd_hdmi_pll";
+ regulator-min-microvolt = <1050000>;
+ regulator-max-microvolt = <1050000>;
+ vin-supply = <&avdd_pll>;
+ };
+
+ vdd_3v3_com: regulator-com {
+ compatible = "regulator-fixed";
+ regulator-name = "vdd_3v3_com";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
regulator-boot-on;
+ gpio = <&gpio TEGRA_GPIO(CC, 5) GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ vin-supply = <&vdd_3v3_sys>;
};
};
diff --git a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
index 00126da319ec7..f461a2c492b1f 100644
--- a/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
+++ b/arch/arm/boot/dts/nvidia/tegra114-nvidia-tegratab-p1988.dts
@@ -6,4 +6,26 @@
/ {
model = "Nvidia Tegra Note 7 (P1988)";
compatible = "nvidia,tegratab", "nvidia,tegra114";
+
+ i2c@7000d000 {
+ pmic@58 {
+ pmic {
+ regulators {
+ ldo4 {
+ regulator-boot-on;
+ };
+ };
+ };
+ };
+ };
+
+ regulator-gyro {
+ gpio = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
+
+ regulator-hdmi-pll {
+ gpio = <&gpio TEGRA_GPIO(O, 6) GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ };
};
--
2.53.0
next prev parent reply other threads:[~2026-11-22 20:14 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 20:13 [PATCH v1 00/18] [WIP] ARM: tegra: Update Tegra Note 7 configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 01/18] dt-bindings: ARM: tegra: Document Tegra Note 7 variants Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 02/18] ARM: tegra: Diverge Tegra Note 7 device tree to support its common versions Svyatoslav Ryhel
2026-11-22 20:13 ` Svyatoslav Ryhel [this message]
2026-11-22 20:13 ` [PATCH v1 04/18] ARM: tegra: tegratab: Add pinmux node Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 05/18] ARM: tegra: tegratab: Bind VDE device Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 06/18] ARM: tegra: tegratab: Configure USB and power supply Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 07/18] ARM: tegra: tegratab: Configure MMC devices Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 08/18] ARM: tegra: tegratab: Configure wireless devices Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 09/18] ARM: tegra: tegratab: Add thermal configuration Svyatoslav Ryhel
2026-11-22 20:13 ` [PATCH v1 10/18] ARM: tegra: tegratab: Configure HDMI Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 11/18] ARM: tegra: tegratab: Add audio codec and sound card configuration Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 12/18] ARM: tegra: tegratab: Add common sensor nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 13/18] ARM: tegra: tegratab: Add MC and EMC timing nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 14/18] ARM: tegra: tegratab: Add CPU DFLL clock node Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 15/18] ARM: tegra: tegratab: Update GPIO keys and switches Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 16/18] ARM: tegra: tegratab: Update aliases, chosen and memory nodes Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 17/18] ARM: tegra: tegratab: Add video input configuration Svyatoslav Ryhel
2026-11-22 20:14 ` [PATCH v1 18/18] ARM: tegra: tegratab: Add panel rotation Svyatoslav Ryhel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261122201407.23742-4-clamor95@gmail.com \
--to=clamor95@gmail.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=mperttunen@nvidia.com \
--cc=robh@kernel.org \
--cc=thierry.reding@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox