Files
kernel_common_drivers/drivers/media/cec/Makefile
T
hang cheng 14a29681a6 cec: add dump interface and enhance log [1/1]
PD#SWPL-97059

Problem:
1.need to add cec dump interface for bugreport
2.need to add cec tx/rx detail print

Solution:
1.add dump interface of cec registers and status
for bugreport, as below:
cat /sys/class/cec/dump_reg
cat /sys/class/cec/dump_status
2.add print for cec tx/rx detail
print is enabled by default for issue debug
purpose, if need to disable print:
(1)echo below command to disable temporarily
echo cec_log_en 0 > /sys/class/cec/dbg
(2)disable in dts aocec node as below
cec_log_en = <0>;

Verify:
S4/SC2/T7/T5D/T3/T5W

Change-Id: If942d52c19dfc965f25f0a729d4b0709a5129762
Signed-off-by: hang cheng <hang.cheng@amlogic.com>
2022-11-14 18:02:01 -07:00

8 lines
309 B
Makefile

# SPDX-License-Identifier: (GPL-2.0+ OR MIT)
ifdef CONFIG_AMLOGIC_LINUX_STD_CEC
$(MEDIA_MODULE_NAME)-$(CONFIG_AMLOGIC_AO_CEC) += cec/std_ao_cec.o cec/hdmi_aocec_api.o cec/hdmi_cec_dump.o
else
$(MEDIA_MODULE_NAME)-$(CONFIG_AMLOGIC_AO_CEC) += cec/hdmi_ao_cec.o cec/hdmi_aocec_api.o cec/hdmi_cec_dump.o
endif