Unverified Commit 8076de22 authored by Clément Péron's avatar Clément Péron Committed by Mark Brown
Browse files

ASoC: dt-bindings: add bindings for AK4118 transceiver



Document the bindings for AK4118 S/PDIF transceiver

Signed-off-by: default avatarClément Péron <peron.clem@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 424d5b56
Loading
Loading
Loading
Loading
+22 −0
Original line number Diff line number Diff line
AK4118 S/PDIF transceiver

This device supports I2C mode.

Required properties:

- compatible : "asahi-kasei,ak4118"
- reg : The I2C address of the device for I2C
- reset-gpios: A GPIO specifier for the reset pin
- irq-gpios: A GPIO specifier for the IRQ pin

Example:

&i2c {
	ak4118: ak4118@13 {
		#sound-dai-cells = <0>;
		compatible = "asahi-kasei,ak4118";
		reg = <0x13>;
		reset-gpios = <&gpio 0 GPIO_ACTIVE_LOW>
		irq-gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
	};
};