Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: s2mps11: Add binding documentation for Samsung S2MPS13 PMIC

This patch adds the binding documentation for Samsung S2MPS13 PMIC
which is similiar with existing S2MPS14 PMIC. S2MPS13 has the different number
of regulators from S2MPS14 and RTC/Clock is the same with the S2MPS14.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Acked-by: Sangbeom Kim <sbkim73@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Chanwoo Choi and committed by
Lee Jones
159a5e92 f928b53d

+12 -10
+12 -10
Documentation/devicetree/bindings/mfd/s2mps11.txt
··· 1 1 2 - * Samsung S2MPS11, S2MPS14 and S2MPU02 Voltage and Current Regulator 2 + * Samsung S2MPS11, S2MPS13, S2MPS14 and S2MPU02 Voltage and Current Regulator 3 3 4 4 The Samsung S2MPS11 is a multi-function device which includes voltage and 5 5 current regulators, RTC, charger controller and other sub-blocks. It is ··· 7 7 addressed by the host system using different I2C slave addresses. 8 8 9 9 Required properties: 10 - - compatible: Should be "samsung,s2mps11-pmic" or "samsung,s2mps14-pmic" 11 - or "samsung,s2mpu02-pmic". 10 + - compatible: Should be "samsung,s2mps11-pmic" or "samsung,s2mps13-pmic" 11 + or "samsung,s2mps14-pmic" or "samsung,s2mpu02-pmic". 12 12 - reg: Specifies the I2C slave address of the pmic block. It should be 0x66. 13 13 14 14 Optional properties: ··· 17 17 - interrupts: Interrupt specifiers for interrupt sources. 18 18 19 19 Optional nodes: 20 - - clocks: s2mps11 and s5m8767 provide three(AP/CP/BT) buffered 32.768 KHz 21 - outputs, so to register these as clocks with common clock framework 20 + - clocks: s2mps11, s2mps13 and s5m8767 provide three(AP/CP/BT) buffered 32.768 21 + KHz outputs, so to register these as clocks with common clock framework 22 22 instantiate a sub-node named "clocks". It uses the common clock binding 23 23 documented in : 24 24 [Documentation/devicetree/bindings/clock/clock-bindings.txt] ··· 30 30 the clock which they consume. 31 31 Clock ID Devices 32 32 ---------------------------------------------------------- 33 - 32KhzAP 0 S2MPS11, S2MPS14, S5M8767 34 - 32KhzCP 1 S2MPS11, S5M8767 35 - 32KhzBT 2 S2MPS11, S2MPS14, S5M8767 33 + 32KhzAP 0 S2MPS11, S2MPS13, S2MPS14, S5M8767 34 + 32KhzCP 1 S2MPS11, S2MPS13, S5M8767 35 + 32KhzBT 2 S2MPS11, S2MPS13, S2MPS14, S5M8767 36 36 37 - - compatible: Should be one of: "samsung,s2mps11-clk", "samsung,s2mps14-clk", 38 - "samsung,s5m8767-clk" 37 + - compatible: Should be one of: "samsung,s2mps11-clk", "samsung,s2mps13-clk", 38 + "samsung,s2mps14-clk", "samsung,s5m8767-clk" 39 39 40 40 - regulators: The regulators of s2mps11 that have to be instantiated should be 41 41 included in a sub-node named 'regulators'. Regulator nodes included in this ··· 81 81 - LDOn 82 82 - valid values for n are: 83 83 - S2MPS11: 1 to 38 84 + - S2MPS13: 1 to 40 84 85 - S2MPS14: 1 to 25 85 86 - S2MPU02: 1 to 28 86 87 - Example: LDO1, LDO2, LDO28 87 88 - BUCKn 88 89 - valid values for n are: 89 90 - S2MPS11: 1 to 10 91 + - S2MPS13: 1 to 10 90 92 - S2MPS14: 1 to 5 91 93 - S2MPU02: 1 to 7 92 94 - Example: BUCK1, BUCK2, BUCK9