Commit | Line | Data |
---|---|---|
a31ebc34 DM |
1 | Cirrus Logic CS4271 DT bindings |
2 | ||
3 | This driver supports both the I2C and the SPI bus. | |
4 | ||
5 | Required properties: | |
6 | ||
7 | - compatible: "cirrus,cs4271" | |
8 | ||
9 | For required properties on SPI, please consult | |
10 | Documentation/devicetree/bindings/spi/spi-bus.txt | |
11 | ||
12 | Required properties on I2C: | |
13 | ||
14 | - reg: the i2c address | |
15 | ||
16 | ||
17 | Optional properties: | |
18 | ||
19 | - reset-gpio: a GPIO spec to define which pin is connected to the chip's | |
20 | !RESET pin | |
293750f9 DM |
21 | - cirrus,amuteb-eq-bmutec: When given, the Codec's AMUTEB=BMUTEC flag |
22 | is enabled. | |
a31ebc34 DM |
23 | |
24 | Examples: | |
25 | ||
26 | codec_i2c: cs4271@10 { | |
27 | compatible = "cirrus,cs4271"; | |
28 | reg = <0x10>; | |
29 | reset-gpio = <&gpio 23 0>; | |
30 | }; | |
31 | ||
32 | codec_spi: cs4271@0 { | |
33 | compatible = "cirrus,cs4271"; | |
34 | reg = <0x0>; | |
35 | reset-gpio = <&gpio 23 0>; | |
36 | spi-max-frequency = <6000000>; | |
37 | }; | |
38 |