mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
293750f9bc
The CS4271 has a feature to sync its analog mute flags, so one mute circuitry can be used for both channels. Give users access to this feature with a new DT property and a flag in the platform data. Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
39 lines
744 B
Plaintext
39 lines
744 B
Plaintext
Cirrus Logic CS4271 DT bindings
|
|
|
|
This driver supports both the I2C and the SPI bus.
|
|
|
|
Required properties:
|
|
|
|
- compatible: "cirrus,cs4271"
|
|
|
|
For required properties on SPI, please consult
|
|
Documentation/devicetree/bindings/spi/spi-bus.txt
|
|
|
|
Required properties on I2C:
|
|
|
|
- reg: the i2c address
|
|
|
|
|
|
Optional properties:
|
|
|
|
- reset-gpio: a GPIO spec to define which pin is connected to the chip's
|
|
!RESET pin
|
|
- cirrus,amuteb-eq-bmutec: When given, the Codec's AMUTEB=BMUTEC flag
|
|
is enabled.
|
|
|
|
Examples:
|
|
|
|
codec_i2c: cs4271@10 {
|
|
compatible = "cirrus,cs4271";
|
|
reg = <0x10>;
|
|
reset-gpio = <&gpio 23 0>;
|
|
};
|
|
|
|
codec_spi: cs4271@0 {
|
|
compatible = "cirrus,cs4271";
|
|
reg = <0x0>;
|
|
reset-gpio = <&gpio 23 0>;
|
|
spi-max-frequency = <6000000>;
|
|
};
|
|
|