2022-08-08 07:56:04

by Yassine Oudjana

[permalink] [raw]
Subject: [PATCH 3/8] arm64: dts: qcom: pmi8996: Add SMBCHG

From: Yassine Oudjana <[email protected]>

The SMBCHG block on PMI8996 is slightly different from the one
on PMI8994, making a different compatible string required.
Change the label and compatible of pmi8994_smbchg to match PMI8996.

Signed-off-by: Yassine Oudjana <[email protected]>
---
arch/arm64/boot/dts/qcom/pmi8996.dtsi | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/pmi8996.dtsi b/arch/arm64/boot/dts/qcom/pmi8996.dtsi
index 31b47209e261..ea8d86d12bb8 100644
--- a/arch/arm64/boot/dts/qcom/pmi8996.dtsi
+++ b/arch/arm64/boot/dts/qcom/pmi8996.dtsi
@@ -13,3 +13,7 @@
/ {
qcom,pmic-id = <0x20009 0x10013 0 0>;
};
+
+pmi8996_smbchg: &pmi8994_smbchg {
+ compatible = "qcom,pmi8996-smbchg";
+};
--
2.37.1