Message ID | 1483536902-21450-3-git-send-email-srinivas.kandagatla@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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"; >
On 01/04, Srinivas Kandagatla wrote: > 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"; The spacing is weird here. Did the internal-codec get added without tabs before?
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";
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(+)