arm64: tegra: Add EEPROM supplies
authorJon Hunter <jonathanh@nvidia.com>
Mon, 24 Feb 2020 14:34:34 +0000 (14:34 +0000)
committerThierry Reding <treding@nvidia.com>
Thu, 12 Mar 2020 11:14:30 +0000 (12:14 +0100)
The following warning is observed on Jetson TX1, Jetson Nano and Jetson
TX2 platforms because the supply regulators are not specified for the
EEPROMs.

 WARNING KERN at24 0-0050: 0-0050 supply vcc not found, using dummy regulator
 WARNING KERN at24 0-0057: 0-0057 supply vcc not found, using dummy regulator

For both of these platforms the EEPROM is powered by the main 1.8V
supply rail and so populate the supply for these devices to fix these
warnings.

Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm64/boot/dts/nvidia/tegra186-p2771-0000.dts
arch/arm64/boot/dts/nvidia/tegra186-p3310.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p2180.dtsi
arch/arm64/boot/dts/nvidia/tegra210-p2371-2180.dts
arch/arm64/boot/dts/nvidia/tegra210-p3450-0000.dts

index d7628f5..961b1be 100644 (file)
                        compatible = "atmel,24c02";
                        reg = <0x57>;
 
+                       vcc-supply = <&vdd_1v8>;
                        address-bits = <8>;
                        page-size = <8>;
                        size = <256>;
index 947744d..da96de0 100644 (file)
                        compatible = "atmel,24c02";
                        reg = <0x50>;
 
+                       vcc-supply = <&vdd_1v8>;
                        address-bits = <8>;
                        page-size = <8>;
                        size = <256>;
index 95b1a6e..f87d243 100644 (file)
                        compatible = "atmel,24c02";
                        reg = <0x50>;
 
+                       vcc-supply = <&vdd_1v8>;
                        address-bits = <8>;
                        page-size = <8>;
                        size = <256>;
index a3cafe3..c70a610 100644 (file)
@@ -85,6 +85,7 @@
                        compatible = "atmel,24c02";
                        reg = <0x57>;
 
+                       vcc-supply = <&vdd_1v8>;
                        address-bits = <8>;
                        page-size = <8>;
                        size = <256>;
index 848afd8..21ed175 100644 (file)
                        compatible = "atmel,24c02";
                        reg = <0x50>;
 
+                       vcc-supply = <&vdd_1v8>;
                        address-bits = <8>;
                        page-size = <8>;
                        size = <256>;
                        compatible = "atmel,24c02";
                        reg = <0x57>;
 
+                       vcc-supply = <&vdd_1v8>;
                        address-bits = <8>;
                        page-size = <8>;
                        size = <256>;