[openwrt/openwrt] realtek: tl-sg2008p: use correct i2c address for TPS23861

LEDE Commits lede-commits at lists.infradead.org
Mon Aug 29 02:55:25 PDT 2022


svanheule pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f242f642bbdc1b753514671858fe2981ec3d7ba3

commit f242f642bbdc1b753514671858fe2981ec3d7ba3
Author: Alexandru Gagniuc <mr.nuke.me at gmail.com>
AuthorDate: Sun Aug 28 18:04:08 2022 -0500

    realtek: tl-sg2008p: use correct i2c address for TPS23861
    
    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 at gmail.com>
---
 target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
index 2cce03bde1..34b3d0456b 100644
--- a/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
+++ b/target/linux/realtek/dts-5.10/rtl8380_tplink_sg2008p-v1.dts
@@ -53,9 +53,9 @@
 		#address-cells = <1>;
 		#size-cells = <0>;
 
-		tps23861 at 30 {
+		tps23861 at 28 {
 			compatible = "ti,tps23861";
-			reg = <0x30>;
+			reg = <0x28>;
 			shunt-resistor-micro-ohms = <255000>;
 		};
 	};




More information about the lede-commits mailing list