mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-22 10:31:08 +00:00
arm64: dts: qcom: sa8775p: add support for the on-board PMICs
Add a new .dtsi file for sa8775p PMICs and add the four PMICs interfaced to the SoC via SPMI. Enable the PMICs for sa8775p-ride. Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230327125316.210812-8-brgl@bgdev.pl
This commit is contained in:
parent
fdd55b3bab
commit
634a3de323
2 changed files with 38 additions and 0 deletions
37
arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
Normal file
37
arch/arm64/boot/dts/qcom/sa8775p-pmics.dtsi
Normal file
|
@ -0,0 +1,37 @@
|
|||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
/*
|
||||
* Copyright (c) 2023, Linaro Limited
|
||||
*/
|
||||
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
&spmi_bus {
|
||||
pmm8654au_0: pmic@0 {
|
||||
compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
|
||||
reg = <0x0 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
pmm8654au_1: pmic@2 {
|
||||
compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
|
||||
reg = <0x2 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
pmm8654au_2: pmic@4 {
|
||||
compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
|
||||
reg = <0x4 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
|
||||
pmm8654au_3: pmic@6 {
|
||||
compatible = "qcom,pmm8654au", "qcom,spmi-pmic";
|
||||
reg = <0x6 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
};
|
||||
};
|
|
@ -6,6 +6,7 @@
|
|||
/dts-v1/;
|
||||
|
||||
#include "sa8775p.dtsi"
|
||||
#include "sa8775p-pmics.dtsi"
|
||||
|
||||
/ {
|
||||
model = "Qualcomm SA8775P Ride";
|
||||
|
|
Loading…
Reference in a new issue