mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-02 08:32:55 +00:00

Everything in i2c.txt is covered by schemas/i2c/i2c-controller.yaml in dtschema project, so remove i2c.txt and update links to it in the tree. Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Acked-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20240222174343.3482354-2-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org>
23 lines
593 B
Plaintext
23 lines
593 B
Plaintext
Cirrus Logic CS4341 audio DAC
|
|
|
|
This device supports both I2C and SPI (configured with pin strapping
|
|
on the board).
|
|
|
|
Required properties:
|
|
- compatible: "cirrus,cs4341a"
|
|
- reg : the I2C address of the device for I2C, the chip select
|
|
number for SPI.
|
|
|
|
For required properties on I2C-bus, please consult
|
|
dtschema schemas/i2c/i2c-controller.yaml
|
|
For required properties on SPI-bus, please consult
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Example:
|
|
codec: cs4341@0 {
|
|
#sound-dai-cells = <0>;
|
|
compatible = "cirrus,cs4341a";
|
|
reg = <0>;
|
|
spi-max-frequency = <6000000>;
|
|
};
|