Skip to contentSkip to conversation

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

PATCH In review Fabio Estevam 2 participants 2 messages Jul 3, 2018 – Jul 5, 2018 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH v3 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.

---
Changes since v1:
- Make it clear that it is a single SRAM clock (Rob)

 Documentation/devicetree/bindings/sram/sram.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/sram/sram.txt +2 -0
index 267da44..e98908b 100644
@@ -50,6 +50,8 @@ 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 : a list of phandle and clock specifier pair that controls the
+	   single SRAM clock.
 
 Example:
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 20 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.

---
Changes since v1:
- Make it clear that it is a single SRAM clock (Rob)

 Documentation/devicetree/bindings/sram/sram.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/devicetree/bindings/sram/sram.txt +0 -0
index 267da44..e98908b 100644

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

Quoted 5 lines
Documentation/devicetree/bindings/sram/sram.txt +2 -0
@@ -50,6 +50,8 @@ 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 : a list of phandle and clock specifier pair that controls the
+	   single SRAM clock.

I guess a list of one entry is still a list...

Anyway, applied.

Rob