realtek: tl-sg2008p: use correct i2c address for TPS23861
authorAlexandru Gagniuc <mr.nuke.me@gmail.com>
Sun, 28 Aug 2022 23:04:08 +0000 (18:04 -0500)
committerSander Vanheule <sander@svanheule.net>
Mon, 29 Aug 2022 09:54:00 +0000 (11:54 +0200)
Address 0x30 is a "broadcast" address for the TPS23861. It should not
be used by drivers, as all TPS23861 devices on the bus are supposed to
respond. Change this to the correct address, 0x28.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts

index 2cce03bde121615d01ea60e95d1421768429074b..34b3d0456ba9c3882c566f5fb2cf3ba8c7d7e2b0 100644 (file)
@@ -53,9 +53,9 @@
                #address-cells = <1>;
                #size-cells = <0>;
 
-               tps23861@30 {
+               tps23861@28 {
                        compatible = "ti,tps23861";
-                       reg = <0x30>;
+                       reg = <0x28>;
                        shunt-resistor-micro-ohms = <255000>;
                };
        };