Merge remote-tracking branches 'asoc/topic/cs35l35', 'asoc/topic/cs53l30', 'asoc...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / mfd / motorola-cpcap.txt
1 Motorola CPCAP PMIC device tree binding
2
3 Required properties:
4 - compatible            : One or both of "motorola,cpcap" or "ste,6556002"
5 - reg                   : SPI chip select
6 - interrupt-parent      : 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 - #address-cells        : Child device offset number of cells, should be 1
11 - #size-cells           : Child device size number of cells, should be 0
12 - spi-max-frequency     : Typically set to 3000000
13 - spi-cs-high           : SPI chip select direction
14
15 Example:
16
17 &mcspi1 {
18         cpcap: pmic@0 {
19                 compatible = "motorola,cpcap", "ste,6556002";
20                 reg = <0>;      /* cs0 */
21                 interrupt-parent = <&gpio1>;
22                 interrupts = <7 IRQ_TYPE_EDGE_RISING>;
23                 interrupt-controller;
24                 #interrupt-cells = <2>;
25                 #address-cells = <1>;
26                 #size-cells = <0>;
27                 spi-max-frequency = <3000000>;
28                 spi-cs-high;
29         };
30 };
31