^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Cirrus Logic/Wolfson Microelectronics wm831x PMICs
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) System PMICs with a wide range of additional features.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - compatible : One of the following chip-specific strings:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) "wlf,wm8310"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) "wlf,wm8311"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) "wlf,wm8312"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) "wlf,wm8320"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) "wlf,wm8321"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) "wlf,wm8325"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) "wlf,wm8326"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - reg : I2C slave address when connected using I2C, chip select number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) when using SPI.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - gpio-controller : Indicates this device is a GPIO controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) - #gpio-cells : Must be 2. The first cell is the pin number and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) second cell is used to specify optional parameters (currently unused).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) - interrupts : The interrupt line the IRQ signal for the device is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) connected to.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) - interrupt-controller : wm831x devices contain interrupt controllers and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) may provide interrupt services to other devices.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) - #interrupt-cells: Must be 2. The first cell is the IRQ number, and the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) second cell is the flags, encoded as the trigger masks from
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) ../interrupt-controller/interrupts.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) Optional sub-nodes:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) - phys : Contains a phandle to the USB PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) - regulators : Contains sub-nodes for each of the regulators supplied by
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) the device. The regulators are bound using their names listed below:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) dcdc1 : DCDC1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) dcdc2 : DCDC2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) dcdc3 : DCDC3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) dcdc4 : DCDC3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) isink1 : ISINK1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) isink2 : ISINK2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) ldo1 : LDO1
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) ldo2 : LDO2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) ldo3 : LDO3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) ldo4 : LDO4
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) ldo5 : LDO5
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) ldo7 : LDO7
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) ldo11 : LDO11
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) The bindings details of each regulator can be found in:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) ../regulator/regulator.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) wm8310: pmic@36 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) compatible = "wlf,wm8310";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) reg = <0x36>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) gpio-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) #gpio-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) interrupts = <347>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) interrupt-parent = <&gic>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) interrupt-controller;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) #interrupt-cells = <2>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) regulators {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) dcdc1: dcdc1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) regulator-name = "DCDC1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) regulator-min-microvolt = <600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) regulator-max-microvolt = <600000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) ldo1: ldo1 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) regulator-name = "LDO1";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) regulator-min-microvolt = <1700000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) regulator-max-microvolt = <1700000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) };