Kuninori Morimoto
e3839bd6f5
drm: dw-hdmi-i2s: add .get_dai_id callback for ALSA SoC
...
ALSA SoC needs to know connected DAI ID for probing.
It is not a big problem if device/driver was only for sound,
but getting DAI ID will be difficult if device includes both
Video/Sound, like HDMI.
To solve this issue, this patch adds new .get_dai_id callback
on hdmi_codec_ops.
dw-hdmi-i2s will assume that HDMI sound will be connected
to reg = <2>. Then, ALSA SoC side will recognized it as DAI 0
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
/* HDMI Video IN */
};
port@1 {
reg = <1>;
/* HDMI OUT */
};
port@2 {
reg = <2>;
/* HDMI Sound IN */
};
};
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com >
Acked-by: Archit Taneja <architt@codeaurora.org >
Signed-off-by: Mark Brown <broonie@kernel.org >
2017-06-28 20:46:39 +01:00
..
2017-05-12 13:58:29 +10:00
2017-02-07 21:43:55 +01:00
2017-04-26 17:54:58 +01:00
2017-04-20 13:47:46 +05:30
2017-04-11 07:41:10 +10:00
2017-04-18 11:52:45 +02:00
2017-04-04 23:33:42 -04:00
2017-06-28 20:46:39 +01:00
2017-04-11 07:41:10 +10:00
2017-05-08 17:15:13 -07:00
2017-05-05 17:34:57 -07:00
2017-04-06 17:00:27 -04:00
2017-05-08 17:15:14 -07:00
2017-04-06 17:00:27 -04:00
2017-05-12 14:28:02 +10:00
2017-04-11 07:41:10 +10:00
2017-04-11 07:41:10 +10:00
2017-04-06 17:00:27 -04:00
2017-02-27 18:43:47 -08:00
2017-04-11 07:41:10 +10:00
2017-04-11 07:47:02 +10:00
2017-04-06 17:00:27 -04:00
2017-05-12 14:25:22 +10:00
2017-04-20 13:47:46 +05:30
2017-04-13 06:17:40 +10:00
2017-04-04 23:33:42 -04:00
2017-03-01 09:44:11 +01:00
2017-05-12 13:58:29 +10:00
2017-04-04 17:04:21 +03:00
2017-04-07 13:28:32 -04:00
2017-02-26 22:54:47 +01:00
2017-03-29 09:50:38 +02:00
2017-05-05 17:34:57 -07:00
2017-04-20 13:19:34 +10:00
2017-05-05 11:47:01 +10:00
2017-04-06 17:00:27 -04:00
2017-03-27 09:43:58 +02:00
2017-05-12 13:58:29 +10:00
2017-05-03 11:44:24 -07:00
2017-04-11 07:40:42 +10:00
2017-03-14 15:07:33 +01:00
2017-02-28 10:00:50 +01:00
2017-05-10 11:33:08 -07:00
2017-04-21 09:25:47 -07:00
2017-03-22 13:44:42 +08:00
2017-04-06 17:00:27 -04:00
2017-04-06 10:22:43 +02:00
2017-03-06 11:43:43 +01:00
2017-02-28 14:32:19 +01:00
2017-04-06 10:22:35 +02:00
2017-02-28 16:16:48 +01:00
2017-03-29 09:56:25 +02:00
2017-04-06 10:22:43 +02:00
2017-04-06 22:49:50 +02:00
2017-04-07 16:18:28 -04:00
2017-03-24 09:36:06 +01:00
2017-02-23 11:06:12 -05:00
2017-03-07 16:38:16 -05:00
2017-03-22 21:47:44 +01:00
2017-02-23 12:10:12 +10:00
2017-02-21 15:41:24 +02:00
2017-05-02 10:37:45 +02:00
2017-02-28 16:16:48 +01:00
2017-03-22 19:45:00 +02:00
2017-05-08 17:15:14 -07:00
2017-03-14 14:38:34 +01:00
2017-03-23 08:15:55 +01:00
2017-04-06 10:22:43 +02:00
2017-03-14 15:07:33 +01:00
2017-02-28 16:16:43 +01:00
2017-03-24 09:36:06 +01:00
2017-04-04 20:47:54 +02:00
2017-04-04 20:59:12 +01:00
2017-04-04 20:59:12 +01:00
2017-03-09 16:18:02 +01:00
2017-03-02 08:42:29 +01:00
2017-02-06 16:57:37 +01:00
2017-02-28 16:16:48 +01:00
2017-03-14 15:07:33 +01:00
2017-02-28 16:14:53 +01:00
2017-03-22 19:45:00 +02:00
2017-04-05 09:26:45 +02:00
2017-04-06 17:00:27 -04:00
2017-03-09 16:18:02 +01:00
2017-03-29 09:56:25 +02:00
2017-04-07 13:28:32 -04:00
2017-04-20 13:47:46 +05:30
2017-02-26 21:43:08 +01:00
2017-04-06 21:29:23 +02:00
2017-04-12 18:11:32 +02:00
2017-03-21 10:15:56 +02:00
2017-03-30 12:02:00 -07:00
2017-04-04 20:47:54 +02:00
2017-03-14 14:38:33 +01:00
2017-02-24 17:46:55 -08:00
2017-02-26 22:11:37 +01:00
2017-03-21 10:15:39 +02:00