diff options
author | Bhupesh Sharma <bhupesh.sharma@linaro.org> | 2022-07-20 02:20:57 +0530 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-07-19 17:20:11 -0500 |
commit | 1282fa32d71633bce5330a592db6e53cf73d2c28 (patch) | |
tree | 478c081d57ce1a90bfe3f97750d3939e4fc1416e /arch/arm64/boot/dts/qcom | |
parent | 746ff2bfcec78cfd522b2a490e7207c3fe836634 (diff) | |
download | linux-1282fa32d71633bce5330a592db6e53cf73d2c28.tar.bz2 |
arm64: dts: qcom: qrb5165-rb5: Fix 'dtbs_check' error for lpg nodes
make dtbs_check currently reports the following warnings
with qrb5165-rb5 lpg nodes:
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts:
Warning (reg_format): /soc@0/spmi@c440000/pmic@5/lpg/led@1:reg:
property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
arch/arm64/boot/dts/qcom/qrb5165-rb5.dts:
Warning (avoid_default_addr_size): /soc@0/spmi@c440000/pmic@5/lpg/led@1:
Relying on default #address-cells value
Fix the same.
Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220719205058.1004942-2-bhupesh.sharma@linaro.org
Diffstat (limited to 'arch/arm64/boot/dts/qcom')
-rw-r--r-- | arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index b3740375dd4c..a7278928efc1 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -816,6 +816,9 @@ &pm8150l_lpg { status = "okay"; + #address-cells = <1>; + #size-cells = <0>; + led@1 { reg = <1>; color = <LED_COLOR_ID_GREEN>; |