1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Platform drivers
4
5config CEC_CROS_EC
6	tristate "ChromeOS EC CEC driver"
7	depends on CROS_EC
8	select CEC_CORE
9	select CEC_NOTIFIER
10	select CROS_EC_PROTO
11	help
12	  If you say yes here you will get support for the
13	  ChromeOS Embedded Controller's CEC.
14	  The CEC bus is present in the HDMI connector and enables communication
15	  between compatible devices.
16
17config CEC_MESON_AO
18	tristate "Amlogic Meson AO CEC driver"
19	depends on ARCH_MESON || COMPILE_TEST
20	select CEC_CORE
21	select CEC_NOTIFIER
22	help
23	  This is a driver for Amlogic Meson SoCs AO CEC interface. It uses the
24	  generic CEC framework interface.
25	  CEC bus is present in the HDMI connector and enables communication
26
27config CEC_MESON_G12A_AO
28	tristate "Amlogic Meson G12A AO CEC driver"
29	depends on ARCH_MESON || COMPILE_TEST
30	depends on COMMON_CLK && OF
31	select REGMAP
32	select REGMAP_MMIO
33	select CEC_CORE
34	select CEC_NOTIFIER
35	help
36	  This is a driver for Amlogic Meson G12A SoCs AO CEC interface.
37	  This driver if for the new AO-CEC module found in G12A SoCs,
38	  usually named AO_CEC_B in documentation.
39	  It uses the generic CEC framework interface.
40	  CEC bus is present in the HDMI connector and enables communication
41	  between compatible devices.
42
43config CEC_GPIO
44	tristate "Generic GPIO-based CEC driver"
45	depends on PREEMPTION || COMPILE_TEST
46	select CEC_CORE
47	select CEC_PIN
48	select CEC_NOTIFIER
49	select GPIOLIB
50	help
51	  This is a generic GPIO-based CEC driver.
52	  The CEC bus is present in the HDMI connector and enables communication
53	  between compatible devices.
54
55config CEC_SAMSUNG_S5P
56	tristate "Samsung S5P CEC driver"
57	depends on ARCH_EXYNOS || COMPILE_TEST
58	select CEC_CORE
59	select CEC_NOTIFIER
60	help
61	  This is a driver for Samsung S5P HDMI CEC interface. It uses the
62	  generic CEC framework interface.
63	  CEC bus is present in the HDMI connector and enables communication
64	  between compatible devices.
65
66config CEC_STI
67	tristate "STMicroelectronics STiH4xx HDMI CEC driver"
68	depends on ARCH_STI || COMPILE_TEST
69	select CEC_CORE
70	select CEC_NOTIFIER
71	help
72	  This is a driver for STIH4xx HDMI CEC interface. It uses the
73	  generic CEC framework interface.
74	  CEC bus is present in the HDMI connector and enables communication
75	  between compatible devices.
76
77config CEC_STM32
78	tristate "STMicroelectronics STM32 HDMI CEC driver"
79	depends on ARCH_STM32 || COMPILE_TEST
80	select REGMAP
81	select REGMAP_MMIO
82	select CEC_CORE
83	help
84	  This is a driver for STM32 interface. It uses the
85	  generic CEC framework interface.
86	  CEC bus is present in the HDMI connector and enables communication
87	  between compatible devices.
88
89config CEC_TEGRA
90	tristate "Tegra HDMI CEC driver"
91	depends on ARCH_TEGRA || COMPILE_TEST
92	select CEC_CORE
93	select CEC_NOTIFIER
94	help
95	  This is a driver for the Tegra HDMI CEC interface. It uses the
96	  generic CEC framework interface.
97	  The CEC bus is present in the HDMI connector and enables communication
98	  between compatible devices.
99
100config CEC_SECO
101	tristate "SECO Boards HDMI CEC driver"
102	depends on (X86 || IA64) || COMPILE_TEST
103	depends on PCI && DMI
104	select CEC_CORE
105	select CEC_NOTIFIER
106	help
107	  This is a driver for SECO Boards integrated CEC interface.
108	  Selecting it will enable support for this device.
109	  CEC bus is present in the HDMI connector and enables communication
110	  between compatible devices.
111
112config CEC_SECO_RC
113	bool "SECO Boards IR RC5 support"
114	depends on CEC_SECO
115	depends on RC_CORE=y || RC_CORE = CEC_SECO
116	help
117	  If you say yes here you will get support for the
118	  SECO Boards Consumer-IR in seco-cec driver.
119	  The embedded controller supports RC5 protocol only, default mapping
120	  is set to rc-hauppauge.
121