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

mfd: Add DT binding for Maxim MAX77802 IC

The MAX77802 is a chip that contains regulators, 2 32kHz clocks,
a RTC and an I2C interface to program the individual components.

The are already DT bindings for the regulators and clocks and
these reference to a bindings/mfd/max77802.txt file, that didn't
exist, for the details about the PMIC.

Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Javier Martinez Canillas and committed by
Lee Jones
00f1493e 00d68916

+26
+26
Documentation/devicetree/bindings/mfd/max77802.txt
··· 1 + Maxim MAX77802 multi-function device 2 + 3 + The Maxim MAX77802 is a Power Management IC (PMIC) that contains 10 high 4 + efficiency Buck regulators, 32 Low-DropOut (LDO) regulators used to power 5 + up application processors and peripherals, a 2-channel 32kHz clock outputs, 6 + a Real-Time-Clock (RTC) and a I2C interface to program the individual 7 + regulators, clocks outputs and the RTC. 8 + 9 + Bindings for the built-in 32k clock generator block and 10 + regulators are defined in ../clk/maxim,max77802.txt and 11 + ../regulator/max77802.txt respectively. 12 + 13 + Required properties: 14 + - compatible : Must be "maxim,max77802" 15 + - reg : Specifies the I2C slave address of PMIC block. 16 + - interrupts : I2C device IRQ line connected to the main SoC. 17 + - interrupt-parent : The parent interrupt controller. 18 + 19 + Example: 20 + 21 + max77802: pmic@09 { 22 + compatible = "maxim,max77802"; 23 + interrupt-parent = <&intc>; 24 + interrupts = <26 IRQ_TYPE_NONE>; 25 + reg = <0x09>; 26 + };