[alsa-devel] [PATCH v2 3/5] ASoC: adau17x1: Add adau17x1 bindings document
Rob Herring
robh at kernel.org
Thu Feb 18 15:37:31 CET 2016
On Tue, Feb 16, 2016 at 01:56:43PM +0100, Andreas Irestål wrote:
> Signed-off-by: Andreas Irestål <andire at axis.com>
> ---
> .../devicetree/bindings/sound/adi,adau17x1.txt | 24 ++++++++++++++++++++++
> 1 file changed, 24 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/sound/adi,adau17x1.txt
>
> diff --git a/Documentation/devicetree/bindings/sound/adi,adau17x1.txt b/Documentation/devicetree/bindings/sound/adi,adau17x1.txt
> new file mode 100644
> index 0000000..8dbce0e
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/sound/adi,adau17x1.txt
> @@ -0,0 +1,24 @@
> +Analog Devices ADAU1361/ADAU1461/ADAU1761/ADAU1961/ADAU1381/ADAU1781
> +
> +Required properties:
> +
> + - compatible: Should contain one of the following:
> + "adi,adau1361"
> + "adi,adau1461"
> + "adi,adau1761"
> + "adi,adau1961"
> + "adi,adau1381"
> + "adi,adau1781"
> +
> + - reg: The i2c address. Value depends on the state of ADDR0
> + and ADDR1, as wired in hardware.
> +
> +Examples:
> +#include <dt-bindings/sound/adau17x1.h>
> +
> + i2c_bus {
> + adau1361 at 38 {
codec at 38
Otherwise:
Acked-by: Rob Herring <robh at kernel.org>
> + compatible = "adi,adau1761";
> + reg = <0x38>;
> + };
> + };
> --
> 2.1.4
>
> --
> To unsubscribe from this list: send the line "unsubscribe devicetree" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the Alsa-devel
mailing list