diff mbox series

[12/22] arm64: dts: qcom: pm8150l: Add Base DTS file

Message ID 20190814125012.8700-13-vkoul@kernel.org
State New
Headers show
Series arm64: dts: qcom: sm8150: Add SM8150 DTS | expand

Commit Message

Vinod Koul Aug. 14, 2019, 12:50 p.m. UTC
PMIC pm8150l is a slave pmic and this adds base DTS file for pm8150l

Signed-off-by: Vinod Koul <vkoul@kernel.org>

---
 arch/arm64/boot/dts/qcom/pm8150l.dtsi | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/pm8150l.dtsi

-- 
2.20.1

Comments

Stephen Boyd Aug. 14, 2019, 5:10 p.m. UTC | #1
Quoting Vinod Koul (2019-08-14 05:50:02)
> PMIC pm8150l is a slave pmic and this adds base DTS file for pm8150l

> 

> Signed-off-by: Vinod Koul <vkoul@kernel.org>

> ---

>  arch/arm64/boot/dts/qcom/pm8150l.dtsi | 22 ++++++++++++++++++++++

>  1 file changed, 22 insertions(+)

>  create mode 100644 arch/arm64/boot/dts/qcom/pm8150l.dtsi

> 

> diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi

> new file mode 100644

> index 000000000000..e61ae6c6dab5

> --- /dev/null

> +++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi

> @@ -0,0 +1,22 @@

> +// SPDX-License-Identifier: BSD-3-Clause

> +// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.

> +// Copyright (c) 2019, Linaro Limited

> +

> +#include <dt-bindings/interrupt-controller/irq.h>

> +#include <dt-bindings/spmi/spmi.h>

> +

> +&spmi_bus {

> +       qcom,pm8150@4 {


pmic

> +               compatible = "qcom,spmi-pmic";


Update compatible string too.

> +               reg = <0x4 SPMI_USID>;

> +               #address-cells = <1>;

> +               #size-cells = <0>;

> +       };

> +

> +       qcom,pm8150@5 {

> +               compatible ="qcom,spmi-pmic";

> +               reg = <0x5 SPMI_USID>;

> +               #address-cells = <1>;

> +               #size-cells = <0>;

> +       };

> +};
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/qcom/pm8150l.dtsi b/arch/arm64/boot/dts/qcom/pm8150l.dtsi
new file mode 100644
index 000000000000..e61ae6c6dab5
--- /dev/null
+++ b/arch/arm64/boot/dts/qcom/pm8150l.dtsi
@@ -0,0 +1,22 @@ 
+// SPDX-License-Identifier: BSD-3-Clause
+// Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
+// Copyright (c) 2019, Linaro Limited
+
+#include <dt-bindings/interrupt-controller/irq.h>
+#include <dt-bindings/spmi/spmi.h>
+
+&spmi_bus {
+	qcom,pm8150@4 {
+		compatible = "qcom,spmi-pmic";
+		reg = <0x4 SPMI_USID>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+	};
+
+	qcom,pm8150@5 {
+		compatible ="qcom,spmi-pmic";
+		reg = <0x5 SPMI_USID>;
+		#address-cells = <1>;
+		#size-cells = <0>;
+	};
+};