public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: codekipper@gmail•com (codekipper at gmail.com)
To: linux-arm-kernel@lists•infradead.org
Subject: [linux-sunxi][PATCH] ARM: dts: sun6i: Mele I7: Enable internal audio codec
Date: Tue, 20 Dec 2016 11:23:44 +0100	[thread overview]
Message-ID: <20161220102344.2519-1-codekipper@gmail.com> (raw)

From: Marcus Cooper <codekipper@gmail•com>

The Mele I7 has an audio jack for the SoC's internal codec.

Signed-off-by: Marcus Cooper <codekipper@gmail•com>
---
 arch/arm/boot/dts/sun6i-a31-i7.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun6i-a31-i7.dts b/arch/arm/boot/dts/sun6i-a31-i7.dts
index f3468a14596e..a2193309a199 100644
--- a/arch/arm/boot/dts/sun6i-a31-i7.dts
+++ b/arch/arm/boot/dts/sun6i-a31-i7.dts
@@ -71,6 +71,12 @@
 	};
 };
 
+&codec {
+	allwinner,audio-routing =
+		"Headphone", "HP";
+	status = "okay";
+};
+
 &ehci0 {
 	status = "okay";
 };
-- 
2.11.0

             reply	other threads:[~2016-12-20 10:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-20 10:23 codekipper at gmail.com [this message]
2016-12-20 19:06 ` [linux-sunxi][PATCH] ARM: dts: sun6i: Mele I7: Enable internal audio codec Maxime Ripard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161220102344.2519-1-codekipper@gmail.com \
    --to=codekipper@gmail$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox