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

mfd: Add ROHM BD9571MWV-M PMIC DT bindings

Add DT bindings for the ROHM BD9571MWV-M PMIC. This PMIC has
the following features:
- multiple voltage monitors for 1V8, 2V5, 3V3 voltage rail
- one voltage regulator for DVFS
- two GPIOs

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>

authored by

Marek Vasut and committed by
Lee Jones
e10feb36 1ae14f8e

+49
+49
Documentation/devicetree/bindings/mfd/bd9571mwv.txt
··· 1 + * ROHM BD9571MWV Power Management Integrated Circuit (PMIC) bindings 2 + 3 + Required properties: 4 + - compatible : Should be "rohm,bd9571mwv". 5 + - reg : I2C slave address. 6 + - interrupt-parent : Phandle to the parent interrupt controller. 7 + - interrupts : The interrupt line the device is connected to. 8 + - interrupt-controller : Marks the device node as an interrupt controller. 9 + - #interrupt-cells : The number of cells to describe an IRQ, should be 2. 10 + The first cell is the IRQ number. 11 + The second cell is the flags, encoded as trigger 12 + masks from ../interrupt-controller/interrupts.txt. 13 + - gpio-controller : Marks the device node as a GPIO Controller. 14 + - #gpio-cells : Should be two. The first cell is the pin number and 15 + the second cell is used to specify flags. 16 + See ../gpio/gpio.txt for more information. 17 + - regulators: : List of child nodes that specify the regulator 18 + initialization data. Child nodes must be named 19 + after their hardware counterparts: 20 + - vd09 21 + - vd18 22 + - vd25 23 + - vd33 24 + - dvfs 25 + Each child node is defined using the standard 26 + binding for regulators. 27 + 28 + Example: 29 + 30 + pmic: pmic@30 { 31 + compatible = "rohm,bd9571mwv"; 32 + reg = <0x30>; 33 + interrupt-parent = <&gpio2>; 34 + interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 35 + interrupt-controller; 36 + #interrupt-cells = <2>; 37 + gpio-controller; 38 + #gpio-cells = <2>; 39 + 40 + regulators { 41 + dvfs: dvfs { 42 + regulator-name = "dvfs"; 43 + regulator-min-microvolt = <750000>; 44 + regulator-max-microvolt = <1030000>; 45 + regulator-boot-on; 46 + regulator-always-on; 47 + }; 48 + }; 49 + };