]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
dt-bindings: sram: Add 'clocks' as an optional property
authorFabio Estevam <fabio.estevam@nxp.com>
Tue, 3 Jul 2018 22:51:16 +0000 (19:51 -0300)
committerRob Herring <robh@kernel.org>
Tue, 10 Jul 2018 14:08:57 +0000 (08:08 -0600)
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.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/sram/sram.txt

index 267da4410aefd0ac8e17beedfc33adf394e014e4..e98908bd4227fbd780882655cba6dd118787e7a8 100644 (file)
@@ -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: