ARM: tegra: Device tree changes for v5.8-rc1

This contains a bit of cleanup and CPU frequency scaling support for the
 Tegra30 Beaver board.
 -----BEGIN PGP SIGNATURE-----
 
 iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl6+pQYTHHRyZWRpbmdA
 bnZpZGlhLmNvbQAKCRDdI6zXfz6zoR+VD/9wS9fQMI3b56vWJa8EKMiIV6XlvDJ/
 HGR0ZOcCH25pHcgMrvg/pAa3TISA2dCGnGxd3Ax+5bU9JvVfC7GujiYwa/IaUkZI
 7alUKUe4sTG498hfix2XNDcYcnHm4UnPen2/3ehugRe8BW9v1fnQHwrz5NM/RbzX
 +EsFA142e74NJ4BcCDsgUHOIU4yWlOVZZi1zP/NbwpNJO4eGV9cXGXVlQfhmtPqZ
 Gz+fe4kUPgUDdTijng8eRpoJXytmki/C6grL0bITtkQ0G4AZIWd9pBts3KO4m+bf
 tGuOMWfXBQm0HuiNB+5dMj4Twmj4h+U94SUVDw9hBhnYb0cYGhEdFhwfzCxqr+iC
 XqY8NsXiKFWnsZUBWDGL5LOIV7qdQnBChizACLLf2qZ5adlRRanPdQRxkFko12pK
 EG27dhN5YtRR1eRtNMmeEQIWZBVj6V1Vg2Mm5EReHO8r/GJ06Ic3lh4MMnk/LCL5
 lYWbrlOTUrJl2LHMDM0N1fAJg97BLr9ni0VX1+E8bb3bQXyiDbzhEV2rLt4adEDF
 0NEY12+/g0XKfxZ0QeC0DjyafHk7WmbO5pHr0FsB5ngc9RB8bfR+8yPvR2E0aiRW
 DuKz6Bp4zXgMLQ7Rk72jU5HVNN7DRGPQ4wN3D9XK9wA1RnFVcspPlWTRMEkdzvrW
 b+rrQnhnUQ22eg==
 =55XZ
 -----END PGP SIGNATURE-----

Merge tag 'tegra-for-5.8-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/dt

ARM: tegra: Device tree changes for v5.8-rc1

This contains a bit of cleanup and CPU frequency scaling support for the
Tegra30 Beaver board.

* tag 'tegra-for-5.8-arm-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux:
  ARM: dts: tegra30: beaver: Add CPU Operating Performance Points
  ARM: dts: tegra30: beaver: Set up voltage regulators for DVFS
  ARM: tegra: Kill off "simple-panel" compatibles

Link: https://lore.kernel.org/r/20200515145311.1580134-11-thierry.reding@gmail.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Arnd Bergmann 2020-05-21 22:34:59 +02:00
commit 9c1acf5174
14 changed files with 50 additions and 17 deletions

View File

@ -46,8 +46,7 @@ dsi@54300000 {
avdd-dsi-csi-supply = <&avdd_1v2_reg>; avdd-dsi-csi-supply = <&avdd_1v2_reg>;
panel@0 { panel@0 {
compatible = "panasonic,vvx10f004b00", compatible = "panasonic,vvx10f004b00";
"simple-panel";
reg = <0>; reg = <0>;
power-supply = <&avdd_lcd_reg>; power-supply = <&avdd_lcd_reg>;

View File

@ -1087,7 +1087,7 @@ power {
}; };
panel: panel { panel: panel {
compatible = "lg,lp129qe", "simple-panel"; compatible = "lg,lp129qe";
backlight = <&backlight>; backlight = <&backlight>;
ddc-i2c-bus = <&dpaux>; ddc-i2c-bus = <&dpaux>;

View File

@ -223,7 +223,7 @@ panel: panel {
* edt,et057090dhu: EDT 5.7" LCD TFT * edt,et057090dhu: EDT 5.7" LCD TFT
* edt,et070080dh6: EDT 7.0" LCD TFT * edt,et070080dh6: EDT 7.0" LCD TFT
*/ */
compatible = "edt,et057090dhu", "simple-panel"; compatible = "edt,et057090dhu";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&reg_3v3>; power-supply = <&reg_3v3>;
}; };

View File

@ -205,7 +205,7 @@ panel: panel {
* edt,et057090dhu: EDT 5.7" LCD TFT * edt,et057090dhu: EDT 5.7" LCD TFT
* edt,et070080dh6: EDT 7.0" LCD TFT * edt,et070080dh6: EDT 7.0" LCD TFT
*/ */
compatible = "edt,et057090dhu", "simple-panel"; compatible = "edt,et057090dhu";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&reg_3v3>; power-supply = <&reg_3v3>;
}; };

View File

@ -665,7 +665,7 @@ power {
}; };
panel: panel { panel: panel {
compatible = "auo,b101aw03", "simple-panel"; compatible = "auo,b101aw03";
power-supply = <&vdd_pnl_reg>; power-supply = <&vdd_pnl_reg>;
enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;

View File

@ -57,7 +57,7 @@ backlight: backlight {
}; };
panel: panel { panel: panel {
compatible = "innolux,n156bge-l21", "simple-panel"; compatible = "innolux,n156bge-l21";
power-supply = <&vdd_1v8_reg>, <&vdd_3v3_reg>; power-supply = <&vdd_1v8_reg>, <&vdd_3v3_reg>;
enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;

View File

@ -604,7 +604,7 @@ wifi {
}; };
panel: panel { panel: panel {
compatible = "samsung,ltn101nt05", "simple-panel"; compatible = "samsung,ltn101nt05";
ddc-i2c-bus = <&lvds_ddc>; ddc-i2c-bus = <&lvds_ddc>;
power-supply = <&vdd_pnl_reg>; power-supply = <&vdd_pnl_reg>;

View File

@ -826,7 +826,7 @@ lid {
}; };
panel: panel { panel: panel {
compatible = "chunghwa,claa101wa01a", "simple-panel"; compatible = "chunghwa,claa101wa01a";
power-supply = <&vdd_pnl_reg>; power-supply = <&vdd_pnl_reg>;
enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;

View File

@ -611,7 +611,7 @@ power {
}; };
panel: panel { panel: panel {
compatible = "chunghwa,claa101wa01a", "simple-panel"; compatible = "chunghwa,claa101wa01a";
power-supply = <&vdd_pnl_reg>; power-supply = <&vdd_pnl_reg>;
enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;

View File

@ -195,7 +195,7 @@ panel: panel {
* edt,et057090dhu: EDT 5.7" LCD TFT * edt,et057090dhu: EDT 5.7" LCD TFT
* edt,et070080dh6: EDT 7.0" LCD TFT * edt,et070080dh6: EDT 7.0" LCD TFT
*/ */
compatible = "edt,et057090dhu", "simple-panel"; compatible = "edt,et057090dhu";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&reg_3v3>; power-supply = <&reg_3v3>;
}; };

View File

@ -196,7 +196,7 @@ panel: panel {
* edt,et057090dhu: EDT 5.7" LCD TFT * edt,et057090dhu: EDT 5.7" LCD TFT
* edt,et070080dh6: EDT 7.0" LCD TFT * edt,et070080dh6: EDT 7.0" LCD TFT
*/ */
compatible = "edt,et057090dhu", "simple-panel"; compatible = "edt,et057090dhu";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&reg_3v3>; power-supply = <&reg_3v3>;
}; };

View File

@ -2,6 +2,8 @@
/dts-v1/; /dts-v1/;
#include "tegra30.dtsi" #include "tegra30.dtsi"
#include "tegra30-cpu-opp.dtsi"
#include "tegra30-cpu-opp-microvolt.dtsi"
/ { / {
model = "NVIDIA Tegra30 Beaver evaluation board"; model = "NVIDIA Tegra30 Beaver evaluation board";
@ -1806,9 +1808,14 @@ vdd2_reg: vdd2 {
vddctrl_reg: vddctrl { vddctrl_reg: vddctrl {
regulator-name = "vdd_cpu,vdd_sys"; regulator-name = "vdd_cpu,vdd_sys";
regulator-min-microvolt = <1000000>; regulator-min-microvolt = <800000>;
regulator-max-microvolt = <1000000>; regulator-max-microvolt = <1250000>;
regulator-coupled-with = <&core_vdd_reg>;
regulator-coupled-max-spread = <300000>;
regulator-max-step-microvolt = <100000>;
regulator-always-on; regulator-always-on;
nvidia,tegra-cpu-regulator;
}; };
vio_reg: vio { vio_reg: vio {
@ -1868,17 +1875,22 @@ ldo8_reg: ldo8 {
}; };
}; };
tps62361@60 { core_vdd_reg: tps62361@60 {
compatible = "ti,tps62361"; compatible = "ti,tps62361";
reg = <0x60>; reg = <0x60>;
regulator-name = "tps62361-vout"; regulator-name = "tps62361-vout";
regulator-min-microvolt = <500000>; regulator-min-microvolt = <500000>;
regulator-max-microvolt = <1500000>; regulator-max-microvolt = <1500000>;
regulator-coupled-with = <&vddctrl_reg>;
regulator-coupled-max-spread = <300000>;
regulator-max-step-microvolt = <100000>;
regulator-boot-on; regulator-boot-on;
regulator-always-on; regulator-always-on;
ti,vsel0-state-high; ti,vsel0-state-high;
ti,vsel1-state-high; ti,vsel1-state-high;
nvidia,tegra-core-regulator;
}; };
}; };
@ -2120,4 +2132,26 @@ sound {
assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>, assigned-clock-parents = <&tegra_car TEGRA30_CLK_PLL_A_OUT0>,
<&tegra_car TEGRA30_CLK_EXTERN1>; <&tegra_car TEGRA30_CLK_EXTERN1>;
}; };
cpus {
cpu0: cpu@0 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@1 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@2 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
cpu@3 {
cpu-supply = <&vddctrl_reg>;
operating-points-v2 = <&cpu0_opp_table>;
};
};
}; };

View File

@ -432,7 +432,7 @@ clk32k_in: clock@0 {
}; };
panel: panel { panel: panel {
compatible = "chunghwa,claa101wb01", "simple-panel"; compatible = "chunghwa,claa101wb01";
ddc-i2c-bus = <&panelddc>; ddc-i2c-bus = <&panelddc>;
power-supply = <&vdd_pnl1_reg>; power-supply = <&vdd_pnl1_reg>;

View File

@ -159,7 +159,7 @@ panel: panel {
* edt,et057090dhu: EDT 5.7" LCD TFT * edt,et057090dhu: EDT 5.7" LCD TFT
* edt,et070080dh6: EDT 7.0" LCD TFT * edt,et070080dh6: EDT 7.0" LCD TFT
*/ */
compatible = "edt,et057090dhu", "simple-panel"; compatible = "edt,et057090dhu";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&reg_3v3>; power-supply = <&reg_3v3>;
}; };