Skip to content

Commit 935e5bd

Browse files
andredkrzk
authored andcommitted
dt-bindings: firmware: google,gs101-acpm-ipc: add PMIC child node
The PMIC is supposed to be a child of ACPM, add it here to describe the connection. Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: André Draszik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 2d14c68 commit 935e5bd

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

Documentation/devicetree/bindings/firmware/google,gs101-acpm-ipc.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@ properties:
2727
mboxes:
2828
maxItems: 1
2929

30+
pmic:
31+
description: Child node describing the main PMIC.
32+
type: object
33+
additionalProperties: true
34+
35+
properties:
36+
compatible:
37+
const: samsung,s2mpg10-pmic
38+
3039
shmem:
3140
description:
3241
List of phandle pointing to the shared memory (SHM) area. The memory
@@ -43,8 +52,34 @@ additionalProperties: false
4352

4453
examples:
4554
- |
55+
#include <dt-bindings/interrupt-controller/irq.h>
56+
4657
power-management {
4758
compatible = "google,gs101-acpm-ipc";
4859
mboxes = <&ap2apm_mailbox>;
4960
shmem = <&apm_sram>;
61+
62+
pmic {
63+
compatible = "samsung,s2mpg10-pmic";
64+
interrupts-extended = <&gpa0 6 IRQ_TYPE_LEVEL_LOW>;
65+
66+
regulators {
67+
LDO1 {
68+
regulator-name = "vdd_ldo1";
69+
regulator-min-microvolt = <700000>;
70+
regulator-max-microvolt = <1300000>;
71+
regulator-always-on;
72+
};
73+
74+
// ...
75+
76+
BUCK1 {
77+
regulator-name = "vdd_mif";
78+
regulator-min-microvolt = <450000>;
79+
regulator-max-microvolt = <1300000>;
80+
regulator-always-on;
81+
regulator-boot-on;
82+
};
83+
};
84+
};
5085
};

0 commit comments

Comments
 (0)