ARM: dts: msm: add PMIC support for sdxkova
sdxkova uses PMK8550, PM7550BA and PMX75. Add SPMI slave device and some of the peripheral devices for PMX75. Update PMIC overlay file to add devices from these PMICs that are common for all sdxkova platforms. Also add PM7550BA-related configurations required for the IDP MBB platform. Add spmi_debug_bus so that PMIC peripherals can be accessed via debug bus on sdxkova devices where the fuse is not blown. This is useful for debugging. 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: I6dc40cc36a46c1b34edd274655306dadd3143ebf Signed-off-by: Jishnu Prakash <quic_jprakash@quicinc.com>
This commit is contained in:
87
qcom/pmx75.dtsi
Normal file
87
qcom/pmx75.dtsi
Normal file
@@ -0,0 +1,87 @@
|
||||
// SPDX-License-Identifier: BSD-3-Clause
|
||||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*/
|
||||
|
||||
#include <dt-bindings/interrupt-controller/irq.h>
|
||||
#include <dt-bindings/spmi/spmi.h>
|
||||
|
||||
&spmi_bus {
|
||||
#address-cells = <2>;
|
||||
#size-cells = <0>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <4>;
|
||||
|
||||
qcom,pmx75@1 {
|
||||
compatible = "qcom,spmi-pmic";
|
||||
reg = <1 SPMI_USID>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
pmx75_tz: qcom,temp-alarm@a00 {
|
||||
compatible = "qcom,spmi-temp-alarm";
|
||||
reg = <0xa00>;
|
||||
interrupts = <0x1 0xa 0x0 IRQ_TYPE_EDGE_BOTH>;
|
||||
#thermal-sensor-cells = <0>;
|
||||
};
|
||||
|
||||
pmx75_vbus_detect: qcom,pmd-vbus-det@1500 {
|
||||
compatible = "qcom,pm8941-misc";
|
||||
reg = <0x1500>;
|
||||
interrupts = <0x1 0x15 0x0 IRQ_TYPE_EDGE_BOTH>;
|
||||
interrupt-names = "usb_vbus";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pmx75_gpios: pinctrl@8800 {
|
||||
compatible = "qcom,pmx75-gpio";
|
||||
reg = <0x8800>;
|
||||
gpio-controller;
|
||||
#gpio-cells = <2>;
|
||||
interrupt-controller;
|
||||
#interrupt-cells = <2>;
|
||||
};
|
||||
|
||||
pmx75_pwm: pwms@e800 {
|
||||
compatible = "qcom,pwm-lpg";
|
||||
reg = <0xe800>;
|
||||
reg-names = "lpg-base";
|
||||
#pwm-cells = <2>;
|
||||
qcom,num-lpg-channels = <4>;
|
||||
};
|
||||
|
||||
pmx75_eusb2_repeater: qcom,eusb2-repeater@fd00 {
|
||||
compatible = "qcom,pmic-eusb2-repeater";
|
||||
reg = <0xfd00>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
&thermal_zones {
|
||||
pmx75_temp_alarm: pmx75_tz {
|
||||
polling-delay-passive = <100>;
|
||||
polling-delay = <0>;
|
||||
thermal-sensors = <&pmx75_tz>;
|
||||
|
||||
trips {
|
||||
pmx75_trip0: trip0 {
|
||||
temperature = <95000>;
|
||||
hysteresis = <0>;
|
||||
type = "passive";
|
||||
};
|
||||
|
||||
pmx75_trip1: trip1 {
|
||||
temperature = <115000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
|
||||
pmx75_trip2: trip2 {
|
||||
temperature = <145000>;
|
||||
hysteresis = <0>;
|
||||
type = "critical";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user