diff mbox series

[2/3,v2] clk: ux500: Add device tree bindings for ABx500 clocks

Message ID 20170120132539.3013-1-linus.walleij@linaro.org
State Accepted
Commit 839a72af88635f222f6daef430e13a3f2dcb1e6e
Headers show
Series None | expand

Commit Message

Linus Walleij Jan. 20, 2017, 1:25 p.m. UTC
This adds device tree bindings for the ABx500 clocks on the
ST-Ericsson platforms.

Cc: devicetree@vger.kernel.org
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

---
ChangeLog v1->v2:
- Indicate that the abx500 clocks need to be in a device tree
  node under an ABx500 MFD device.
- Rename the example node to clock-controller.
---
 .../devicetree/bindings/clock/stericsson,abx500.txt  | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/clock/stericsson,abx500.txt

-- 
2.9.3

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Ulf Hansson Jan. 20, 2017, 3:56 p.m. UTC | #1
On 20 January 2017 at 14:25, Linus Walleij <linus.walleij@linaro.org> wrote:
> This adds device tree bindings for the ABx500 clocks on the

> ST-Ericsson platforms.

>

> Cc: devicetree@vger.kernel.org

> Cc: Ulf Hansson <ulf.hansson@linaro.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>


Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>


Stephen, can pick this up once Rob acked it?

Kind regards
Uffe


> ---

> ChangeLog v1->v2:

> - Indicate that the abx500 clocks need to be in a device tree

>   node under an ABx500 MFD device.

> - Rename the example node to clock-controller.

> ---

>  .../devicetree/bindings/clock/stericsson,abx500.txt  | 20 ++++++++++++++++++++

>  1 file changed, 20 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/clock/stericsson,abx500.txt

>

> diff --git a/Documentation/devicetree/bindings/clock/stericsson,abx500.txt b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt

> new file mode 100644

> index 000000000000..dbaa886b223e

> --- /dev/null

> +++ b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt

> @@ -0,0 +1,20 @@

> +Clock bindings for ST-Ericsson ABx500 clocks

> +

> +Required properties :

> +- compatible : shall contain the following:

> +  "stericsson,ab8500-clk"

> +- #clock-cells should be <1>

> +

> +The ABx500 clocks need to be placed as a subnode of an AB8500

> +device node, see mfd/ab8500.txt

> +

> +All available clocks are defined as preprocessor macros in

> +dt-bindings/clock/ste-ab8500.h header and can be used in device

> +tree sources.

> +

> +Example:

> +

> +clock-controller {

> +       compatible = "stericsson,ab8500-clk";

> +       #clock-cells = <1>;

> +};

> --

> 2.9.3

>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Rob Herring (Arm) Jan. 23, 2017, 4:01 p.m. UTC | #2
On Fri, Jan 20, 2017 at 02:25:39PM +0100, Linus Walleij wrote:
> This adds device tree bindings for the ABx500 clocks on the

> ST-Ericsson platforms.

> 

> Cc: devicetree@vger.kernel.org

> Cc: Ulf Hansson <ulf.hansson@linaro.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---

> ChangeLog v1->v2:

> - Indicate that the abx500 clocks need to be in a device tree

>   node under an ABx500 MFD device.

> - Rename the example node to clock-controller.

> ---

>  .../devicetree/bindings/clock/stericsson,abx500.txt  | 20 ++++++++++++++++++++

>  1 file changed, 20 insertions(+)

>  create mode 100644 Documentation/devicetree/bindings/clock/stericsson,abx500.txt


Acked-by: Rob Herring <robh@kernel.org>

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Stephen Boyd Jan. 27, 2017, 12:11 a.m. UTC | #3
On 01/20, Linus Walleij wrote:
> This adds device tree bindings for the ABx500 clocks on the

> ST-Ericsson platforms.

> 

> Cc: devicetree@vger.kernel.org

> Cc: Ulf Hansson <ulf.hansson@linaro.org>

> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

> ---


Applied to clk-ux500 and merged into clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/clock/stericsson,abx500.txt b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt
new file mode 100644
index 000000000000..dbaa886b223e
--- /dev/null
+++ b/Documentation/devicetree/bindings/clock/stericsson,abx500.txt
@@ -0,0 +1,20 @@ 
+Clock bindings for ST-Ericsson ABx500 clocks
+
+Required properties :
+- compatible : shall contain the following:
+  "stericsson,ab8500-clk"
+- #clock-cells should be <1>
+
+The ABx500 clocks need to be placed as a subnode of an AB8500
+device node, see mfd/ab8500.txt
+
+All available clocks are defined as preprocessor macros in
+dt-bindings/clock/ste-ab8500.h header and can be used in device
+tree sources.
+
+Example:
+
+clock-controller {
+	compatible = "stericsson,ab8500-clk";
+	#clock-cells = <1>;
+};