Skip to contentSkip to conversation

ARM: dts: aspeed: Add vendor prefixes to lm25066 compat strings

PATCH Applied Zev Weiss 4 participants 5 messages Feb 24, 2024 – Apr 26, 2024

Subsystems (2)
lore
Share & tools
lore

Zev Weiss

author
#0 lore raw

PATCH 1/1 ARM: dts: aspeed: Add vendor prefixes to lm25066 compat strings

Due to the way i2c driver matching works (falling back to the driver's id_table if of_match_table fails) this didn't actually cause any misbehavior, but let's add the vendor prefixes so things actually work the way they were intended to.

---
 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-romed8hm3.dts | 4 ++--
 arch/arm/boot/dts/aspeed/aspeed-bmc-delta-ahe50dc.dts    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-romed8hm3.dts +2 -2
index 4554abf0c7cd..9aa2de3723b5 100644
@@ -98,14 +98,14 @@ w83773g at 4c {
 
 	/* IPB PMIC */
 	lm25066 at 40 {
-		compatible = "lm25066";
+		compatible = "ti,lm25066";
 		reg = <0x40>;
 		shunt-resistor-micro-ohms = <1000>;
 	};
 
 	/* 12VSB PMIC */
 	lm25066 at 41 {
-		compatible = "lm25066";
+		compatible = "ti,lm25066";
 		reg = <0x41>;
 		shunt-resistor-micro-ohms = <10000>;
 	};
arch/arm/boot/dts/aspeed/aspeed-bmc-delta-ahe50dc.dts +1 -1
index 6600f7e9bf5e..e830fec0570f 100644
@@ -14,7 +14,7 @@ efuse##n {					\
 
 #define EFUSE(hexaddr, num)							\
 	efuse@##hexaddr {							\
-		compatible = "lm25066";						\
+		compatible = "ti,lm25066";					\
 		reg = <0x##hexaddr>;						\
 		shunt-resistor-micro-ohms = <675>;				\
 		regulators {							\
Signature · 1 line
2.43.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Zev Weiss

Due to the way i2c driver matching works (falling back to the driver's id_table if of_match_table fails) this didn't actually cause any misbehavior, but let's add the vendor prefixes so things actually work the way they were intended to.

Oh sweet, I was just about to go off and write this patch - thanks!

Cheers,
Conor.

Quoted 42 lines
---
 arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-romed8hm3.dts | 4 ++--
 arch/arm/boot/dts/aspeed/aspeed-bmc-delta-ahe50dc.dts    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
arch/arm/boot/dts/aspeed/aspeed-bmc-asrock-romed8hm3.dts +2 -2
index 4554abf0c7cd..9aa2de3723b5 100644
@@ -98,14 +98,14 @@ w83773g at 4c {
 
 	/* IPB PMIC */
 	lm25066 at 40 {
-		compatible = "lm25066";
+		compatible = "ti,lm25066";
 		reg = <0x40>;
 		shunt-resistor-micro-ohms = <1000>;
 	};
 
 	/* 12VSB PMIC */
 	lm25066 at 41 {
-		compatible = "lm25066";
+		compatible = "ti,lm25066";
 		reg = <0x41>;
 		shunt-resistor-micro-ohms = <10000>;
 	};
arch/arm/boot/dts/aspeed/aspeed-bmc-delta-ahe50dc.dts +1 -1
index 6600f7e9bf5e..e830fec0570f 100644
@@ -14,7 +14,7 @@ efuse##n {					\
 
 #define EFUSE(hexaddr, num)							\
 	efuse@##hexaddr {							\
-		compatible = "lm25066";						\
+		compatible = "ti,lm25066";					\
 		reg = <0x##hexaddr>;						\
 		shunt-resistor-micro-ohms = <675>;				\
 		regulators {							\
Signature · 1 line
2.43.2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-aspeed/attachments/20240224/3eefe0b1/attachment.sig>

#3 lore raw
In reply to Zev Weiss
Quoted 6 lines · Zev Weiss

Due to the way i2c driver matching works (falling back to the driver's id_table if of_match_table fails) this didn't actually cause any misbehavior, but let's add the vendor prefixes so things actually work the way they were intended to.

Two months passed, no replies from maintainers about picking it up. Dunno, looks abandoned, so let me grab this. If anyone else wants to pick it up, let me know.

Applied, thanks!

[1/1] ARM: dts: aspeed: Add vendor prefixes to lm25066 compat strings

      https://git.kernel.org/krzk/linux-dt/c/1afe35e54a89d762f1cf71da1ef29be2c387be35

Best regards,

Signature · 1 line
Krzysztof Kozlowski <[email protected]>
maintainer
#4 lore raw
Quoted 11 lines · Krzysztof Kozlowski
Quoted 6 lines · Zev Weiss

Due to the way i2c driver matching works (falling back to the driver's id_table if of_match_table fails) this didn't actually cause any misbehavior, but let's add the vendor prefixes so things actually work the way they were intended to.

Two months passed, no replies from maintainers about picking it up. Dunno, looks abandoned, so let me grab this. If anyone else wants to pick it up, let me know.

Sorry, another one that fell in the hole mentioned previously.

I'm okay with it going via your tree if there are no conflicts.

Andrew