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.14 119/252] arm64: dts: qcom: sdm660: use reg value for memory node
    Date
    From: Vinod Koul <vkoul@kernel.org>

    [ Upstream commit c81210e38966cfa1c784364e4035081c3227cf5b ]

    memory node like other node should be node@reg, which is missing in this
    case, so fix it up

    arch/arm64/boot/dts/qcom/ipq8074-hk01.dt.yaml: /: memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 1073741824, 0, 536870912]]}

    Signed-off-by: Vinod Koul <vkoul@kernel.org>
    Link: https://lore.kernel.org/r/20210308060826.3074234-18-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/ipq8074-hk01.dts | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
    index e8c37a1693d3..cc08dc4eb56a 100644
    --- a/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
    +++ b/arch/arm64/boot/dts/qcom/ipq8074-hk01.dts
    @@ -20,7 +20,7 @@ chosen {
    stdout-path = "serial0";
    };

    - memory {
    + memory@40000000 {
    device_type = "memory";
    reg = <0x0 0x40000000 0x0 0x20000000>;
    };
    --
    2.30.2
    \
     
     \ /
      Last update: 2021-09-09 13:52    [W:5.517 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site