]> www.infradead.org Git - linux.git/commitdiff
arm64: dts: ti: k3-am64-tqma64xxl: add supply regulator for I2C devices
authorMatthias Schiffer <matthias.schiffer@ew.tq-group.com>
Thu, 28 Sep 2023 11:45:10 +0000 (13:45 +0200)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 5 Oct 2023 15:25:24 +0000 (20:55 +0530)
Describes the hardware better, and avoids a few warnings during boot:

    lm75 0-004a: supply vs not found, using dummy regulator
    at24 0-0050: supply vcc not found, using dummy regulator
    at24 0-0054: supply vcc not found, using dummy regulator

Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
Link: https://lore.kernel.org/r/d5991041263c96c798b94c0844a1550e28daa3b1.1695901360.git.matthias.schiffer@ew.tq-group.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am642-tqma64xxl.dtsi

index 6229849b5d9682fd3bfad5b728ae08f285ea149b..d82d4a98306a7d349b9aff287c0f83a0f2c7959e 100644 (file)
                        no-map;
                };
        };
+
+       reg_1v8: regulator-1v8 {
+               compatible = "regulator-fixed";
+               regulator-name = "V_1V8";
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
 };
 
 &main_i2c0 {
        tmp1075: temperature-sensor@4a {
                compatible = "ti,tmp1075";
                reg = <0x4a>;
+               vs-supply = <&reg_1v8>;
        };
 
        eeprom0: eeprom@50 {
                compatible = "st,24c02", "atmel,24c02";
                reg = <0x50>;
+               vcc-supply = <&reg_1v8>;
                pagesize = <16>;
                read-only;
        };
        eeprom1: eeprom@54 {
                compatible = "st,24c64", "atmel,24c64";
                reg = <0x54>;
+               vcc-supply = <&reg_1v8>;
                pagesize = <32>;
        };
 };