support
see https://patchwork.kernel.org/patch/5442361/
Yakir Yang (6):
drm: bridge/dw_hdmi: add hdmi audio config interfaces
drm: bridge/bridge: add support for rk3288 hdmi-audio
ASoC: dw-hdmi-audio: add codec driver for dw hdmi audio
ASoC: rockchip-hdmi-audio: add sound driver for hdmi audio
be outputted by the Audio
Packetizer.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
drivers/gpu/drm/bridge/dw_hdmi.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/bridge/dw_hdmi.c b/drivers/gpu/drm/bridge/dw_hdmi.c
index 9ba96de..0c19276 100644
--- a/drivers/gpu
codec driver get some interfaces from dw_hdmi driver, than using those
to set hdmi audio formats, corresponding to alsa formats.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
sound/soc/codecs/Kconfig | 4 +
sound/soc/codecs/Makefile| 2 +
sound/soc/codecs/dw-hdmi-audio.c
Adds a sound driver that combines rockchip-i2s cpu_dai and dw-hdmi-codec
as codec_dai to provide hdmi audio output on rk3288 platforms.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
sound/soc/rockchip/Kconfig | 9 ++
sound/soc/rockchip/Makefile | 2 +
sound
creat dw-hdmi-audio device in probe function, and support
some interfaces to dw-hdmi-audio driver for setting hdmi
audio format.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
drivers/gpu/drm/bridge/dw_hdmi.c | 28
include/drm/bridge/dw_hdmi.h | 12
Required properties:
- compatible: platform specific
- cpu-of-node: the device node of cpu_dai
- codec-name: the dw-hdmi codec's device name
- codec-dai-name: the dw-hdmi codec's dai name
Signed-off-by: Yakir Yang y...@rock-chips.com
---
.../bindings/sound/rockchip,rockchip-hdmi-audio.txt
Add hdmi_audio to rk3288.dtsi, enable hdmi_audio in rk3288-evb.dts
Signed-off-by: Yakir Yang y...@rock-chips.com
series-cc: Dominik Behr db...@chromium.org
---
arch/arm/boot/dts/rk3288-evb.dtsi | 11 +++
arch/arm/boot/dts/rk3288.dtsi | 8
2 files changed, 19 insertions
an const name
- remove codec-name and codec-dai-name
- rename rockchip,rockchip-hdmi-audio.txt to rockchip,rockchip-dw-hdmi-audio.txt
Yakir Yang (15):
drm: bridge/dw_hdmi: add irq control to suspend/resume
drm: bridge/dw_hdmi: wrap irq control in fucntions
drm: rockchip/dw_hdmi_rockchip: add
By parsing the indentification registers we can know what functions
are present on the hdmi ip.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Add ID registers parse and record
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c | 59
Required properties:
- compatible: platform specific
- i2s-controller: the i2s controller device node
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- modify cpu-of-node to i2s-controller
Changes in v2:
- remove codec-name and codec-dai-name
- rename rockchip,rockchip-hdmi
Add a sound driver that combines rockchip-i2s cpu_dai and dw-hdmi-codec
as codec_dai to provide hdmi audio output on rk3288 platforms.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Delete the operation of jack in rockchip-hdmi-audio driver,
get ready to switch to simple
, and umnute the interrupt we need in the
resume stage.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Clear Hotplug interrupts before dw_hdmi_fb_register
Changes in v2:
- Add irq control to suspend/resume interfaces
drivers/gpu/drm/bridge/dw_hdmi.c | 41
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Setting the .pm member instead of suspend/resume
Changes in v2:
- Add suspend/resume support for dw_hdmi_rockchip driver
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16
1 file changed, 16 insertions(+)
diff
This patch changes the order to:
- write CTS3 CTS_manual = 0
- write CTS3 N_shift = 0
- write CTS3 CTS value
- write CTS2 CTS value
- write CTS1 CTS value
- write N3 N value
- write N2 N value
- write N1 N value
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Only adjust the n
- write CTS3 CTS_manual = 1
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Set ncts_atomic_write cts_manual
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c | 13 +++--
drivers/gpu/drm/bridge/dw_hdmi.h | 6 ++
2 files changed, 17 insertions(+), 2 deletions
When transmitting IEC60985 linear PCM audio, we configure the
Aduio Sample Channel Status information of all the channel
status bits in the IEC60958 frame.
(am from https://patchwork.kernel.org/patch/5749101/)
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Determine whether
If the monitor support audio, so we should support audio for it, even if
the display resolution is No-CEA mode.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3: None
Changes in v2:
- enable audio support for No-CEA display mode
drivers/gpu/drm/bridge/dw_hdmi.c | 10 +-
1
Add more n/cts values, in that case we can support audio for more
display resolutions (128 * SampleRate = PixelClock * N / CTS).
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3: None
Changes in v2:
- add more n/cts combinations for more display resolutions
drivers/gpu/drm/bridge
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Combine hdmi_set_clock_regenerator_n() and hdmi_regenerate_cts()
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c | 16 ++--
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/drivers/gpu/drm/bridge
Wrap irq control in functions, and then we can call in dw_hdmi_bind /
dw_hdmi_unbind / dw_hdmi_resume / dw_hdmi_suspend functions.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Wrap irq control in fucntions
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c | 75
codec driver creat an standard alsa device, than config audio
and report jack status through some callback interfaces that
dw_hdmi driver support.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Keep audio format config function in dw-hdmi-audio driver
and remove audio_config
Add audio clock enable/disable/restore interfacess, those functions
can be called concurrently on multiple different threads of execution
to change the hdmi audio enable state.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Delete hdmi_audio_config interface and modify audio
creat dw-hdmi-audio device dynamically in probe function,
and transfer some interfaces to dw-hdmi-audio driver for
setting hdmi audio format control hdmi audio clock.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Remove audio_config get_connect_status callback functions
should be set to 17.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
drivers/gpu/drm/bridge/dw_hdmi.c| 14 +++---
drivers/gpu/drm/imx/dw_hdmi-imx.c | 12 ++--
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 14 +++---
include/drm/bridge/dw_hdmi.h
% decrease.
- For hdmi single-ended test, we set CKLVL TXLVL to 17 when pixel
clock is 74.25MHz, keep CKLVL TXLVL to 13 when pixel clock is 148.5MHz.
Yakir Yang (1):
drm: bridge/dw_hdmi: fixed codec style
drivers/gpu/drm/bridge/dw_hdmi.c |8
1 file changed, 4 insertions(+), 4
% decrease.
- For hdmi single-ended test, we set CKLVL TXLVL to 17 when pixel
clock is 74.25MHz, keep CKLVL TXLVL to 13 when pixel clock is 148.5MHz.
Yakir Yang (3):
drm: bridge/dw_hdmi: fixed codec style
drm: bridge/dw_hdmi_rockchip: improve hdmi eye-diagram test
drm: bridge/dw_hdmi: improve
*plat_data = hdmi-plat_data;
+ const struct dw_hdmi_mpll_config *mpll_config = plat_data-mpll_cfg;
+ const struct dw_hdmi_curr_ctrl *curr_ctrl = plat_data-cur_ctr;
+ const struct dw_hdmi_sym_term *sym_term = plat_data-sym_term;
Signed-off-by: Yakir Yang y...@rock-chips.com
---
drivers/gpu/drm/bridge
As for 1920x1080 display resolution, we should turn on the Transmitter
Trailer-B, and adjust slopeboost to 25%-35% decrease.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
.
- For pixel clock less than 74.25MHz, set txlvl to 19 and set cklvl to 18.
Yakir Yang (3):
drm: bridge/dw_hdmi: fixed codec style
drm: bridge/dw_hdmi_rockchip: improve hdmi eye-diagram test
drm: bridge/dw_hdmi: improve hdmi single-end test
drivers/gpu/drm/bridge/dw_hdmi.c| 20
to 18, txlvl should set to 19.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- For pixel clock less than 74.25MHz, set txlvl to 19 and set cklvl to 18.
drivers/gpu/drm/bridge/dw_hdmi.c| 14 +++---
drivers/gpu/drm/imx/dw_hdmi-imx.c | 12
As for 1920x1080 display resolution, we should turn on the
Transmitter Trailer-B.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- Set slopeboost back to 10%-20%, then rasing/falling time would pass.
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +-
1 file changed, 1
*plat_data = hdmi-plat_data;
+ const struct dw_hdmi_mpll_config *mpll_config = plat_data-mpll_cfg;
+ const struct dw_hdmi_curr_ctrl *curr_ctrl = plat_data-cur_ctr;
+ const struct dw_hdmi_sym_term *sym_term = plat_data-sym_term;
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2: None
.
- For pixel clock less than 74.25MHz, set txlvl to 19 and set cklvl to 18.
Yakir Yang (3):
drm: bridge/dw_hdmi: fixed codec style
drm: bridge/dw_hdmi_rockchip: improve hdmi eye-diagram test
drm: bridge/dw_hdmi: improve hdmi single-end test
drivers/gpu/drm/bridge/dw_hdmi.c| 20
, set txlvl to 20.
Changes in v2:
- Set slopeboost back to 10%-20%, then rasing/falling time would pass.
- For pixel clock less than 74.25MHz, set txlvl to 19 and set cklvl to 18.
Yakir Yang (3):
drm: bridge/dw_hdmi: fixed codec style
drm: bridge/dw_hdmi_rockchip: improve hdmi eye-diagram test
As for 1920x1080 display resolution, we should turn on the
Transmitter Trailer-B.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3: None
Changes in v2:
- Set slopeboost back to 10%-20%, then rasing/falling time would pass.
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +-
1
(2.80v), and
txlvl set to 19(2.75v).
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- For pixel clock less than 148.5MHz, set txlvl to 20.
Changes in v2:
- For pixel clock less than 74.25MHz, set txlvl to 19 and set cklvl to 18.
drivers/gpu/drm/bridge/dw_hdmi.c| 14
Using a local struct pointer to reduce one level of indirection
makes the code slightly more readable.
Signed-off-by: Yakir Yang y...@rock-chips.com
Reviewed-by: Daniel Kurtz djku...@chromium.org
---
Changes in v3:
- make commit message more readable
Changes in v2: None
drivers/gpu/drm/bridge
slopeboost back to 10%-20%, then rasing/falling time would pass.
- for pixel clock less then 74.25MHz, set txlvl to 19 and cklvl to 18.
Yakir Yang (3):
drm: bridge/dw_hdmi: fixed codec style
drm: bridge/dw_hdmi: separate VLEVCTRL settting into platform driver
drm: rockchip/dw_hdmi-rockchip
When pixel clock less than 148.5MHz, make sloopboost=2 tklvl=20
cklvl=13 increase rasing/falling time and increase data clock
voltage driver.
When pixel clock less than 74.25MHz, make sloopboost=0 tklvl=19
cklvl=18, increase data and clock voltage driver.
Signed-off-by: Yakir Yang y...@rock
Because of iMX6 Rockchip have differnet mpll config parameter,
the VLEVCTRL parameter would be different. In this case we should
separate VLEVCTRL setting from the common dw_hdmi driver, config
this parameter in platform driver(dw_hdmi-imx and dw_hdmi-rockchip)
Signed-off-by: Yakir Yang y
Using a local struct pointer to reduce one level of indirection
makes the code slightly more readable.
Signed-off-by: Yakir Yang y...@rock-chips.com
Reviewed-by: Daniel Kurtz djku...@chromium.org
---
Changes in v4: None
Changes in v3:
- make commit message more readable
Changes in v2: None
在 2015/3/2 17:15, Paul Bolle 写道:
On Sat, 2015-02-28 at 21:59 -0500, Yakir Yang wrote:
--- /dev/null
+++ b/sound/soc/codecs/dw-hdmi-audio.c
@@ -0,0 +1,379 @@
+/*
+ * dw-hdmi-codec.c
Doesn't match the filename. Is this line needed?
Thanks, this comment are good for read, and seems others
在 2015/3/2 17:07, Paul Bolle 写道:
On Sat, 2015-02-28 at 22:04 -0500, Yakir Yang wrote:
--- /dev/null
+++ b/sound/soc/rockchip/rockchip_hdmi_audio.c
@@ -0,0 +1,169 @@
+/*
+ * rockchip-hdmi-card.c
Doesn't match the filename. Is this line needed anyway?
Thanks, this comment are good for read
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4: None
Changes in v3:
- Setting the .pm member instead of suspend/resume
Changes in v2:
- Add suspend/resume support for dw_hdmi_rockchip driver
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 16
1 file changed, 16
Add enable and disable callbacks to dw_hdmi_audio interface so that
dw_hdmi_audio can enable and disable the dw_hdmi audio.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4:
- Rename hdmi_audio_* to dw_hdmi_audio_*
Changes in v3:
- Delete hdmi_audio_config interface and modify
, and umnute the interrupt we need in the
resume stage.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4: None
Changes in v3:
- Clear Hotplug interrupts before dw_hdmi_fb_register
Changes in v2:
- Add irq control to suspend/resume interfaces
drivers/gpu/drm/bridge/dw_hdmi.c | 41
Add more n/cts values, in that case we can support audio for more
display resolutions (128 * SampleRate = PixelClock * N / CTS).
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- add more n/cts combinations for more display resolutions
Required properties:
- compatible: platform specific
- i2s-controller: the i2s controller device node
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4: None
Changes in v3:
- modify cpu-of-node to i2s-controller
Changes in v2:
- remove codec-name and codec-dai-name
- rename
/dw_hdmi: adjust n/cts setting order
drm: bridge/dw_hdmi: set ncts_atomic_write cts_manual
drm: bridge/dw_hdmi: add audio sample channel status setting
Yakir Yang (12):
drm: bridge/dw_hdmi: add irq control to suspend/resume
drm: bridge/dw_hdmi: wrap irq control in fucntions
drm: rockchip
Wrap irq control in functions, and then we can call in
dw_hdmi_bind/dw_hdmi_unbind/dw_hdmi_resume/dw_hdmi_suspend
functions.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4: None
Changes in v3:
- Wrap irq control in fucntions
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4: None
Changes in v3:
- Combine hdmi_set_clock_regenerator_n() and hdmi_regenerate_cts()
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c | 17 ++---
1 file changed, 6 insertions(+), 11 deletions(-)
diff --git
Add a sound driver that combines rockchip-i2s cpu_dai and dw-hdmi-codec
as codec_dai to provide hdmi audio output on rk3288 platforms.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4:
- Add .pm = snd_soc_pm_ops,
Changes in v3:
- Delete the operation of jack in rockchip-hdmi-audio
From: Daniel Kurtz djku...@chromium.org
This patch changes the order to:
- write CTS3 CTS_manual (if supported) | N_shift | CTS[19:16]
- write CTS2 CTS[15:8]
- write CTS1 CTS[7:0]
- write N3 N[19:16]
- write N2 N[15:8]
- write N1 N[7:0]
Signed-off-by: Yakir Yang y...@rock-chips.com
Signed-off
.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4:
- Combine N3 registers setting
Changes in v3:
- Set ncts_atomic_write cts_manual
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c | 10 +-
drivers/gpu/drm/bridge/dw_hdmi.h | 4
2 files changed, 13 insertions(+), 1
codec driver creat an standard alsa device, than config audio
and report jack status through some callback interfaces that
dw_hdmi driver support.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4:
- Replace delaywork with irq thread, and add suspend/resume interfaces,
Replace dw
By parsing the identification registers we can know what functions
are present on the hdmi ip.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4:
-Correct phy_type assignment bug
Changes in v3:
- Add ID registers parse and record
Changes in v2: None
drivers/gpu/drm/bridge
creat dw-hdmi-audio device dynamically in probe function,
and transfer some interfaces to dw-hdmi-audio driver for
setting hdmi audio format control hdmi audio clock.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4: None
Changes in v3:
- Remove audio_config get_connect_status
From: Daniel Kurtz djku...@chromium.org
When transmitting IEC60985 linear PCM audio, we configure the
Audio Sample Channel Status information of all the channel
status bits in the IEC60958 frame.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4:
- Give HDMI_FC_AUD_SCHNL8
If the monitor support audio, so we should support audio for it, even if
the display resolution is No-CEA mode.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v4:
- Add hdmi audio support when monitor support audio
Changes in v3: None
Changes in v2:
- Enable audio support
When transmitting IEC60985 linear PCM audio, we configure the
Aduio Sample Channel Status information of all the channel
status bits in the IEC60958 frame.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- Add audio sample channel status setting
drivers/gpu/drm/bridge/dw_hdmi.c
Add more n/cts values, in that case we can support audio for more
display resolutions (128 * SampleRate = PixelClock * N / CTS).
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- add more n/cts combinations for more display resolutions
drivers/gpu/drm/bridge/dw_hdmi.c | 58
If the monitor support audio, so we should support audio for it, even if
the display resolution is No-CEA mode.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- enable audio support for No-CEA display mode
drivers/gpu/drm/bridge/dw_hdmi.c | 10 +-
1 file changed, 5
name
- remove codec-name and codec-dai-name
- rename rockchip,rockchip-hdmi-audio.txt to rockchip,rockchip-dw-hdmi-audio.txt
Yakir Yang (12):
drm: bridge/dw_hdmi: adjust n/cts setting order
drm: bridge/dw_hdmi: add audio sample channel status setting
drm: bridge/dw_hdmi: add irq control
value as in step 1.)
6. aud_n2
7. aud_n1
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- adjust n/cts setting order
drivers/gpu/drm/bridge/dw_hdmi.c | 37 +
drivers/gpu/drm/bridge/dw_hdmi.h | 6 ++
2 files changed, 27 insertions(+), 16
Designware HDMI supports four interfaces to config hdmi audio
(I2S, S/PDIF, Generic Parallel Audio, AHB Audio DMA), but rk3288
only support two ways to config hdmi audio(I2S, S/PDIF), So we
take I2S as hdmi audio operation interfaces.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes
codec driver creat an standard alsa device, than config audio
and report jack status through some callback interfaces that
dw_hdmi driver support.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- Update dw_hdmi audio control interfaces, and adjust jack report process
sound/soc
, and umnute the interrupt we need in the
resume stage.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- Add irq control to suspend/resume interfaces
drivers/gpu/drm/bridge/dw_hdmi.c | 43
include/drm/bridge/dw_hdmi.h | 2 ++
2 files
creat dw-hdmi-audio device dynamically in probe function,
and transfer some interfaces to dw-hdmi-audio driver for
setting hdmi audio format control hdmi audio clock.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- Update the audio control interfaces
drivers/gpu/drm/bridge
Add a sound driver that combines rockchip-i2s cpu_dai and dw-hdmi-codec
as codec_dai to provide hdmi audio output on rk3288 platforms.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- give codec-name codec-dai-name an const name
sound/soc/rockchip/Kconfig | 9
When transmitting IEC60985 linear PCM audio, we configure the
Aduio Sample Channel Status information of all the channel
status bits in the IEC60958 frame.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- Add audio sample channel status setting
drivers/gpu/drm/bridge/dw_hdmi.c
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- Add suspend/resume support for dw_hdmi_rockchip driver
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 13 +
1 file changed, 13 insertions(+)
diff --git a/drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c
b/drivers/gpu/drm
RK3288's VOP do not support INTERLACE display mode, so we should
remove those modes out of mode_ok list.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- filter interlace display mode for rockchip vop
drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 3 ++-
1 file changed, 2
Required properties:
- compatible: platform specific
- cpu-of-node: the device node of cpu_dai
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v2:
- remove codec-name and codec-dai-name
- rename rockchip,rockchip-hdmi-audio.txt to rockchip,rockchip-dw-hdmi-audio.txt
.../bindings
Doug Russell,
在 2015/6/19 0:10, Doug Anderson 写道:
Russell,
On Thu, Jun 18, 2015 at 8:55 AM, Russell King - ARM Linux
li...@arm.linux.org.uk wrote:
Perhaps you can try https://patchwork.kernel.org/patch/5906771/
Something like that needs to be done, but let's get rid of the mdvi
thing in
rockchip,rockchip-hdmi-audio.txt to rockchip,rockchip-dw-hdmi-audio.txt
Yakir Yang (6):
drm: bridge/dw_hdmi: add audio support for more display resolutions
drm: bridge/dw_hdmi: enable audio when sink device is HDMI and has audio
drm: bridge/dw_hdmi: rename dw_hdmi-ahb-audio.h to dw_hdmi
and config n/cts rightly.
And actually we could know those information through parsing sink edid.
drm_detect_hdmi_monitor() could report whether sink is a HDMI monitor,
drm_detect_monitor_audio() could return whether sink has audio.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v5
Add a sound driver that combines rockchip-i2s cpu_dai and dw-hdmi-codec
as codec_dai to provide hdmi audio output on rk3288 platforms.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v5:
- Take Mark Brown suggest that remove the no useful code in probe func,
and remove
First step to make ahb audio driver and i2s audio driver code exist,
share the audio data struct in dw_hdmi-audio.h
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v5: None
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi-ahb-audio.c
Required properties:
- compatible: platform specific
- i2s-controller: the i2s controller device node
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v5: None
Changes in v4: None
Changes in v3:
- modify cpu-of-node to i2s-controller
Changes in v2:
- remove codec-name and codec-dai
:
25.175MHz, 40MHz, 54MHz, 65MHz, 74.25MHz, 83.5MHz, 106.5MHz, 108Mhz
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v5:
- make more words in commit message.
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/gpu/drm/bridge/dw_hdmi.c | 56
Add ALSA based HDMI I2S audio driver for dw_hdmi. Sound card
driver could connect to this codec through the codec dai name
dw-hdmi-i2s-audio.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v5:
- Take Mark Brown suggest that remove jack_status recorded, report
jack status directly
Paul,
在 2015/6/22 18:06, Paul Bolle 写道:
Something I didn't notice in v4, sorry.
On Sat, 2015-06-20 at 00:28 +0800, Yakir Yang wrote:
--- /dev/null
+++ b/drivers/gpu/drm/bridge/dw_hdmi-i2s-audio.c
+#define DRIVER_NAME dw-hdmi-i2s-audio
+MODULE_ALIAS(PLATFORM_MODULE_PREFIX DRIVER_NAME);
0
Russell,
在 2015/6/22 18:10, Russell King - ARM Linux 写道:
On Mon, Jun 22, 2015 at 12:06:04PM +0200, Paul Bolle wrote:
But I think there's no platform_device with a dw-hdmi-i2s-audio name.
So I wonder whether this MODULE_ALIAS() is actually needed. What breaks
if you leave it out?
+ }
Add ALSA based HDMI I2S audio driver for dw_hdmi. Sound card
driver could connect to this codec through the codec dai name
dw-hdmi-i2s-audio.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
drivers/gpu/drm/bridge/Kconfig | 9 +
drivers/gpu/drm/bridge/Makefile| 1
First step to make ahb audio driver and i2s audio driver code exist,
share the audio data struct in dw_hdmi-audio.h
Signed-off-by: Yakir Yang y...@rock-chips.com
---
drivers/gpu/drm/bridge/dw_hdmi-ahb-audio.c | 2 +-
drivers/gpu/drm/bridge/{dw_hdmi-ahb-audio.h = dw_hdmi
series:
- rename dw_hdmi-ahb-audio.h to dw_hdmi-audio.h
- add dw_hdmi i2s audio driver
Here are the series patches that I depends on:
* drm: bridge/dw_hdmi: fixed codec style [Yakir Yang]
* drm: bridge/dw_hdmi_rockchip: improve hdmi eye-diagram test
* drm: bridge/dw_hdmi: improve hdmi single-end test
still trying to integrate this into my development-tree.
Am Freitag, 7. August 2015, 05:46:20 schrieb Yakir Yang:
Rockchip have three clocks for dp controller, we leave pclk_edp
to analogix_dp driver control, and keep the sclk_edp_24m and
sclk_edp in platform driver.
Signed-off-by: Yakir Yang y
Rockchip have three clocks for dp controller, we leave pclk_edp
to analogix_dp driver control, and keep the sclk_edp_24m and
sclk_edp in platform driver.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Take Thierry Reding and Heiko suggest, leave sclk_edp_24m to rockchip
dp
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3: None
Changes in v2:
- Add GNU license v2 declared and samsung copyright
drivers/gpu/drm/exynos/analogix_dp-exynos.c | 1 +
drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 1 +
include/drm/bridge/analogix_dp.h
, 2.7Gbps, 5.4Gbps}.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Take Thierry Reding suggest, link_rate and lane_count shouldn't config to
the DT property value directly, but we can take those as hardware limite.
For example, RK3288 only support 4 physical lanes of 2.7/1.62 Gbps
Analogix dp driver is split from exynos dp driver, so we just
make an copy of exynos_dp.txt, and then simplify exynos_dp.txt
Beside update some exynos dtsi file with the latest change
according to the devicetree binding documents.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3
RK3288 need some special registers setting, we can separate
them out by the dev_type of plat_data.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3: None
Changes in v2:
- Fix compile failed dut to phy_pd_addr variable misspell error
drivers/gpu/drm/bridge/analogix_dp_reg.c | 76
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Take Heiko suggest, add rockchip dp phy driver,
collect the phy clocks and power control.
Changes in v2: None
.../devicetree/bindings/phy/rockchip-dp-phy.txt| 26 +++
drivers/phy/Kconfig
In order to move exynos dp code to bridge directory,
we need to convert driver drm bridge mode first. As
dp driver already have a ptn3460 bridge, so we need
to move ptn bridge to the next bridge of dp bridge.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3: None
Changes in v2
After run checkpatch.pl -f --subjective command, I see there
are lots of alignment problem in exynos_dp driver, so let just
fix them.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3: None
Changes in v2:
- Take Joe Preches advise, improved commit message more readable, and
avoid
-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Take Thierry Reding suggest, dynamic parse video timing info from
struct drm_display_mode and struct drm_display_info.
Changes in v2: None
drivers/gpu/drm/bridge/analogix_dp_core.c | 50 --
drivers/gpu/drm/exynos/analogix_dp
- Fix compile failed dut to phy_pd_addr variable misspell error
Yakir Yang (14):
drm: exynos/dp: fix code style
drm: exynos/dp: convert to drm bridge mode
drm: bridge: analogix_dp: split exynos dp driver to bridge dir
drm: bridge/analogix_dp: dynamic parse sync_pol interlace
Some edp screen do not have hpd signal, so we can't just return
failed when hpd plug in detect failed.
This is an hardware property, so we need add a devicetree property
analogix,need-force-hpd to indicate this sutiation.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Add
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- move dp hpd detect to connector detect function.
Changes in v2: None
drivers/gpu/drm/bridge/analogix_dp_core.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/gpu/drm/bridge
Display Port monitor could support kinds of mode which indicate
in monitor edid, not just one single display resolution which
defined in panel or devivetree property display timing.
Signed-off-by: Yakir Yang y...@rock-chips.com
---
Changes in v3:
- Add edid modes parse support
Changes in v2
1 - 100 of 1404 matches
Mail list logo