From: Bo Shen <voice.shen@atmel.com>
To: <nicolas.ferre@atmel.com>
Cc: <linux-arm-kernel@lists.infradead.org>,
<linux-kernel@vger.kernel.org>, <devicetree@vger.kernel.org>,
Bo Shen <voice.shen@atmel.com>
Subject: [PATCH 4/4] ARM: at91: dt: sama5d4ek: enable audio
Date: Mon, 2 Feb 2015 14:51:47 +0800 [thread overview]
Message-ID: <1422859907-14881-5-git-send-email-voice.shen@atmel.com> (raw)
In-Reply-To: <1422859907-14881-1-git-send-email-voice.shen@atmel.com>
Enable audio support for sama5d4ek board.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
arch/arm/boot/dts/at91-sama5d4ek.dts | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/arch/arm/boot/dts/at91-sama5d4ek.dts b/arch/arm/boot/dts/at91-sama5d4ek.dts
index 7f47d92..0df5f1b 100644
--- a/arch/arm/boot/dts/at91-sama5d4ek.dts
+++ b/arch/arm/boot/dts/at91-sama5d4ek.dts
@@ -190,6 +190,10 @@
atmel,pins =
<AT91_PIOE 13 AT91_PERIPH_GPIO AT91_PINCTRL_PULL_UP_DEGLITCH>; /* PE13 gpio */
};
+ pinctrl_pck2_as_audio_mck: pck2_as_audio_mck {
+ atmel,pins =
+ <AT91_PIOB 10 AT91_PERIPH_B AT91_PINCTRL_NONE>;
+ };
};
};
};
@@ -268,4 +272,20 @@
gpio-key,wakeup;
};
};
+
+ sound {
+ compatible = "atmel,asoc-wm8904";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pck2_as_audio_mck>;
+
+ atmel,model = "wm8904 @ SAMA5D4EK";
+ atmel,audio-routing =
+ "Headphone Jack", "HPOUTL",
+ "Headphone Jack", "HPOUTR",
+ "IN1L", "Line In Jack",
+ "IN1R", "Line In Jack";
+
+ atmel,ssc-controller = <&ssc0>;
+ atmel,audio-codec = <&wm8904>;
+ };
};
--
2.3.0.rc0
next prev parent reply other threads:[~2015-02-02 6:52 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-02 6:51 [PATCH 0/4] ARM: at91: sama5d4ek: enable audio support Bo Shen
2015-02-02 6:51 ` [PATCH 1/4] ARM: at91: dt: sama5d4: add ssc nodes Bo Shen
2015-03-04 14:11 ` Nicolas Ferre
2015-02-02 6:51 ` [PATCH 2/4] ARM: at91: dt: sama5d4ek: enable ssc0 Bo Shen
2015-02-02 6:51 ` [PATCH 3/4] ARM: at91: dt: sama5d4ek: add and enable wm8904 Bo Shen
2015-02-02 6:51 ` Bo Shen [this message]
2015-03-04 14:15 ` [PATCH 0/4] ARM: at91: sama5d4ek: enable audio support Nicolas Ferre
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=1422859907-14881-5-git-send-email-voice.shen@atmel.com \
--to=voice.shen@atmel.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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;
as well as URLs for NNTP newsgroup(s).