From 5143e8ed8860c3d4b9caebe13a30536cba521965 Mon Sep 17 00:00:00 2001 From: Larche Date: Thu, 23 Mar 2023 11:38:06 +0900 Subject: [PATCH] =?UTF-8?q?JIG=20=EC=9A=A9=20DT=20=EC=97=90=20HDMI=20Sound?= =?UTF-8?q?=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../arch/arm/boot/dts/imx6qdl-prime-oven_jig.dtsi | 28 +++++++++++++++++++++ release/imx6s-prime-oven_jig.dtb | Bin 35250 -> 34680 bytes 2 files changed, 28 insertions(+) diff --git a/kernel/linux-imx6_3.14.28/arch/arm/boot/dts/imx6qdl-prime-oven_jig.dtsi b/kernel/linux-imx6_3.14.28/arch/arm/boot/dts/imx6qdl-prime-oven_jig.dtsi index 814da3a..e4b0fc5 100755 --- a/kernel/linux-imx6_3.14.28/arch/arm/boot/dts/imx6qdl-prime-oven_jig.dtsi +++ b/kernel/linux-imx6_3.14.28/arch/arm/boot/dts/imx6qdl-prime-oven_jig.dtsi @@ -12,6 +12,12 @@ */ #include +#if 1 +#define ENABLE_HDMI_SOUND 1 +#else +#define ENABLE_I2S_SOUND 1 +#endif + &iomuxc { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_hog>; @@ -284,6 +290,7 @@ }; }; +#ifdef ENABLE_I2S_SOUND sound { compatible = "fsl,imx6q-cmf-sgtl5000", "fsl,imx-audio-sgtl5000"; @@ -297,6 +304,15 @@ mux-int-port = <1>; mux-ext-port = <3>; }; +#endif + +#ifdef ENABLE_HDMI_SOUND + sound { + compatible = "fsl,imx6q-audio-hdmi", "fsl,imx-audio-hdmi"; + model = "imx-audio-hdmi"; + hdmi-controller = <&hdmi_audio>; + }; +#endif mxcfb1: fb@0 { compatible = "fsl,mxc_sdc_fb"; @@ -328,11 +344,13 @@ }; +#ifdef ENABLE_I2S_SOUND &audmux { status = "okay"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_audmux>; }; +#endif &ecspi1 { fsl,spi-num-chipselects = <1>; @@ -392,12 +410,19 @@ status = "okay"; }; +#ifdef ENABLE_HDMI_SOUND +&hdmi_audio { + status = "okay"; +}; +#endif + &i2c1 { clock-frequency = <100000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1>; status = "okay"; +#ifdef ENABLE_I2S_SOUND sgtl5000: sgtl5000@0a { compatible = "fsl,sgtl5000"; pinctrl-names = "default"; @@ -408,6 +433,7 @@ VDDD-supply = <®_1p2v>; VDDIO-supply = <®_3p3v>; }; +#endif }; &i2c2 { @@ -480,10 +506,12 @@ status = "okay"; }; +#ifdef ENABLE_I2S_SOUND &ssi1 { fsl,mode = "i2s-slave"; status = "okay"; }; +#endif &uart1 { pinctrl-names = "default"; diff --git a/release/imx6s-prime-oven_jig.dtb b/release/imx6s-prime-oven_jig.dtb index 1bf0525e605dad8b95e4da11459e599b3b6d3afa..f38c74d5fb06aa6cf356a8be2af21ee2b5a782b9 100644 GIT binary patch delta 4126 zcmb_feNa@_6@Pa>jY?Q3Ru&LYfdygXvI__(1r4xJq%bjxUx_U2x?mS}!-9a4vKj4| zsWy}Gn8rk>()JHq^^YXaOxkH?>V!<3PMxVU?NtAu6FPA^X3~T-aWc;6B>kPY@3D`i zbsU>JbKgDZ+}}C(oO|xqdy5QrUosS5Px<;&Njf$rNm8{WO>RP4jGBgOLq%Bv*`(>s z;(aOfO|xB|O35};upo!dSJ>shrhAvt4SSZ{ziPiJ?T?c5`xrEgs3u7=+>mEidqw3x z!E({WbD$qn`6Yne0lgGe=w$b3@7gZ$7}<(y>9e)3kY__CohissC0`Ugr&2#J1SQ*w z971GJwc}4BLpBw6h?HE_7ThpCLER-+lO&Nc7x~wXCP}+X*3-(;(@9ds{;M<@8!0=V zgk$ZzW;=zPlZ$&~#}oGrleGu^{_;pUoSUBxW2>~hQqTLOjC+}CKR4q#>`yUEoECK| zjpsmP3g`LDpv^iS8R1N5{prS;q`~Isa(Rd1mM7u@a2^V`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