dt-bindings: clock: Add YAML schemas for QCOM A53 PLL
PATCH 1/1 dt-bindings: clock: Add YAML schemas for QCOM A53 PLL
This patch adds schema for primary CPU PLL found on few Qualcomm platforms.
Signed-off-by Sivaprakash Murugesan <[email protected]>
--- .../devicetree/bindings/clock/qcom,a53pll.txt | 22 ------------ .../devicetree/bindings/clock/qcom,a53pll.yaml | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/qcom,a53pll.txt create mode 100644 Documentation/devicetree/bindings/clock/qcom,a53pll.yaml
Documentation/devicetree/bindings/clock/qcom,a53pll.txt deleted +0 -22
@@ -1,22 +0,0 @@ -Qualcomm MSM8916 A53 PLL Binding --------------------------------- -The A53 PLL on MSM8916 platforms is the main CPU PLL used used for frequencies -above 1GHz. - -Required properties : -- compatible : Shall contain only one of the following: - - "qcom,msm8916-a53pll" - -- reg : shall contain base register location and length - -- #clock-cells : must be set to <0> - -Example: - - a53pll: clock@b016000 { - compatible = "qcom,msm8916-a53pll"; - reg = <0xb016000 0x40>; - #clock-cells = <0>; - }; -
Documentation/devicetree/bindings/clock/qcom,a53pll.yaml new file +40 -0
@@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/clock/qcom,a53pll.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Qualcomm A53 PLL Binding + +maintainers: + - Sivaprakash Murugesan <[email protected]> + +description: + The A53 PLL on few Qualcomm platforms is the main CPU PLL used used for + frequencies above 1GHz. + +properties: + compatible: + const: qcom,msm8916-a53pll + + reg: + maxItems: 1 + + '#clock-cells': + const: 0 + +required: + - compatible + - reg + - '#clock-cells' + +additionalProperties: false + +examples: + #Example 1 - A53 PLL found on MSM8916 devices + - | + a53pll: clock@b016000 { + compatible = "qcom,msm8916-a53pll"; + reg = <0xb016000 0x40>; + #clock-cells = <0>; + };
Signature · 1 line
2.7.4
Quoted 11 lines · Sivaprakash Murugesan
This patch adds schema for primary CPU PLL found on few Qualcomm platforms.
Signed-off-by Sivaprakash Murugesan <[email protected]>--- .../devicetree/bindings/clock/qcom,a53pll.txt | 22 ------------ .../devicetree/bindings/clock/qcom,a53pll.yaml | 40 ++++++++++++++++++++++ 2 files changed, 40 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/clock/qcom,a53pll.txt create mode 100644 Documentation/devicetree/bindings/clock/qcom,a53pll.yaml
Reviewed-by Rob Herring <[email protected]>
Quoting Sivaprakash Murugesan (2020-05-03 23:30:03)
Quoted 5 lines
This patch adds schema for primary CPU PLL found on few Qualcomm platforms.
Signed-off-by Sivaprakash Murugesan <[email protected]>---
Applied to clk-next