lkml.org 
[lkml]   [2022]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.18 0151/1095] ARM: dts: imx6ul: change operating-points to uint32-matrix
    Date
    From: Alexander Stein <alexander.stein@ew.tq-group.com>

    [ Upstream commit edb67843983bbdf61b4c8c3c50618003d38bb4ae ]

    operating-points is a uint32-matrix as per opp-v1.yaml. Change it
    accordingly. While at it, change fsl,soc-operating-points as well,
    although there is no bindings file (yet). But they should have the same
    format. Fixes the dt_binding_check warning:
    cpu@0: operating-points:0: [696000, 1275000, 528000, 1175000, 396000,
    1025000, 198000, 950000] is too long
    cpu@0: operating-points:0: Additional items are not allowed (528000,
    1175000, 396000, 1025000, 198000, 950000 were unexpected)

    Signed-off-by: Alexander Stein <alexander.stein@ew.tq-group.com>
    Signed-off-by: Shawn Guo <shawnguo@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm/boot/dts/imx6ul.dtsi | 22 ++++++++++------------
    1 file changed, 10 insertions(+), 12 deletions(-)

    diff --git a/arch/arm/boot/dts/imx6ul.dtsi b/arch/arm/boot/dts/imx6ul.dtsi
    index 1d435a46fc5c..2fcbd9d91521 100644
    --- a/arch/arm/boot/dts/imx6ul.dtsi
    +++ b/arch/arm/boot/dts/imx6ul.dtsi
    @@ -64,20 +64,18 @@ cpu0: cpu@0 {
    clock-frequency = <696000000>;
    clock-latency = <61036>; /* two CLK32 periods */
    #cooling-cells = <2>;
    - operating-points = <
    + operating-points =
    /* kHz uV */
    - 696000 1275000
    - 528000 1175000
    - 396000 1025000
    - 198000 950000
    - >;
    - fsl,soc-operating-points = <
    + <696000 1275000>,
    + <528000 1175000>,
    + <396000 1025000>,
    + <198000 950000>;
    + fsl,soc-operating-points =
    /* KHz uV */
    - 696000 1275000
    - 528000 1175000
    - 396000 1175000
    - 198000 1175000
    - >;
    + <696000 1275000>,
    + <528000 1175000>,
    + <396000 1175000>,
    + <198000 1175000>;
    clocks = <&clks IMX6UL_CLK_ARM>,
    <&clks IMX6UL_CLK_PLL2_BUS>,
    <&clks IMX6UL_CLK_PLL2_PFD2>,
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-08-15 22:30    [W:4.023 / U:1.176 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site