aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mxs/patches-3.12/101-soc-audio-dts.patch
diff options
context:
space:
mode:
authorZoltan Herpai <wigyori@uid0.hu>2014-01-27 19:29:04 +0000
committerZoltan Herpai <wigyori@uid0.hu>2014-01-27 19:29:04 +0000
commitf617d92b287991e3f6a974507432fb1f966141e1 (patch)
treeebe2f14561fc7b4a29a04c61f85973ef614f5c48 /target/linux/mxs/patches-3.12/101-soc-audio-dts.patch
parent87f8092629fb0caa0101241a4ae20d84657aac37 (diff)
downloadupstream-f617d92b287991e3f6a974507432fb1f966141e1.tar.gz
upstream-f617d92b287991e3f6a974507432fb1f966141e1.tar.bz2
upstream-f617d92b287991e3f6a974507432fb1f966141e1.zip
mxs: make config and patches versioned
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu> SVN-Revision: 39405
Diffstat (limited to 'target/linux/mxs/patches-3.12/101-soc-audio-dts.patch')
-rw-r--r--target/linux/mxs/patches-3.12/101-soc-audio-dts.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/mxs/patches-3.12/101-soc-audio-dts.patch b/target/linux/mxs/patches-3.12/101-soc-audio-dts.patch
new file mode 100644
index 0000000000..924cbebb08
--- /dev/null
+++ b/target/linux/mxs/patches-3.12/101-soc-audio-dts.patch
@@ -0,0 +1,39 @@
+--- a/arch/arm/boot/dts/imx23-olinuxino.dts
++++ b/arch/arm/boot/dts/imx23-olinuxino.dts
+@@ -84,6 +84,25 @@
+ usbphy0: usbphy@8007c000 {
+ status = "okay";
+ };
++
++ codec: mxs-builtin-codec {
++ compatible = "fsl,mxs-builtin-codec";
++ reg = <0x80048000 0x2000>, <0x8004c000 0x2000>,
++ <0x8005c000 0x2000>;
++ reg-names = "audioout", "audioin", "rtc";
++ clocks = <&clks 31>;
++ clock-names = "filt";
++ };
++
++ platform_dai: mxs-builtin-cpu-dai {
++ compatible = "fsl,mxs-builtin-cpu-dai";
++ reg = <0x80048000 0x2000>, <0x8004c000 0x2000>,
++ <0x8005c000 0x2000>;
++ reg-names = "audioout", "audioin", "rtc";
++ interrupts = <8 6 4>;
++ dmas = <&dma_apbx 0>, <&dma_apbx 1>;
++ dma-names = "rx", "tx";
++ };
+ };
+ };
+
+@@ -118,4 +137,10 @@
+ gpios = <&gpio2 1 1>;
+ };
+ };
++
++ mxs-builtin-audio {
++ compatible = "fsl,mxs-builtin-audio";
++ audio-codec = <&codec>;
++ cpu-dai = <&platform_dai>;
++ };
+ };