2016-01-09 23:38:04 +00:00
|
|
|
Texas Instruments pcm179x DT bindings
|
2013-08-03 14:20:43 +00:00
|
|
|
|
2016-01-22 12:39:54 +00:00
|
|
|
This driver supports both the I2C and SPI bus.
|
2013-08-03 14:20:43 +00:00
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
|
|
|
- compatible: "ti,pcm1792a"
|
|
|
|
|
|
|
|
For required properties on SPI, please consult
|
|
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
|
2016-01-22 12:39:54 +00:00
|
|
|
Required properties on I2C:
|
|
|
|
|
|
|
|
- reg: the I2C address
|
|
|
|
|
|
|
|
|
2013-08-03 14:20:43 +00:00
|
|
|
Examples:
|
|
|
|
|
|
|
|
codec_spi: 1792a@0 {
|
|
|
|
compatible = "ti,pcm1792a";
|
|
|
|
spi-max-frequency = <600000>;
|
|
|
|
};
|
|
|
|
|
2016-01-22 12:39:54 +00:00
|
|
|
codec_i2c: 1792a@4c {
|
|
|
|
compatible = "ti,pcm1792a";
|
|
|
|
reg = <0x4c>;
|
|
|
|
};
|