Skip to contentSkip to conversation

dt-bindings: eeprom/at24: Add samsung,s524ad0xd1 compatible

PATCH Superseded Rob Herring 2 participants 3 messages Apr 22, 2022 – Apr 26, 2022

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: eeprom/at24: Add samsung,s524ad0xd1 compatible

The samsung,s524ad0xd1 compatible is in use, but not documented. According to arch/arm/mach-s3c/mach-smdk6410.c, the samsung,s524ad0xd1 is compatible with the 24c128.

---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Documentation/devicetree/bindings/eeprom/at24.yaml +3 -1
index 6b61a8cf6137..d14e0accbda8 100644
@@ -120,7 +120,9 @@ properties:
           - const: giantec,gt24c32a
           - const: atmel,24c32
       - items:
-          - const: renesas,r1ex24128
+          - enum:
+              - renesas,r1ex24128
+              - samsung,s524ad0xd1
           - const: atmel,24c128
 
   label:
Signature · 1 line
2.32.0
#1 lore raw
Quoted 9 lines · Rob Herring

The samsung,s524ad0xd1 compatible is in use, but not documented. According to arch/arm/mach-s3c/mach-smdk6410.c, the samsung,s524ad0xd1 is compatible with the 24c128.

---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

The compatible - without 24c128 fallback - is used also in arch/arm/boot/dts/exynos5250-smdk5250.dts and Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml, so these files should be fixed as well.

Best regards,
Krzysztof

author maintainer
#2 lore raw
Quoted 11 lines · Krzysztof Kozlowski
Quoted 9 lines · Rob Herring

The samsung,s524ad0xd1 compatible is in use, but not documented. According to arch/arm/mach-s3c/mach-smdk6410.c, the samsung,s524ad0xd1 is compatible with the 24c128.

---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Quoted 4 lines

The compatible - without 24c128 fallback - is used also in arch/arm/boot/dts/exynos5250-smdk5250.dts and Documentation/devicetree/bindings/i2c/samsung,s3c2410-i2c.yaml, so these files should be fixed as well.

The dts file I was aware of and I leave that to the Exynos maintainers/users. :)

For some reason samsung,s3c2410-i2c.yaml is not getting a warning. I'll have to investigate.

Rob