arm64: dts: ti: k3-am62-phycore-som: Define vcc-supply for I2C EEPROM
authorWadim Egorov <w.egorov@phytec.de>
Fri, 1 Nov 2024 13:14:26 +0000 (14:14 +0100)
committerNishanth Menon <nm@ti.com>
Thu, 26 Dec 2024 17:16:04 +0000 (11:16 -0600)
Specify the regulator for the EEPROM supply voltage and associate it
with the EEPROM device. This resolves the following warning:

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

Signed-off-by: Wadim Egorov <w.egorov@phytec.de>
Link: https://lore.kernel.org/r/20241101131427.3815341-3-w.egorov@phytec.de
Signed-off-by: Nishanth Menon <nm@ti.com>
arch/arm64/boot/dts/ti/k3-am62-phycore-som.dtsi

index 5952874fe429bf9e77114c9cb3d99fb6545e3665..2ef4cbaec7892701ed94c145727beb66c54d867f 100644 (file)
                regulator-boot-on;
        };
 
+       vddshv_3v3: regulator-vddshv-3v3 {
+               compatible = "regulator-fixed";
+               regulator-name = "VDDSHV0";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               vin-supply = <&vdd_3v3>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";
                compatible = "atmel,24c32";
                pagesize = <32>;
                reg = <0x50>;
+               vcc-supply = <&vddshv_3v3>;
        };
 
        i2c_som_rtc: rtc@52 {