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