Skip to contentSkip to conversation

dt-bindings: aspeed-lpc: Make parameter optional

PATCH Superseded Vijay Khemka 2 participants 2 messages Jan 17, 2019 – Jan 18, 2019

Subsystems (3)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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.

---
 Documentation/devicetree/bindings/mfd/aspeed-lpc.txt | 4 ++++
 1 file changed, 4 insertions(+)
Documentation/devicetree/bindings/mfd/aspeed-lpc.txt +4 -0
index 34dd89087cff..ff0cb28903dd 100644
@@ -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
#1 lore raw

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.

---
 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.txt index 34dd89087cff..ff0cb28903dd 100644

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 mapping
 
Signature · 1 line
2.17.1