diff mbox

[1/2] dt-bindings: aspeed-scu: Add clock and reset properties

Message ID 20170823060957.31167-1-joel@jms.id.au (mailing list archive)
State Superseded, archived
Headers show

Commit Message

Joel Stanley Aug. 23, 2017, 6:09 a.m. UTC
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
 Documentation/devicetree/bindings/mfd/aspeed-scu.txt | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

Rob Herring (Arm) Aug. 29, 2017, 5:12 p.m. UTC | #1
On Wed, Aug 23, 2017 at 03:39:56PM +0930, Joel Stanley wrote:
> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>  Documentation/devicetree/bindings/mfd/aspeed-scu.txt | 6 ++++++
>  1 file changed, 6 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>
--
To unsubscribe from this list: send the line "unsubscribe linux-clk" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Lee Jones Sept. 4, 2017, 1:52 p.m. UTC | #2
On Wed, 23 Aug 2017, Joel Stanley wrote:

> Signed-off-by: Joel Stanley <joel@jms.id.au>
> ---
>  Documentation/devicetree/bindings/mfd/aspeed-scu.txt | 6 ++++++
>  1 file changed, 6 insertions(+)

Applied for v4.15.

> diff --git a/Documentation/devicetree/bindings/mfd/aspeed-scu.txt b/Documentation/devicetree/bindings/mfd/aspeed-scu.txt
> index 4fc5b83726d6..ce8cf0ec6279 100644
> --- a/Documentation/devicetree/bindings/mfd/aspeed-scu.txt
> +++ b/Documentation/devicetree/bindings/mfd/aspeed-scu.txt
> @@ -9,10 +9,16 @@ Required properties:
>  		"aspeed,g5-scu", "syscon", "simple-mfd"
>  
>  - reg:		contains the offset and length of the SCU memory region
> +- #clock-cells: should be set to <1> - the system controller is also a
> +	clock provider
> +- #reset-cells: should be set to <1> - the system controller is also a
> +	reset line provider
>  
>  Example:
>  
>  syscon: syscon@1e6e2000 {
>  	compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
>  	reg = <0x1e6e2000 0x1a8>;
> +	#clock-cells = <1>;
> +	#reset-cells = <1>;
>  };
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/mfd/aspeed-scu.txt b/Documentation/devicetree/bindings/mfd/aspeed-scu.txt
index 4fc5b83726d6..ce8cf0ec6279 100644
--- a/Documentation/devicetree/bindings/mfd/aspeed-scu.txt
+++ b/Documentation/devicetree/bindings/mfd/aspeed-scu.txt
@@ -9,10 +9,16 @@  Required properties:
 		"aspeed,g5-scu", "syscon", "simple-mfd"
 
 - reg:		contains the offset and length of the SCU memory region
+- #clock-cells: should be set to <1> - the system controller is also a
+	clock provider
+- #reset-cells: should be set to <1> - the system controller is also a
+	reset line provider
 
 Example:
 
 syscon: syscon@1e6e2000 {
 	compatible = "aspeed,ast2400-scu", "syscon", "simple-mfd";
 	reg = <0x1e6e2000 0x1a8>;
+	#clock-cells = <1>;
+	#reset-cells = <1>;
 };