linux/Documentation/devicetree/bindings/mfd/palmas.txt
<<
>>
Prefs
   1* palmas device tree bindings
   2
   3The TI palmas family current members :-
   4twl6035 (palmas)
   5twl6037 (palmas)
   6tps65913 (palmas)
   7tps65914 (palmas)
   8
   9Required properties:
  10- compatible : Should be from the list
  11  ti,twl6035
  12  ti,twl6036
  13  ti,twl6037
  14  ti,tps65913
  15  ti,tps65914
  16  ti,tps80036
  17and also the generic series names
  18  ti,palmas
  19- interrupt-controller : palmas has its own internal IRQs
  20- #interrupt-cells : should be set to 2 for IRQ number and flags
  21  The first cell is the IRQ number.
  22  The second cell is the flags, encoded as the trigger masks from
  23  Documentation/devicetree/bindings/interrupts.txt
  24- interrupt-parent : The parent interrupt controller.
  25
  26Optional properties:
  27  ti,mux-padX : set the pad register X (1-2) to the correct muxing for the
  28                hardware, if not set will use muxing in OTP.
  29
  30Example:
  31
  32palmas {
  33        compatible = "ti,twl6035", "ti,palmas";
  34        reg = <0x48>
  35        interrupt-parent = <&intc>;
  36        interrupt-controller;
  37        #interrupt-cells = <2>;
  38
  39        ti,mux-pad1 = <0>;
  40        ti,mux-pad2 = <0>;
  41
  42        #address-cells = <1>;
  43        #size-cells = <0>;
  44
  45        pmic {
  46                compatible = "ti,twl6035-pmic", "ti,palmas-pmic";
  47                ....
  48        };
  49}
  50