lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 21 Mar 2022 16:50:59 -0500
From:   Rob Herring <robh@...nel.org>
To:     Ansuel Smith <ansuelsmth@...il.com>
Cc:     Bjorn Andersson <bjorn.andersson@...aro.org>,
        Andy Gross <agross@...nel.org>,
        Michael Turquette <mturquette@...libre.com>,
        Stephen Boyd <sboyd@...nel.org>, devicetree@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-arm-msm@...r.kernel.org,
        linux-clk@...r.kernel.org, Krzysztof Kozlowski <krzk@...nel.org>
Subject: Re: [PATCH v5 15/18] dt-bindings: clock: Add L2 clocks to
 qcom,krait-cc Documentation

On Mon, Mar 21, 2022 at 04:38:52PM +0100, Ansuel Smith wrote:
> Krait-cc qcom driver provide also L2 clocks and require the acpu_l2_aux
> and the hfpll_l2 clock to be provided. Add these missing clocks to the
> Documentation. The driver keep support for both old and this new
> implementation and should prevent any regression by this fixup.

Depends on what the old driver looks for.

> Signed-off-by: Ansuel Smith <ansuelsmth@...il.com>
> Reviewed-by: Krzysztof Kozlowski <krzk@...nel.org>
> ---
>  .../devicetree/bindings/clock/qcom,krait-cc.yaml     | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml b/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml
> index e879bfbe67ac..f89b70ab01ae 100644
> --- a/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml
> +++ b/Documentation/devicetree/bindings/clock/qcom,krait-cc.yaml
> @@ -23,16 +23,20 @@ properties:
>      items:
>        - description: phandle to hfpll for CPU0 mux
>        - description: phandle to hfpll for CPU1 mux
> +      - description: phandle to hfpll for L2 mux
>        - description: phandle to CPU0 aux clock
>        - description: phandle to CPU1 aux clock
> +      - description: phandle to L2 aux clock
>        - description: phandle to QSB fixed clk

Clock indices should not change. New clocks go on the end of the list.

>  
>    clock-names:
>      items:
>        - const: hfpll0
>        - const: hfpll1
> +      - const: hfpll_l2
>        - const: acpu0_aux
>        - const: acpu1_aux
> +      - const: acpu_l2_aux
>        - const: qsb
>  
>    '#clock-cells':
> @@ -50,10 +54,10 @@ examples:
>    - |
>      clock-controller {
>        compatible = "qcom,krait-cc-v1";
> -      clocks = <&hfpll0>, <&hfpll1>,
> -               <&acpu0_aux>, <&acpu1_aux>, <&qsb>;
> -      clock-names = "hfpll0", "hfpll1",
> -                    "acpu0_aux", "acpu1_aux", "qsb";
> +      clocks = <&hfpll0>, <&hfpll1>, <&hfpll_l2>,
> +               <&acpu0_aux>, <&acpu1_aux>, <&acpu_l2_aux>, <&qsb>;
> +      clock-names = "hfpll0", "hfpll1", "hfpll_l2",
> +                    "acpu0_aux", "acpu1_aux", "acpu_l2_aux", "qsb";
>        #clock-cells = <1>;
>      };
>  ...
> -- 
> 2.34.1
> 
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ