ARM: dts: qcom: add PMIC Glink and clients for Sun
Add PMIC Glink devices and their client devices. The PMIC Glink device with name PMIC_RTR_ADSP_APPS supports the clients: ucsi, altmode, and battery_charger. The PMIC Glink device with name PMIC_LOGS_ADSP_APPS supports the clients: battery_debug, pmic_glink_debug, charger_ulog_glink, and glink_adc. Change-Id: Ib5a15c136c77c8368d4a561f266a1588c4649893 Signed-off-by: David Collins <quic_collinsd@quicinc.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
|||||||
#include <dt-bindings/interconnect/qcom,sun.h>
|
#include <dt-bindings/interconnect/qcom,sun.h>
|
||||||
#include <dt-bindings/soc/qcom,ipcc.h>
|
#include <dt-bindings/soc/qcom,ipcc.h>
|
||||||
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
|
#include <dt-bindings/soc/qcom,rpmh-rsc.h>
|
||||||
|
#include <dt-bindings/spmi/spmi.h>
|
||||||
#include <dt-bindings/interconnect/qcom,icc.h>
|
#include <dt-bindings/interconnect/qcom,icc.h>
|
||||||
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
|
#include <dt-bindings/regulator/qcom,rpmh-regulator-levels.h>
|
||||||
#include <dt-bindings/power/qcom-aoss-qmp.h>
|
#include <dt-bindings/power/qcom-aoss-qmp.h>
|
||||||
@@ -1893,6 +1894,66 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
qcom,pmic_glink {
|
||||||
|
compatible = "qcom,qti-pmic-glink";
|
||||||
|
qcom,pmic-glink-channel = "PMIC_RTR_ADSP_APPS";
|
||||||
|
depends-on-supply = <&ipcc_mproc>;
|
||||||
|
|
||||||
|
battery_charger: qcom,battery_charger {
|
||||||
|
compatible = "qcom,battery-charger";
|
||||||
|
};
|
||||||
|
|
||||||
|
ucsi: qcom,ucsi {
|
||||||
|
compatible = "qcom,ucsi-glink";
|
||||||
|
};
|
||||||
|
|
||||||
|
altmode: qcom,altmode {
|
||||||
|
compatible = "qcom,altmode-glink";
|
||||||
|
#altmode-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,pmic_glink_log {
|
||||||
|
compatible = "qcom,qti-pmic-glink";
|
||||||
|
qcom,pmic-glink-channel = "PMIC_LOGS_ADSP_APPS";
|
||||||
|
|
||||||
|
qcom,battery_debug {
|
||||||
|
compatible = "qcom,battery-debug";
|
||||||
|
};
|
||||||
|
|
||||||
|
qcom,charger_ulog_glink {
|
||||||
|
compatible = "qcom,charger-ulog-glink";
|
||||||
|
};
|
||||||
|
|
||||||
|
pmic_glink_debug: qcom,pmic_glink_debug {
|
||||||
|
compatible = "qcom,pmic-glink-debug";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
depends-on-supply = <&spmi_bus>;
|
||||||
|
|
||||||
|
/* Primary SPMI bus */
|
||||||
|
spmi@0 {
|
||||||
|
reg = <0>;
|
||||||
|
#address-cells = <2>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
|
||||||
|
pmih010x_glink_debug: qcom,pmih010x-debug@7 {
|
||||||
|
compatible = "qcom,spmi-pmic";
|
||||||
|
reg = <0x7 SPMI_USID>;
|
||||||
|
qcom,can-sleep;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
pmic_glink_adc: qcom,glink-adc {
|
||||||
|
compatible = "qcom,glink-adc";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
#io-channel-cells = <1>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
thermal_zones: thermal-zones {
|
thermal_zones: thermal-zones {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user