Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1337426

Re: [PATCH v2 3/5] ASoC: adau17x1: Add adau17x1 bindings document

From Rob Herring <robh@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2 3/5] ASoC: adau17x1: Add adau17x1 bindings document
Date 2016-02-18 15:50 +0100
Message-ID <r3y42-74z-5@gated-at.bofh.it> (permalink)
References <r2Not-7Xf-7@gated-at.bofh.it> <r2Nou-7Xf-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Feb 16, 2016 at 01:56:43PM +0100, Andreas Irestål wrote:
> Signed-off-by: Andreas Irestål <andire@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@38 {

codec@38

Otherwise:

Acked-by: Rob Herring <robh@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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2 3/5] ASoC: adau17x1: Add adau17x1 bindings document Andreas Irestål <andreas.irestal@axis.com> - 2016-02-16 14:00 +0100
  Re: [PATCH v2 3/5] ASoC: adau17x1: Add adau17x1 bindings document Rob Herring <robh@kernel.org> - 2016-02-18 15:50 +0100

csiph-web