2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-09 06:04:05 +08:00
linux-next/drivers/gpu/drm/sun4i
Jonathan Liu f0a3dd33ba drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus
The documentation for drm_do_get_edid in drivers/gpu/drm/drm_edid.c states:
"As in the general case the DDC bus is accessible by the kernel at the I2C
level, drivers must make all reasonable efforts to expose it as an I2C
adapter and use drm_get_edid() instead of abusing this function."

Exposing the DDC bus as an I2C adapter is more beneficial as it can be used
for purposes other than reading the EDID such as modifying the EDID or
using the HDMI DDC pins as an I2C bus through the I2C dev interface from
userspace (e.g. i2c-tools).

Implement this for A10s.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
2017-07-17 08:21:39 +02:00
..
Kconfig drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
Makefile drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus 2017-07-17 08:21:39 +02:00
sun4i_backend.c drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_backend.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_crtc.c drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_crtc.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_dotclock.c drm/sun4i: dotclock: Round to closest clock rate 2016-09-20 09:19:31 +02:00
sun4i_dotclock.h
sun4i_drv.c sun4i-drm changes for 4.13 2017-06-16 10:02:35 +10:00
sun4i_drv.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_framebuffer.c drm/sun4i: Move drm_mode_config_cleanup call to main driver 2017-03-07 22:15:14 +01:00
sun4i_framebuffer.h
sun4i_hdmi_ddc_clk.c drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
sun4i_hdmi_enc.c drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus 2017-07-17 08:21:39 +02:00
sun4i_hdmi_i2c.c drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus 2017-07-17 08:21:39 +02:00
sun4i_hdmi_tmds_clk.c drm/sun4i: Add HDMI support 2017-06-01 09:50:01 +02:00
sun4i_hdmi.h drm/sun4i: hdmi: Implement I2C adapter for A10s DDC bus 2017-07-17 08:21:39 +02:00
sun4i_layer.c drm/sun4i: constify drm_plane_helper_funcs 2017-07-17 08:21:33 +02:00
sun4i_layer.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00
sun4i_rgb.c drm/sun4i: tcon: Move the muxing out of the mode set function 2017-06-01 09:49:57 +02:00
sun4i_rgb.h drm/sun4i: rgb: Pass tcon pointer when initializing RGB encoder 2017-03-07 22:18:24 +01:00
sun4i_tcon.c drm/sun4i: tcon: multiply the vtotal when not in interlace 2017-06-01 09:49:59 +02:00
sun4i_tcon.h drm/sun4i: tcon: Change vertical total size computation inconsistency 2017-06-01 09:49:58 +02:00
sun4i_tv.c drm/sun4i: tcon: Move the muxing out of the mode set function 2017-06-01 09:49:57 +02:00
sun6i_drc.c Merge tag 'drm-misc-next-2016-11-16' of git://anongit.freedesktop.org/git/drm-misc into drm-next 2016-11-17 08:02:46 +10:00
sun8i_layer.c drm/sun4i: add support for Allwinner DE2 mixers 2017-06-01 09:49:54 +02:00
sun8i_layer.h drm/sun4i: add support for Allwinner DE2 mixers 2017-06-01 09:49:54 +02:00
sun8i_mixer.c drm/sun4i: add support for Allwinner DE2 mixers 2017-06-01 09:49:54 +02:00
sun8i_mixer.h drm/sun4i: add support for Allwinner DE2 mixers 2017-06-01 09:49:54 +02:00
sunxi_engine.h drm/sun4i: abstract a engine type 2017-06-01 09:47:23 +02:00