dt-bindings: aspeed-lpc: Make parameter optional
PATCH 1/1 dt-bindings: aspeed-lpc: Make parameter optional
Memory-region and flash phandle is not a required parameter, it is optional to describe in device tree and needed only use basis.
Signed-off-by Vijay Khemka <[email protected]>
--- Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | 4 ++++ 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +4 -0
@@ -135,6 +135,10 @@ Required properties: - clocks: contains a phandle to the syscon node describing the clocks. There should then be one cell representing the clock to use +Optional properties: +These below properties are optional and required only if one need to use it +through ioctl. + - memory-region: A phandle to a reserved_memory region to be used for the LPC to AHB mapping
Signature · 1 line
2.17.1
Hi Vijay,
Quoted 14 lines · Vijay Khemka
Memory-region and flash phandle is not a required parameter, it is optional to describe in device tree and needed only use basis.
Signed-off-by Vijay Khemka <[email protected]>--- Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | 4 ++++ 1 file changed, 4 insertions(+)(quoted diff) renamed from Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +0
-0
Documentation/devicetree/bindings/mfd/aspeed-lpc.txtindex34dd89087cff..ff0cb28903dd100644
Documentation/devicetree/bindings/mfd/aspeed-lpc.txt Required properties: · line 140
Quoted 6 lines
Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +3
-0@@ -135,6 +135,10 @@ Required properties: - clocks: contains a phandle to the syscon node describing the clocks. There should then be one cell representing the clock to use +Optional properties: +These below properties are optional and required only if one need to use it +through ioctl.
I'd just say "Optional properties". Leave the description off, as we probably shouldn't be talking about ioctls and such in the bindings.
Andrew
Quoted 7 lines
Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +1
-0+ - memory-region: A phandle to a reserved_memory region to be used for the LPC to AHB mappingSignature · 1 line
2.17.1