arm64: dts: imx8mq-zii-ultra: remove #address-cells of eeprom@a4
Subsystems (2)
Frank Li
maintainerPATCH 1/1 arm64: dts: imx8mq-zii-ultra: remove #address-cells of eeprom@a4
Remove #address-cells and #size-cells of eeprom@a4 because no children nodes under eeprom@a4.
--- arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 2 -- 1 file changed, 2 deletions(-)
arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +0 -2
@@ -517,8 +517,6 @@ eeprom@a3 { eeprom@a4 { compatible = "zii,rave-sp-eeprom"; reg = <0xa4 0x4000>; - #address-cells = <1>; - #size-cells = <1>; zii,eeprom-name = "main-eeprom"; }; };
Signature · 1 line
2.34.1
Quoted 2 lines · Frank Li
Remove #address-cells and #size-cells of eeprom@a4 because no children nodes under eeprom@a4.
Hmm, bindings/nvmem/zii,rave-sp-eeprom.txt suggests there could be child nodes?
Shawn
Quoted 22 lines
Signed-off-by Frank Li <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 2 -- 1 file changed, 2 deletions(-)arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +0
-2@@ -517,8 +517,6 @@ eeprom@a3 { eeprom@a4 { compatible = "zii,rave-sp-eeprom"; reg = <0xa4 0x4000>; - #address-cells = <1>; - #size-cells = <1>; zii,eeprom-name = "main-eeprom"; }; };Signature · 1 line
2.34.1
Frank Li
maintainerQuoted 6 lines · Shawn Guo
Quoted 2 lines · Frank Li
Remove #address-cells and #size-cells of eeprom@a4 because no children nodes under eeprom@a4.
Hmm,
bindings/nvmem/zii,rave-sp-eeprom.txtsuggests there could be child nodes?
"Data cells are child nodes of eerpom node, bindings for which are documented in Documentation/devicetree/bindings/nvmem/nvmem.txt"
It should be optional property to declear offset, such as mac_address, or watchdog_timeout value.
Here is no children nodes under eeprom@a4, so needn't #address-cells. It should be added only when add children nodes.
Frank
Quoted 26 lines
Shawn
Quoted 22 lines
Signed-off-by Frank Li <[email protected]>--- arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi | 2 -- 1 file changed, 2 deletions(-)arch/arm64/boot/dts/freescale/imx8mq-zii-ultra.dtsi +0
-3@@ -517,8 +517,6 @@ eeprom@a3 { eeprom@a4 { compatible = "zii,rave-sp-eeprom"; reg = <0xa4 0x4000>; - #address-cells = <1>; - #size-cells = <1>; zii,eeprom-name = "main-eeprom"; }; }; --2.34.1
Shawn Guo
AppliedQuoted 4 lines · Frank Li
Remove #address-cells and #size-cells of eeprom@a4 because no children nodes under eeprom@a4.
Signed-off-by Frank Li <[email protected]>
Applied, thanks!