mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
arm64: dts: renesas: ulcb: add HDMI sound support
This patch adds missing ULCB HDMI sound support. To use sound card, HDMI video is mandatory. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
This commit is contained in:
committed by
Simon Horman
parent
5d3b226ace
commit
c693b2101c
@@ -6,6 +6,14 @@
|
|||||||
* Copyright (C) 2016 Cogent Embedded, Inc.
|
* Copyright (C) 2016 Cogent Embedded, Inc.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
* SSI-AK4613
|
||||||
|
* aplay -D plughw:0,0 xxx.wav
|
||||||
|
* arecord -D plughw:0,0 xxx.wav
|
||||||
|
* SSI-HDMI
|
||||||
|
* aplay -D plughw:0,1 xxx.wav
|
||||||
|
*/
|
||||||
|
|
||||||
#include <dt-bindings/gpio/gpio.h>
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
#include <dt-bindings/input/input.h>
|
#include <dt-bindings/input/input.h>
|
||||||
|
|
||||||
@@ -87,7 +95,9 @@
|
|||||||
compatible = "audio-graph-card";
|
compatible = "audio-graph-card";
|
||||||
label = "rcar-sound";
|
label = "rcar-sound";
|
||||||
|
|
||||||
dais = <&rsnd_port0>;
|
dais = <&rsnd_port0 /* ak4613 */
|
||||||
|
&rsnd_port1 /* HDMI0 */
|
||||||
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
vcc_sdhi0: regulator-vcc-sdhi0 {
|
vcc_sdhi0: regulator-vcc-sdhi0 {
|
||||||
@@ -173,6 +183,12 @@
|
|||||||
remote-endpoint = <&hdmi0_con>;
|
remote-endpoint = <&hdmi0_con>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
port@2 {
|
||||||
|
reg = <2>;
|
||||||
|
dw_hdmi0_snd_in: endpoint {
|
||||||
|
remote-endpoint = <&rsnd_for_hdmi>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -382,7 +398,10 @@
|
|||||||
<&cpg CPG_CORE CPG_AUDIO_CLK_I>;
|
<&cpg CPG_CORE CPG_AUDIO_CLK_I>;
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
rsnd_port0: port {
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
rsnd_port0: port@0 {
|
||||||
|
reg = <0>;
|
||||||
rsnd_for_ak4613: endpoint {
|
rsnd_for_ak4613: endpoint {
|
||||||
remote-endpoint = <&ak4613_endpoint>;
|
remote-endpoint = <&ak4613_endpoint>;
|
||||||
|
|
||||||
@@ -394,6 +413,18 @@
|
|||||||
capture = <&ssi1 &src1 &dvc1>;
|
capture = <&ssi1 &src1 &dvc1>;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
rsnd_port1: port@1 {
|
||||||
|
reg = <1>;
|
||||||
|
rsnd_for_hdmi: endpoint {
|
||||||
|
remote-endpoint = <&dw_hdmi0_snd_in>;
|
||||||
|
|
||||||
|
dai-format = "i2s";
|
||||||
|
bitclock-master = <&rsnd_for_hdmi>;
|
||||||
|
frame-master = <&rsnd_for_hdmi>;
|
||||||
|
|
||||||
|
playback = <&ssi2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user