mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 02:25:21 +07:00
70e3e56e6c
The PCM179x family supports both SPI and I2C. This patch adds support for the I2C interface. Signed-off-by: Jacob Siverskog <jacob@teenage.engineering> Reviewed-by: Johan Hovold <johan@kernel.org> Acked-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Mark Brown <broonie@kernel.org>
28 lines
465 B
Plaintext
28 lines
465 B
Plaintext
Texas Instruments pcm179x DT bindings
|
|
|
|
This driver supports both the I2C and SPI bus.
|
|
|
|
Required properties:
|
|
|
|
- compatible: "ti,pcm1792a"
|
|
|
|
For required properties on SPI, please consult
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Required properties on I2C:
|
|
|
|
- reg: the I2C address
|
|
|
|
|
|
Examples:
|
|
|
|
codec_spi: 1792a@0 {
|
|
compatible = "ti,pcm1792a";
|
|
spi-max-frequency = <600000>;
|
|
};
|
|
|
|
codec_i2c: 1792a@4c {
|
|
compatible = "ti,pcm1792a";
|
|
reg = <0x4c>;
|
|
};
|