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