Skip to content

Commit cb98b8a

Browse files
andredkrzk
authored andcommitted
arm64: dts: exynos: gs101-pixel-common: add main PMIC node
On Pixel 6 (and Pro), a Samsung S2MPG10 is used as main PMIC, which contains the following functional blocks: * common / speedy interface * regulators * 3 clock outputs * RTC * power meters * GPIO interfaces This change enables the PMIC itself and the RTC. We're still working on the remaining parts or waiting for bindings to be merged, hence only a small subset of the functional is being enabled. The regulators fall into the same category (still being finalised), but since the binding requires a 'regulators' node, an empty node is being added to avoid validation errors at this stage. Signed-off-by: André Draszik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 4292564 commit cb98b8a

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

arch/arm64/boot/dts/exynos/google/gs101-pixel-common.dtsi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,19 @@
100100
};
101101
};
102102

103+
&acpm_ipc {
104+
pmic {
105+
compatible = "samsung,s2mpg10-pmic";
106+
interrupts-extended = <&gpa0 6 IRQ_TYPE_LEVEL_LOW>;
107+
pinctrl-names = "default";
108+
pinctrl-0 = <&pmic_int>;
109+
wakeup-source;
110+
111+
regulators {
112+
};
113+
};
114+
};
115+
103116
&ext_24_5m {
104117
clock-frequency = <24576000>;
105118
};
@@ -290,6 +303,12 @@
290303
};
291304

292305
&pinctrl_gpio_alive {
306+
pmic_int: pmic-int-pins {
307+
samsung,pins = "gpa0-6";
308+
samsung,pin-function = <GS101_PIN_FUNC_EINT>;
309+
samsung,pin-pud = <GS101_PIN_PULL_NONE>;
310+
};
311+
293312
key_power: key-power-pins {
294313
samsung,pins = "gpa10-1";
295314
samsung,pin-function = <GS101_PIN_FUNC_EINT>;

0 commit comments

Comments
 (0)