lkml.org 
[lkml]   [2021]   [Sep]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH AUTOSEL 5.10 088/176] arm64: dts: qcom: msm8996: don't use underscore in node name
    Date
    From: Vinod Koul <vkoul@kernel.org>

    [ Upstream commit 84f3efbe5b4654077608bc2fc027177fe4592321 ]

    We have underscore (_) in node name leading to warning:

    arch/arm64/boot/dts/qcom/apq8096-db820c.dt.yaml: clocks: $nodename:0: 'clocks' does not match '^([a-z][a-z0-9\\-]+-bus|bus|soc|axi|ahb|apb)(@[0-9a-f]+)?$'
    arch/arm64/boot/dts/qcom/apq8096-db820c.dt.yaml: clocks: xo_board: {'type': 'object'} is not allowed for {'compatible': ['fixed-clock'], '#clock-cells': [[0]], 'clock-frequency': [[19200000]], 'clock-output-names': ['xo_board'], 'phandle': [[115]]}

    Fix this by changing node name to use dash (-)

    Signed-off-by: Vinod Koul <vkoul@kernel.org>
    Link: https://lore.kernel.org/r/20210308060826.3074234-10-vkoul@kernel.org
    Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    arch/arm64/boot/dts/qcom/msm8996.dtsi | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.dtsi
    index fd6ae5464dea..eef17434d12a 100644
    --- a/arch/arm64/boot/dts/qcom/msm8996.dtsi
    +++ b/arch/arm64/boot/dts/qcom/msm8996.dtsi
    @@ -17,14 +17,14 @@ / {
    chosen { };

    clocks {
    - xo_board: xo_board {
    + xo_board: xo-board {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <19200000>;
    clock-output-names = "xo_board";
    };

    - sleep_clk: sleep_clk {
    + sleep_clk: sleep-clk {
    compatible = "fixed-clock";
    #clock-cells = <0>;
    clock-frequency = <32764>;
    --
    2.30.2
    \
     
     \ /
      Last update: 2021-09-09 14:47    [W:6.740 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site