linux/drivers/gpu/drm/omapdrm/dss
Tony Lindgren 36a1da15b5 drm/omap: hdmi4_cec: Fix CEC clock handling for PM
If CONFIG_OMAP4_DSS_HDMI_CEC is enabled in .config, deeper SoC idle
states are blocked because the CEC clock gets always enabled on init.

Let's fix the issue by moving the CEC clock handling to happen later in
hdmi_cec_adap_enable() as suggested by Hans Verkuil <hverkuil@xs4all.nl>.
This way the CEC clock gets only enabled when needed. This can be tested
by doing cec-ctl --playback to enable the CEC, and doing cec-ctl --clear
to disable it.

Let's also fix the typo for "divider" in the comments while at it.

Fixes: 8d7f934df8 ("omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support")
Suggested-by: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Jyri Sarha <jsarha@ti.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Reviewed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190326151438.32414-1-tony@atomide.com
2019-03-27 11:10:51 +02:00
..
base.c drm/omap: Move most omap_dss_driver operations to omap_dss_device_ops 2018-09-03 16:13:29 +03:00
core.c drm/omap: dss: Move platform_device_register from core.c to dss.c probe 2018-09-03 16:13:25 +03:00
dispc_coefs.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
dispc.c drm/omap: Substitute format_is_yuv() with format->is_yuv 2018-10-02 09:36:56 +03:00
dispc.h drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
display.c drm/omap: dss: Add function to retrieve display for an output 2018-09-03 16:13:27 +03:00
dpi.c drm/omap: Don't call .set_timings() operation recursively 2018-09-03 16:13:30 +03:00
dsi.c drm/omap: dsi: Hack-fix DSI bus flags 2019-02-06 13:39:03 +02:00
dss-of.c drm/omap: dss: Extend omapdss_of_find_source_for_first_ep() to sinks 2018-09-03 16:13:27 +03:00
dss.c drm/omap: Populate DSS children in omapdss driver 2018-11-12 11:50:13 +02:00
dss.h drm/omap: Call dispc timings check operation directly 2018-09-03 16:13:30 +03:00
hdmi4_cec.c drm/omap: hdmi4_cec: Fix CEC clock handling for PM 2019-03-27 11:10:51 +02:00
hdmi4_cec.h omapdrm: hdmi4_cec: add OMAP4 HDMI CEC support 2017-10-12 10:49:14 +03:00
hdmi4_core.c drm/omap: fix typo 2019-03-27 11:03:38 +02:00
hdmi4_core.h drm: omapdrm: hdmi4: Allocate the omap_hdmi data structure dynamically 2018-03-01 09:18:18 +02:00
hdmi4.c drm/omap: Move DISPC runtime PM handling to omapdrm 2018-11-12 11:50:13 +02:00
hdmi5_core.c drm/omap: hdmi: Constify video mode and related pointers 2018-09-03 16:13:30 +03:00
hdmi5_core.h
hdmi5.c drm/omap: Move DISPC runtime PM handling to omapdrm 2018-11-12 11:50:13 +02:00
hdmi_common.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdmi_phy.c drm: omapdrm: Use unsigned int type 2018-03-01 09:09:10 +02:00
hdmi_pll.c drm: omapdrm: dss: Store the registered plls array in struct dss_device 2018-03-01 09:18:18 +02:00
hdmi_wp.c drm/omap: hdmi: Constify video mode and related pointers 2018-09-03 16:13:30 +03:00
hdmi.h drm/omap: hdmi: Constify video mode and related pointers 2018-09-03 16:13:30 +03:00
Kconfig omapdrm: hdmi4: hook up the HDMI CEC support 2017-10-12 10:49:14 +03:00
Makefile main drm pull request for v4.15 2017-11-15 20:42:10 -08:00
omapdss-boot-init.c drm: omapdrm: Remove filename from header and fix copyright tag 2017-12-19 11:21:32 +02:00
omapdss.h drm/omap: fix bus_flags for panel-dpi 2018-12-03 14:36:05 +02:00
output.c drm/omap: dss: Remove the dss_mgr_(dis)connect() operations 2018-09-03 16:13:28 +03:00
pll.c drm/omap: Implement workaround for DRA7 errata ID:i932 2018-06-28 13:41:05 +03:00
sdi.c drm/omap: Don't call .set_timings() operation recursively 2018-09-03 16:13:30 +03:00
venc.c drm/omap: Move DISPC runtime PM handling to omapdrm 2018-11-12 11:50:13 +02:00
video-pll.c drm/omap: Implement workaround for DRA7 errata ID:i932 2018-06-28 13:41:05 +03:00