Back to home page

OSCL-LXR

 
 

    


0001 Cirrus Logic/Wolfson Microelectronics wm831x PMICs
0002 
0003 System PMICs with a wide range of additional features.
0004 
0005 Required properties:
0006 
0007   - compatible : One of the following chip-specific strings:
0008         "wlf,wm8310"
0009         "wlf,wm8311"
0010         "wlf,wm8312"
0011         "wlf,wm8320"
0012         "wlf,wm8321"
0013         "wlf,wm8325"
0014         "wlf,wm8326"
0015 
0016   - reg : I2C slave address when connected using I2C, chip select number
0017     when using SPI.
0018 
0019   - gpio-controller : Indicates this device is a GPIO controller.
0020   - #gpio-cells : Must be 2. The first cell is the pin number and the
0021     second cell is used to specify optional parameters (currently unused).
0022 
0023   - interrupts : The interrupt line the IRQ signal for the device is
0024     connected to.
0025 
0026   - interrupt-controller : wm831x devices contain interrupt controllers and
0027     may provide interrupt services to other devices.
0028   - #interrupt-cells: Must be 2. The first cell is the IRQ number, and the
0029     second cell is the flags, encoded as the trigger masks from
0030     ../interrupt-controller/interrupts.txt
0031 
0032 Optional sub-nodes:
0033   - phys : Contains a phandle to the USB PHY.
0034   - regulators : Contains sub-nodes for each of the regulators supplied by
0035     the device. The regulators are bound using their names listed below:
0036 
0037     dcdc1 : DCDC1
0038     dcdc2 : DCDC2
0039     dcdc3 : DCDC3
0040     dcdc4 : DCDC3
0041     isink1 : ISINK1
0042     isink2 : ISINK2
0043     ldo1 : LDO1
0044     ldo2 : LDO2
0045     ldo3 : LDO3
0046     ldo4 : LDO4
0047     ldo5 : LDO5
0048     ldo7 : LDO7
0049     ldo11 : LDO11
0050 
0051     The bindings details of each regulator can be found in:
0052     ../regulator/regulator.txt
0053 
0054 Example:
0055 
0056 wm8310: pmic@36 {
0057         compatible = "wlf,wm8310";
0058         reg = <0x36>;
0059 
0060         gpio-controller;
0061         #gpio-cells = <2>;
0062 
0063         interrupts = <347>;
0064         interrupt-parent = <&gic>;
0065 
0066         interrupt-controller;
0067         #interrupt-cells = <2>;
0068 
0069         regulators {
0070                 dcdc1: dcdc1 {
0071                         regulator-name = "DCDC1";
0072                         regulator-min-microvolt = <600000>;
0073                         regulator-max-microvolt = <600000>;
0074                 };
0075                 ldo1: ldo1 {
0076                         regulator-name = "LDO1";
0077                         regulator-min-microvolt = <1700000>;
0078                         regulator-max-microvolt = <1700000>;
0079                 };
0080         };
0081 };