[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200512195608.GH2165@builder.lan>
Date: Tue, 12 May 2020 12:56:08 -0700
From: Bjorn Andersson <bjorn.andersson@...aro.org>
To: Sivaprakash Murugesan <sivaprak@...eaurora.org>
Cc: agross@...nel.org, mturquette@...libre.com, sboyd@...nel.org,
robh+dt@...nel.org, jassisinghbrar@...il.com,
linux-arm-msm@...r.kernel.org, linux-clk@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH V4 2/8] dt-bindings: clock: Add schema for QCOM IPQ apss
pll
On Sun 03 May 23:20 PDT 2020, Sivaprakash Murugesan wrote:
> Add dt-binding for apss pll found on QCOM IPQ platforms
>
> Signed-off-by: Sivaprakash Murugesan <sivaprak@...eaurora.org>
This seems quite similar to the existing qcom,a53pll binding, can't you
just describe both in the same binding?
> ---
> .../bindings/clock/qcom,ipq-apsspll.yaml | 49 ++++++++++++++++++++++
> 1 file changed, 49 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/clock/qcom,ipq-apsspll.yaml
>
> diff --git a/Documentation/devicetree/bindings/clock/qcom,ipq-apsspll.yaml b/Documentation/devicetree/bindings/clock/qcom,ipq-apsspll.yaml
> new file mode 100644
> index 0000000..dd12ec4
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/qcom,ipq-apsspll.yaml
> @@ -0,0 +1,49 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/clock/qcom,ipq-apsspll.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Qualcomm IPQ APSS PLL Binding
> +
> +maintainers:
> + - Sivaprakash Murugesan <sivaprak@...eaurora.org>
> +
> +description:
> + The APSS PLL is the main clock that feds the CPUs on QCOM IPQ platforms.
> + It can support frequencies above 1GHz.
> +
> +properties:
> + compatible:
> + const: qcom,ipq-apss-pll
Allow me to claim that this is not the last IPQ, with an APSS PLL, which
means that this compatible is no good.
I think you want a compatible on the format qcom,ipq<numbers>-a53pll.
Regards,
Bjorn
> +
> + reg:
> + maxItems: 1
> +
> + '#clock-cells':
> + const: 0
> +
> + clocks:
> + items:
> + - description: board XO clock
> +
> + clock-names:
> + items:
> + - const: xo
> +
> +required:
> + - compatible
> + - reg
> + - '#clock-cells'
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + a53pll_ipq: clock@...6000 {
> + compatible = "qcom,ipq-apss-pll";
> + reg = <0x0b116000 0x40>;
> + #clock-cells = <0>;
> + clocks = <&xo>;
> + clock-names = "xo";
> + };
> --
> 2.7.4
>
Powered by blists - more mailing lists