Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New libCEC compatible cec driver for the C2 #183

Merged
merged 2 commits into from Apr 20, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 8 additions & 0 deletions drivers/amlogic/hdmi/Kconfig
Expand Up @@ -34,4 +34,12 @@ config AML_HDMI_TX_HDCP
hdmitx hdcp enable, it should be enalbe if board burned hdmitx hdcp keys
endif

if AML_HDMI_TX_20
config AML_HDMI_TX_NEW_CEC_DRIVER
bool "HDMI new CEC driver"
default n
help
hdmitx uses new CEC driver
endif

endmenu
9 changes: 7 additions & 2 deletions drivers/amlogic/hdmi/hdmi_tx_20/Makefile
@@ -1,8 +1,13 @@
obj-$(CONFIG_AML_HDMI_TX_20) += hdmitx20.o

hdmitx20-objs := hdmi_tx_main.o hdmi_tx_video.o hdmi_tx_audio.o hdmi_tx_edid.o \
hdmi_tx_audio.o hdmi_tx_hdcp.o hdmi_tx_scdc.o hdmi_tx_cec.o \
hdmi_cec_key.o
hdmi_tx_audio.o hdmi_tx_hdcp.o hdmi_tx_scdc.o

ifdef CONFIG_AML_HDMI_TX_NEW_CEC_DRIVER
hdmitx20-objs += amlogic_cec.o
else
hdmitx20-objs += hdmi_cec_key.o hdmi_tx_cec.o
endif
obj-$(CONFIG_AML_HDMI_TX_20) += hw/

#EXTRA_CFLAGS += -O2