[alsa-devel] [PATCH v2] ASoC: ak4613: add single-end optional property for IN/OUT pins

Lars-Peter Clausen lars at metafoo.de
Wed Nov 18 09:33:05 CET 2015


On 11/16/2015 05:51 AM, Kuninori Morimoto wrote:
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> 
> ak4613 IN/OUT pin can be selected as differential/single-end.
> Default is differential, because it is register default settings.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> ---
> v1 -> v2
> 
>  - add vender prefix
> 
>  Documentation/devicetree/bindings/sound/ak4613.txt | 10 ++++++++
>  sound/soc/codecs/ak4613.c                          | 29 ++++++++++++++++++++++
>  2 files changed, 39 insertions(+)
> 
> diff --git a/Documentation/devicetree/bindings/sound/ak4613.txt b/Documentation/devicetree/bindings/sound/ak4613.txt
> index 15a9195..3cf63e7 100644
> --- a/Documentation/devicetree/bindings/sound/ak4613.txt
> +++ b/Documentation/devicetree/bindings/sound/ak4613.txt
> @@ -7,6 +7,16 @@ Required properties:
>  - compatible : "asahi-kasei,ak4613"
>  - reg : The chip select number on the I2C bus
>  
> +Optional properties:
> +- ak4613,in1-single-end	: Boolean. Indicate input / output pins are single-ended.
> +- ak4613,in2-single-end	  rather than differential.
> +- ak4613,out1-single-end
> +- ak4613,out2-single-end
> +- ak4613,out3-single-end
> +- ak4613,out4-single-end
> +- ak4613,out5-single-end
> +- ak4613,out6-single-end

The vendor prefix is usually the same as for the compatible string, rather
than the part name. E.g. in this case asahi-kasei.


More information about the Alsa-devel mailing list