1a31ebc34SDaniel MackCirrus Logic CS4271 DT bindings
2a31ebc34SDaniel Mack
3a31ebc34SDaniel MackThis driver supports both the I2C and the SPI bus.
4a31ebc34SDaniel Mack
5a31ebc34SDaniel MackRequired properties:
6a31ebc34SDaniel Mack
7a31ebc34SDaniel Mack - compatible: "cirrus,cs4271"
8a31ebc34SDaniel Mack
9a31ebc34SDaniel MackFor required properties on SPI, please consult
10a31ebc34SDaniel MackDocumentation/devicetree/bindings/spi/spi-bus.txt
11a31ebc34SDaniel Mack
12a31ebc34SDaniel MackRequired properties on I2C:
13a31ebc34SDaniel Mack
14a31ebc34SDaniel Mack - reg: the i2c address
15a31ebc34SDaniel Mack
16a31ebc34SDaniel Mack
17a31ebc34SDaniel MackOptional properties:
18a31ebc34SDaniel Mack
19a31ebc34SDaniel Mack - reset-gpio: 	a GPIO spec to define which pin is connected to the chip's
20a31ebc34SDaniel Mack		!RESET pin
21293750f9SDaniel Mack - cirrus,amuteb-eq-bmutec:	When given, the Codec's AMUTEB=BMUTEC flag
22293750f9SDaniel Mack				is enabled.
23a31ebc34SDaniel Mack
24a31ebc34SDaniel MackExamples:
25a31ebc34SDaniel Mack
26a31ebc34SDaniel Mack	codec_i2c: cs4271@10 {
27a31ebc34SDaniel Mack		compatible = "cirrus,cs4271";
28a31ebc34SDaniel Mack		reg = <0x10>;
29a31ebc34SDaniel Mack		reset-gpio = <&gpio 23 0>;
30a31ebc34SDaniel Mack	};
31a31ebc34SDaniel Mack
32a31ebc34SDaniel Mack	codec_spi: cs4271@0 {
33a31ebc34SDaniel Mack		compatible = "cirrus,cs4271";
34a31ebc34SDaniel Mack		reg = <0x0>;
35a31ebc34SDaniel Mack		reset-gpio = <&gpio 23 0>;
36a31ebc34SDaniel Mack		spi-max-frequency = <6000000>;
37a31ebc34SDaniel Mack	};
38a31ebc34SDaniel Mack
39