summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorReka Norman <rekanorman@chromium.org>2023-08-25 05:43:55 +0300
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 10:39:54 +0300
commit4d0e179a42879f7d76a5b95a2e7e7a5afa33954a (patch)
tree9f8f1d17061dc85e6bb423f8586954fcde11ce3e /include/linux/platform_data
parentafca12e35e711ae8f97e835a3704cc305592eac9 (diff)
downloadlinux-4d0e179a42879f7d76a5b95a2e7e7a5afa33954a.tar.xz
media: cros-ec-cec: Manage an array of ports
To support multiple CEC ports, change cros_ec_cec to contain an array of ports, each with their own CEC adapter, etc. For now, only create a single port and use that port everywhere, so there is no functional change. Support for multiple ports will be added in the following patches. Signed-off-by: Reka Norman <rekanorman@chromium.org> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/cros_ec_commands.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/platform_data/cros_ec_commands.h b/include/linux/platform_data/cros_ec_commands.h
index ab721cf13a98..cb2ddd10a613 100644
--- a/include/linux/platform_data/cros_ec_commands.h
+++ b/include/linux/platform_data/cros_ec_commands.h
@@ -4436,6 +4436,8 @@ struct ec_response_i2c_passthru_protect {
* These commands are for sending and receiving message via HDMI CEC
*/
+#define EC_CEC_MAX_PORTS 16
+
#define MAX_CEC_MSG_LEN 16
/* CEC message from the AP to be written on the CEC bus */