kernel-brax3-ubuntu-touch/Documentation/devicetree/bindings/spmi/spmi-mtk-pmif.txt
erascape f319b992b1 kernel-5.15: Initial import brax3 UT kernel
* halium configs enabled

Signed-off-by: erascape <erascape@proton.me>
2025-09-23 15:17:10 +00:00

35 lines
1.1 KiB
Text

Mediatek SPMI Controller
This document describes the binding for the MediaTek SPMI controller.
On MediaTek SoCs the PMIC is connected via SPMI and the controller allows
for multiple SoCs to control a single SPMI master.
Required properties:
- compatible :
"mediatek,mt6853-spmi" for MT6853 SoCs
"mediatek,mt6873-spmi" for MT6873 SoCs
- reg-names : must contain:
"pmif" - pmif registers
"spmimst" - spmi controller registers
- reg: Must contain an entry for each entry in reg-names.
- clock-names: Must include the following entries:
"pmif_sys_ck": pmif system clock
"pmif_tmr_ck": pmif timer clock
"spmimst_clk_mux": spmi master clk mux
- clocks: Must contain an entry for each entry in clock-names.
Example:
spmi: spmi@10027000 {
compatible = "mediatek,mt6873-spmi";
reg = <0 0x10027000 0 0x000e00>,
<0 0x10029000 0 0x000100>;
reg-names = "pmif", "spmimst";
clocks = <&infracfg CLK_INFRA_PMIC_AP>,
<&infracfg CLK_INFRA_PMIC_TMR>,
<&topckgen CLK_TOP_SPMI_MST_SEL>;
clock-names = "pmif_sys_ck",
"pmif_tmr_ck",
"spmimst_clk_mux";
};