MLK-17289-5: hdmi cec: change cec driver architecture
authorSandor Yu <Sandor.yu@nxp.com>
Fri, 22 Dec 2017 10:10:31 +0000 (18:10 +0800)
committerLeonard Crestez <leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000 (02:51 +0300)
commitf8065d36ebd543de5617a4deea06b0a28161bb04
tree7a3c49508bc331e90ac9a56544b0774ad7a71817
parent346ab9b71054d1ec7fa8f52c83f5dbce59381135
MLK-17289-5: hdmi cec: change cec driver architecture

Change hdmi cec driver architecture.
Embedded cec function to hdmi driver.
Rewrite cec_read and cec_write fucntion
to support both imx8qm and imx8mq cec.

Signed-off-by: Sandor Yu <Sandor.yu@nxp.com>
Also include MLK-17289-6: hdp drm: Add cec register/unregister function

Add cec register/unregister function in hdp drm driver.
Add is_cec variable to check cec function setting in dtb.

Squashed MLK-17289-5 and MLK-17289-6 from imx_4.9.y because they only
build together.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
drivers/gpu/drm/imx/hdp/imx-cec.c
drivers/gpu/drm/imx/hdp/imx-cec.h
drivers/gpu/drm/imx/hdp/imx-hdp.c
drivers/gpu/drm/imx/hdp/imx-hdp.h