blob: f81b01d329ed1005fa0e7e8328d9bc9fab551498 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
Cirrus Logic Madera class audio codecs gpio driver
These codecs have a set of configurable GPIO pins. The bindings here configure
the driver that provides access to these GPIOs.
See also
- the core bindings for the parent MFD driver:
See Documentation/devicetree/bindings/mfd/madera.txt
- the pinctrl bindings for these codecs
See Documentation/devicetree/bindings/pinctrl/cirrus,madera-pinctrl.txt
Required properties:
- compatible : must be "cirrus,madera-gpio"
- gpio-controller : Indicates this device is a GPIO controller.
- #gpio-cells : Must be 2. The first cell is the pin number. The second cell
is reserved for future use and must be zero
Optional properties:
- gpio-line-names : as described in bindings/gpio/gpio.txt
Example:
cs47l85@0 {
compatible = "cirrus,cs47l85";
gpio-controller;
#gpio-cells = <2>;
};
|