Skip to contentSkip to conversation

dt-bindings: eeprom: at24: Fix list of page sizes for writing

PATCH Applied Geert Uytterhoeven 4 participants 6 messages May 12, 2020 – May 19, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: eeprom: at24: Fix list of page sizes for writing

"258" is an odd power-of-two ;-)
Obviously this is a typo, and the intended value is "256".

Fixes 7f3bf4203774013b ("dt-bindings: at24: convert the binding document to yaml")
---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/eeprom/at24.yaml +1 -1
index d77bc475fd148d99..4cee72d5331877a8 100644
@@ -124,7 +124,7 @@ properties:
       may result in data loss! If not specified, a safety value of
       '1' is used which will be very slow.
     $ref: /schemas/types.yaml#/definitions/uint32
-    enum: [1, 8, 16, 32, 64, 128, 258]
+    enum: [1, 8, 16, 32, 64, 128, 256]
     default: 1
 
   read-only:
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

wt., 12 maj 2020 o 14:24 Geert Uytterhoeven <[email protected]> napisał(a):

Quoted 24 lines

"258" is an odd power-of-two ;-)
Obviously this is a typo, and the intended value is "256".

Fixes 7f3bf4203774013b ("dt-bindings: at24: convert the binding document to yaml")
---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/devicetree/bindings/eeprom/at24.yaml +1 -2
index d77bc475fd148d99..4cee72d5331877a8 100644
@@ -124,7 +124,7 @@ properties:
       may result in data loss! If not specified, a safety value of
       '1' is used which will be very slow.
     $ref: /schemas/types.yaml#/definitions/uint32
-    enum: [1, 8, 16, 32, 64, 128, 258]
+    enum: [1, 8, 16, 32, 64, 128, 256]
     default: 1
 
   read-only:
--
Quoted 2 lines

2.17.1

Ha! Of course it is. :)

#3 lore raw
In reply to Geert Uytterhoeven
Quoted 5 lines · Geert Uytterhoeven

"258" is an odd power-of-two ;-)
Obviously this is a typo, and the intended value is "256".

Fixes 7f3bf4203774013b ("dt-bindings: at24: convert the binding document to yaml")

Since I have a PR for Linus pending anyhow, I step ahead and apply it to my tree. Hope this is fine for everyone. Applied to for-current, thanks!

#4 lore raw
Quoted 9 lines · Wolfram Sang
Quoted 5 lines · Geert Uytterhoeven

"258" is an odd power-of-two ;-)
Obviously this is a typo, and the intended value is "256".

Fixes 7f3bf4203774013b ("dt-bindings: at24: convert the binding document to yaml")

Since I have a PR for Linus pending anyhow, I step ahead and apply it to my tree. Hope this is fine for everyone. Applied to for-current, thanks!

Brown paper bag, please. This is in -next only, so I rather leave it for Rob because of the dependencies.

maintainer Applied
#5 lore raw
In reply to Geert Uytterhoeven
Quoted 9 lines · Geert Uytterhoeven

"258" is an odd power-of-two ;-)
Obviously this is a typo, and the intended value is "256".

Fixes 7f3bf4203774013b ("dt-bindings: at24: convert the binding document to yaml")
---
 Documentation/devicetree/bindings/eeprom/at24.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks!