diff mbox

[10/13] ARM: sun7i: dt: enable audio codec on Cubietruck

Message ID 1445460786-18280-11-git-send-email-maxime.ripard@free-electrons.com
State New
Headers show

Commit Message

Maxime Ripard Oct. 21, 2015, 8:53 p.m. UTC
From: Emilio López <emilio@elopez.com.ar>

This commit enables the on-chip audio codec present on the A20 SoC
and outlines the SoC to connector routes for the Cubietruck.

Signed-off-by: Emilio López <emilio@elopez.com.ar>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
---
 arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Chen-Yu Tsai Oct. 22, 2015, 3:41 a.m. UTC | #1
On Thu, Oct 22, 2015 at 4:53 AM, Maxime Ripard
<maxime.ripard@free-electrons.com> wrote:
> From: Emilio López <emilio@elopez.com.ar>
>
> This commit enables the on-chip audio codec present on the A20 SoC
> and outlines the SoC to connector routes for the Cubietruck.

The latter bit is no longer true since you removed the routes.

ChenYu

>
> Signed-off-by: Emilio López <emilio@elopez.com.ar>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
> ---
>  arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> index e6b019232a9e..8da939ab8350 100644
> --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
> @@ -101,6 +101,10 @@
>         status = "okay";
>  };
>
> +&codec {
> +       status = "okay";
> +};
> +
>  &cpu0 {
>         cpu-supply = <&reg_dcdc2>;
>  };
> --
> 2.6.2
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
index e6b019232a9e..8da939ab8350 100644
--- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
+++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
@@ -101,6 +101,10 @@ 
 	status = "okay";
 };
 
+&codec {
+	status = "okay";
+};
+
 &cpu0 {
 	cpu-supply = <&reg_dcdc2>;
 };