[PATCH 15/24] arm64: dts: qcom: glymur: Add PMICs dtsi for CRD

Pankaj Patil
2025-09-25T06:34:09Z

From: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>

Include all the PMICs present on the Glymur board into
the glymur CRD DTS file.

Signed-off-by: Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com>
Signed-off-by: Pankaj Patil <pankaj.patil@oss.qualcomm.com>
---
arch/arm64/boot/dts/qcom/glymur-crd.dts | 1 +
arch/arm64/boot/dts/qcom/glymur-pmics.dtsi | 19 +++++++++++++++++++
2 files changed, 20 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/glymur-crd.dts b/arch/arm64/boot/dts/qcom/glymur-crd.dts
index e89b81dcb4f47b78307fa3ab6831657cf6491c89..97f6eedd7222368f5cbfdd02e9c4d87261d7f19a 100644
--- a/arch/arm64/boot/dts/qcom/glymur-crd.dts
+++ b/arch/arm64/boot/dts/qcom/glymur-crd.dts
@@ -6,6 +6,7 @@
/dts-v1/;

#include "glymur.dtsi"
+#include "glymur-pmics.dtsi"
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>

/ {
diff --git a/arch/arm64/boot/dts/qcom/glymur-pmics.dtsi b/arch/arm64/boot/dts/qcom/glymur-pmics.dtsi
new file mode 100644
index 0000000000000000000000000000000000000000..59dcfb67a203a7c576406037377fc9fbdce51a97
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/glymur-pmics.dtsi
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: GPL-2.0-only
+/*
+ * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
+ */
+
+#define PMH0110_F_E0 0x5
+#define PMH0110_H_E0 0x7
+#define PMH0104_I_E0 0x8
+#define PMH0104_J_E0 0x9
+
+#define PMH0110_F_E1 0x5
+#define PMH0104_L_E1 0xb
+
+#include "pmk8850.dtsi" /* SPMI0: SID-0*/
+#include "pmh0101.dtsi" /* SPMI0: SID-1*/
+#include "pmcx0102.dtsi" /* SPMI0: SID-2/3/4/6 SPMI1: SID-2/3/4 */
+#include "pmh0110.dtsi" /* SPMI0: SID-5/7 SPMI1: SID-5 */
+#include "pmh0104.dtsi" /* SPMI0: SID-8/9 SPMI1: SID-11 */
+#include "smb2370.dtsi" /* SPMI2: SID-9/10/11*/

--
2.34.1