Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
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>;
|
|
};
|