Skip to contentSkip to conversation

dt-bindings: sram: Add 'clocks' as an optional property

PATCH Superseded Fabio Estevam 2 participants 2 messages Jun 23, 2018 – Jun 26, 2018 Device tree bindings

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dt-bindings: sram: Add 'clocks' as an optional property

From: Fabio Estevam <[email protected]>

Some SoCs (like i.MX53) need to specify the SRAM clock in the device tree via the clocks property.

Add an entry to the optional property section.

---
 Documentation/devicetree/bindings/sram/sram.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/sram/sram.txt +1 -0
index 267da44..05689c1 100644
@@ -50,6 +50,7 @@ Optional properties in the area nodes:
 		 manipulation of the page attributes.
 - label : the name for the reserved partition, if omitted, the label
           is taken from the node name excluding the unit address.
+- clocks: the clock specifier that controls the SRAM clock.
 
 Example:
 
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw

Hi Fabio,

Quoted 17 lines · Fabio Estevam

From: Fabio Estevam <[email protected]>

Some SoCs (like i.MX53) need to specify the SRAM clock in the device tree via the clocks property.

Add an entry to the optional property section.

---
 Documentation/devicetree/bindings/sram/sram.txt | 1 +
 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/sram/sram.txt +0 -0
index 267da44..05689c1 100644

Documentation/devicetree/bindings/sram/sram.txt Optional properties in the area nodes: · line 53

Quoted 4 lines
Documentation/devicetree/bindings/sram/sram.txt +1 -0
@@ -50,6 +50,7 @@ Optional properties in the area nodes:
 		 manipulation of the page attributes.
 - label : the name for the reserved partition, if omitted, the label
           is taken from the node name excluding the unit address.
+- clocks: the clock specifier that controls the SRAM clock.

just a nitpicking, all other property descriptions have a space before a colon.

Also probably it makes sense to correct and pluralize "the clock specifier" into a widely used form of "a list of phandle and clock specifier pairs", while currently the driver does not support multiple clocks, it may be extended in the future.

With that fixed,

--
Best wishes,
Vladimir