On Mon, Mar 21, 2016 at 05:10:39PM +0100, [email protected] wrote:
> From: Marcus Cooper <[email protected]>
> 
> Add the SPDIF pins to the A10 and A20 dtsi.
> 
> Signed-off-by: Marcus Cooper <[email protected]>
> ---
>  arch/arm/boot/dts/sun4i-a10.dtsi | 21 +++++++++++++++++++++
>  arch/arm/boot/dts/sun7i-a20.dtsi | 21 +++++++++++++++++++++
>  2 files changed, 42 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi 
> b/arch/arm/boot/dts/sun4i-a10.dtsi
> index 2c8f5e6..0483640 100644
> --- a/arch/arm/boot/dts/sun4i-a10.dtsi
> +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
> @@ -1006,6 +1006,27 @@
>                               allwinner,drive = <SUN4I_PINCTRL_10_MA>;
>                               allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
>                       };
> +
> +                     spdif_tx_pins_a: spdif@0 {
> +                             allwinner,pins = "PB13";
> +                             allwinner,function = "spdif";
> +                             allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> +                             allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
> +                     };
> +
> +                     spdif_rx_pins_a: spdif@1 {
> +                             allwinner,pins = "PB12";
> +                             allwinner,function = "spdif";
> +                             allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> +                             allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> +                     };
> +
> +                     spdif_mclk_pins_a: spdif@2 {
> +                             allwinner,pins = "PB3";
> +                             allwinner,function = "spdif";
> +                             allwinner,drive = <SUN4I_PINCTRL_10_MA>;
> +                             allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
> +                     };

If you're not going to use these pins, please don't add them yet.

In order to avoid bloating the DT uselessly, we try to not add unused nodes.

Thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Attachment: signature.asc
Description: Digital signature

Reply via email to