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:
Jishnu Prakash
2024-07-29 15:41:35 +05:30
parent 218d7537b5
commit d286c97fef
5 changed files with 607 additions and 1 deletions

View File

@@ -3,8 +3,9 @@
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include "sdxkova-pmic-overlay.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include "sdxkova-pmic-overlay.dtsi"
#include "pm7550ba.dtsi"
&sdhc_1 {
status = "disabled";
@@ -28,3 +29,39 @@
operating-points-v2 = <&sdhc2_opp_table>;
};
&pmk8550_vadc {
/* PM8550BA Channel nodes */
pm7550ba_offset_ref {
status = "ok";
};
pm7550ba_vref_1p25 {
status = "ok";
};
pm7550ba_die_temp {
status = "ok";
};
pm7550ba_vph_pwr {
status = "ok";
};
pm7550ba_chg_temp {
status = "ok";
};
pm7550ba_iin_fb {
status = "ok";
};
pm7550ba_ichg_fb {
status = "ok";
};
};
&pm7550ba_tz {
io-channels = <&pmk8550_vadc PM7550BA_ADC5_GEN3_DIE_TEMP>;
io-channel-names = "thermal";
};