ARM: dts: stm32: Describe M24256E write-lockable page in DH STM32MP13xx DHCOR SoM DT
PATCH v2 1/1 ARM: dts: stm32: Describe M24256E write-lockable page in DH STM32MP13xx DHCOR SoM DT
The STM32MP13xx DHCOR SoM is populated with M24256E EEPROM which has Additional Write lockable page at separate I2C address. Describe the page in DT to make it available.
Note that the WLP page on this device is hardware write-protected by R37 which pulls the nWC signal high to VDD_3V3_1V8 power rail.
---
Cc: Alexandre Torgue <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: Fix up the M25256E in Subject
---
DEPENDS:
- https://lore.kernel.org/linux-i2c/[email protected]/
- https://lore.kernel.org/linux-i2c/[email protected]/
--- arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi +6 -0
@@ -202,6 +202,12 @@ eeprom0: eeprom@50 { pagesize = <64>; }; + eeprom0wl: eeprom@58 { + compatible = "st,24256e-wl"; /* ST M24256E WL page of 0x50 */ + pagesize = <64>; + reg = <0x58>; + }; + rv3032: rtc@51 { compatible = "microcrystal,rv3032"; reg = <0x51>;
Signature · 1 line
2.45.2
Alexandre TORGUE
maintainerHi Marek
Quoted 35 lines · Marek Vasut
The STM32MP13xx DHCOR SoM is populated with M24256E EEPROM which has Additional Write lockable page at separate I2C address. Describe the page in DT to make it available.
Note that the WLP page on this device is hardware write-protected by R37 which pulls the nWC signal high to
VDD_3V3_1V8power rail.Signed-off-by Marek Vasut <[email protected]>---
Cc: Alexandre Torgue <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: Fix up the M25256E in Subject
---
DEPENDS:
- https://lore.kernel.org/linux-i2c/[email protected]/
- https://lore.kernel.org/linux-i2c/[email protected]/--- arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi | 6 ++++++ 1 file changed, 6 insertions(+)arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi +0
-0
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi eeprom0: eeprom@50 { · line 210
Quoted 9 lines
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi +6
-0@@ -202,6 +202,12 @@ eeprom0: eeprom@50 { pagesize = <64>; }; + eeprom0wl: eeprom@58 { + compatible = "st,24256e-wl"; /* ST M24256E WL page of 0x50 */ + pagesize = <64>; + reg = <0x58>; + }; +
You could have sorted nodes by I2C addresses.
Anyway, applied on stm32-next (as dependencies have been applied by Bartosz).
Cheers
Alex
Quoted 3 lines
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi +0
-0rv3032: rtc@51 { compatible = "microcrystal,rv3032"; reg = <0x51>;
Quoted 35 lines · Alexandre TORGUE
Hi Marek
Quoted 32 lines · Marek Vasut
The STM32MP13xx DHCOR SoM is populated with M24256E EEPROM which has Additional Write lockable page at separate I2C address. Describe the page in DT to make it available.
Note that the WLP page on this device is hardware write-protected by R37 which pulls the nWC signal high to
VDD_3V3_1V8power rail.Signed-off-by Marek Vasut <[email protected]>---
Cc: Alexandre Torgue <[email protected]>
Cc: Christoph Niedermaier <[email protected]>
Cc: Conor Dooley <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Coquelin <[email protected]>
Cc: Rob Herring <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
---
V2: Fix up the M25256E in Subject
---
DEPENDS:
- https://lore.kernel.org/linux-i2c/20241017184152.128395-1-
[email protected]/
- https://lore.kernel.org/linux-i2c/20241017184152.128395-2-
[email protected]/
---
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi| 6 ++++++1 file changed, 6 insertions(+)
Quoted 15 lines
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi eeprom0: eeprom@50 { · line 209
Quoted 13 lines
arch/arm/boot/dts/st/stm32mp13xx-dhcor-som.dtsi +6
-0@@ -202,6 +202,12 @@ eeprom0: eeprom@50 { pagesize = <64>; }; + eeprom0wl: eeprom@58 { + compatible = "st,24256e-wl"; /* ST M24256E WL page of 0x50 */ + pagesize = <64>; + reg = <0x58>; + }; +You could have sorted nodes by I2C addresses.
Fixed in [PATCH] ARM: dts: stm32: Sort M24256E write-lockable page in DH STM32MP13xx DHCOR SoM DT
Sorry.
(I also wrote me a sorting tool in the meantime, but it still isn't too good)