Skip to content

Commit 271bb17

Browse files
Thomas AbrahamLee Jones
authored andcommitted
bindings: mfd: s2mps11: Add documentation for s2mps15 PMIC
Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device is similar to s2mps11/14 PMIC device and has 27 LDO and 10 buck regulators. This also supports RTC and three 32.768KHz clock outputs. Signed-off-by: Thomas Abraham <thomas.ab@samsung.com> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
1 parent 644a374 commit 271bb17

1 file changed

Lines changed: 14 additions & 7 deletions

File tree

‎Documentation/devicetree/bindings/mfd/s2mps11.txt‎

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
11

2-
* Samsung S2MPS11, S2MPS13, S2MPS14 and S2MPU02 Voltage and Current Regulator
2+
* Samsung S2MPS11/13/14/15 and S2MPU02 Voltage and Current Regulator
33

44
The Samsung S2MPS11 is a multi-function device which includes voltage and
55
current regulators, RTC, charger controller and other sub-blocks. It is
66
interfaced to the host controller using an I2C interface. Each sub-block is
77
addressed by the host system using different I2C slave addresses.
88

99
Required properties:
10-
- compatible: Should be "samsung,s2mps11-pmic" or "samsung,s2mps13-pmic"
11-
or "samsung,s2mps14-pmic" or "samsung,s2mpu02-pmic".
10+
- compatible: Should be one of the following
11+
- "samsung,s2mps11-pmic"
12+
- "samsung,s2mps13-pmic"
13+
- "samsung,s2mps14-pmic"
14+
- "samsung,s2mps15-pmic"
15+
- "samsung,s2mpu02-pmic".
1216
- reg: Specifies the I2C slave address of the pmic block. It should be 0x66.
1317

1418
Optional properties:
@@ -20,7 +24,7 @@ Optional properties:
2024
unwanted buck warm reset (setting buck voltages to default values).
2125

2226
Optional nodes:
23-
- clocks: s2mps11, s2mps13 and s5m8767 provide three(AP/CP/BT) buffered 32.768
27+
- clocks: s2mps11, s2mps13, s2mps15 and s5m8767 provide three(AP/CP/BT) buffered 32.768
2428
KHz outputs, so to register these as clocks with common clock framework
2529
instantiate a sub-node named "clocks". It uses the common clock binding
2630
documented in :
@@ -33,12 +37,13 @@ Optional nodes:
3337
the clock which they consume.
3438
Clock ID Devices
3539
----------------------------------------------------------
36-
32KhzAP 0 S2MPS11, S2MPS13, S2MPS14, S5M8767
37-
32KhzCP 1 S2MPS11, S2MPS13, S5M8767
38-
32KhzBT 2 S2MPS11, S2MPS13, S2MPS14, S5M8767
40+
32KhzAP 0 S2MPS11, S2MPS13, S2MPS14, S2MPS15, S5M8767
41+
32KhzCP 1 S2MPS11, S2MPS13, S2MPS15, S5M8767
42+
32KhzBT 2 S2MPS11, S2MPS13, S2MPS14, S2MPS15, S5M8767
3943

4044
- compatible: Should be one of: "samsung,s2mps11-clk", "samsung,s2mps13-clk",
4145
"samsung,s2mps14-clk", "samsung,s5m8767-clk"
46+
The s2msp15 uses the same compatible as s2mps13, as both provides similar clocks.
4247

4348
- regulators: The regulators of s2mps11 that have to be instantiated should be
4449
included in a sub-node named 'regulators'. Regulator nodes included in this
@@ -86,13 +91,15 @@ as per the datasheet of s2mps11.
8691
- S2MPS11: 1 to 38
8792
- S2MPS13: 1 to 40
8893
- S2MPS14: 1 to 25
94+
- S2MPS15: 1 to 27
8995
- S2MPU02: 1 to 28
9096
- Example: LDO1, LDO2, LDO28
9197
- BUCKn
9298
- valid values for n are:
9399
- S2MPS11: 1 to 10
94100
- S2MPS13: 1 to 10
95101
- S2MPS14: 1 to 5
102+
- S2MPS15: 1 to 10
96103
- S2MPU02: 1 to 7
97104
- Example: BUCK1, BUCK2, BUCK9
98105

0 commit comments

Comments
 (0)