[alsa-devel] [PATCH 3/5] ASoC: rsnd: Document SoC-specific bindings

Simon Horman horms at verge.net.au
Tue Nov 11 01:25:18 CET 2014


On Mon, Nov 10, 2014 at 08:00:42PM +0100, Geert Uytterhoeven wrote:
> The documentation only mentioned the generic fallback compatible
> property.
> Add the missing SoC-specific compatible properties, which are already in
> use.
> 
> Also drop a bogus 0x unit-address prefix while we're at it.
> 
> Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>

Acked-by: Simon Horman <horms+renesas at verge.net.au>

> ---
>  Documentation/devicetree/bindings/sound/renesas,rsnd.txt | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)
> 
> diff --git a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> index aa697abf337e7aa6..2dd690bc19cc6436 100644
> --- a/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> +++ b/Documentation/devicetree/bindings/sound/renesas,rsnd.txt
> @@ -1,8 +1,12 @@
>  Renesas R-Car sound
>  
>  Required properties:
> -- compatible			: "renesas,rcar_sound-gen1" if generation1
> +- compatible			: "renesas,rcar_sound-<soctype>", fallbacks
> +				  "renesas,rcar_sound-gen1" if generation1, and
>  				  "renesas,rcar_sound-gen2" if generation2
> +				  Examples with soctypes are:
> +				    - "renesas,rcar_sound-r8a7790" (R-Car H2)
> +				    - "renesas,rcar_sound-r8a7791" (R-Car M2-W)
>  - reg				: Should contain the register physical address.
>  				  required register is
>  				   SRU/ADG/SSI      if generation1
> @@ -35,9 +39,9 @@ DAI subnode properties:
>  
>  Example:
>  
> -rcar_sound: rcar_sound at 0xffd90000 {
> +rcar_sound: rcar_sound at ec500000 {
>  	#sound-dai-cells = <1>;
> -	compatible = "renesas,rcar_sound-gen2";
> +	compatible = "renesas,rcar_sound-r8a7791", "renesas,rcar_sound-gen2";
>  	reg =	<0 0xec500000 0 0x1000>, /* SCU */
>  		<0 0xec5a0000 0 0x100>,  /* ADG */
>  		<0 0xec540000 0 0x1000>, /* SSIU */
> -- 
> 1.9.1
> 


More information about the Alsa-devel mailing list