diff mbox

[2/6] arm64: dts: apq8016-sbc: add support to hdmi audio via adv7533

Message ID 1483536902-21450-3-git-send-email-srinivas.kandagatla@linaro.org
State Accepted
Commit 70151ff46c9f4453e00776cd6167c56b6719c68f
Headers show

Commit Message

Srinivas Kandagatla Jan. 4, 2017, 1:34 p.m. UTC
This patch adds support to hdmi audio via adv7533.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

---
 arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

-- 
2.10.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Archit Taneja Jan. 9, 2017, 8:53 a.m. UTC | #1
On 01/04/2017 07:04 PM, Srinivas Kandagatla wrote:
> This patch adds support to hdmi audio via adv7533.


Tested-by: Archit Taneja <architt@codeaurora.org>


>

> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>

> ---

>  arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi | 10 ++++++++++

>  1 file changed, 10 insertions(+)

>

> diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

> index 08bd5eb..5ab277f 100644

> --- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

> +++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi

> @@ -85,6 +85,7 @@

>  				pinctrl-names = "default","sleep";

>  				pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;

>  				pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;

> +				#sound-dai-cells = <1>;

>

>  				ports {

>  					#address-cells = <1>;

> @@ -285,6 +286,15 @@

>                          qcom,audio-routing =

>                                  "AMIC2", "MIC BIAS Internal2",

>                                  "AMIC3", "MIC BIAS External1";

> +			external-dai-link@0 {

> +				link-name = "ADV7533";

> +				cpu { /* QUAT */

> +					sound-dai = <&lpass MI2S_QUATERNARY>;

> +				};

> +				codec {

> +					sound-dai = <&adv_bridge 0>;

> +				};

> +			};

>

>                          internal-codec-playback-dai-link@0 {            /* I2S - Internal codec */

>                                  link-name = "WCD";

>


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
index 08bd5eb..5ab277f 100644
--- a/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
+++ b/arch/arm64/boot/dts/qcom/apq8016-sbc.dtsi
@@ -85,6 +85,7 @@ 
 				pinctrl-names = "default","sleep";
 				pinctrl-0 = <&adv7533_int_active &adv7533_switch_active>;
 				pinctrl-1 = <&adv7533_int_suspend &adv7533_switch_suspend>;
+				#sound-dai-cells = <1>;
 
 				ports {
 					#address-cells = <1>;
@@ -285,6 +286,15 @@ 
                         qcom,audio-routing =
                                 "AMIC2", "MIC BIAS Internal2",
                                 "AMIC3", "MIC BIAS External1";
+			external-dai-link@0 {
+				link-name = "ADV7533";
+				cpu { /* QUAT */
+					sound-dai = <&lpass MI2S_QUATERNARY>;
+				};
+				codec {
+					sound-dai = <&adv_bridge 0>;
+				};
+			};
 
                         internal-codec-playback-dai-link@0 {            /* I2S - Internal codec */
                                 link-name = "WCD";