aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2024-04-15 08:11:03 -0500
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-04-16 23:12:27 +0200
commitb362458a0941cb397d55b2f31004fc4393a8bccc (patch)
treeab540fdaa827c27cf7c4185c7e169b8373c38a54
parent7eea89692b5a2a69995f5b7182fbece0e63a5895 (diff)
downloaddevicetree-rebasing-b362458a0941cb397d55b2f31004fc4393a8bccc.tar.gz
dt-bindings: eeprom: at24: Fix ST M24C64-D compatible schema
The schema for the ST M24C64-D compatible string doesn't work. Validation fails as the 'd-wl' suffix is not added to the preceeding schema which defines the entries and vendors. The actual users are incorrect as well because the vendor is listed as Atmel whereas the part is made by ST. As this part doesn't appear to have multiple vendors, move it to its own entry. Fixes: 0997ff1fc143 ("dt-bindings: at24: add ST M24C64-D Additional Write lockable page") Fixes: c761068f484c ("dt-bindings: at24: add ST M24C32-D Additional Write lockable page") Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Marek Vasut <marex@denx.de> Acked-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> [ upstream commit: b3de7b433a323bb80303d77e69f1281bfab0a70b ]
-rw-r--r--Bindings/eeprom/at24.yaml5
1 files changed, 1 insertions, 4 deletions
diff --git a/Bindings/eeprom/at24.yaml b/Bindings/eeprom/at24.yaml
index 1812ef31d5f1e9..3c36cd0510de83 100644
--- a/Bindings/eeprom/at24.yaml
+++ b/Bindings/eeprom/at24.yaml
@@ -69,14 +69,10 @@ properties:
- items:
pattern: c32$
- items:
- pattern: c32d-wl$
- - items:
pattern: cs32$
- items:
pattern: c64$
- items:
- pattern: c64d-wl$
- - items:
pattern: cs64$
- items:
pattern: c128$
@@ -136,6 +132,7 @@ properties:
- renesas,r1ex24128
- samsung,s524ad0xd1
- const: atmel,24c128
+ - pattern: '^atmel,24c(32|64)d-wl$' # Actual vendor is st
label:
description: Descriptive name of the EEPROM.