media: cros-ec-cec: Manage an array of ports
authorReka Norman <rekanorman@chromium.org>
Fri, 25 Aug 2023 02:43:55 +0000 (12:43 +1000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:39:54 +0000 (09:39 +0200)
commit4d0e179a42879f7d76a5b95a2e7e7a5afa33954a
tree9f8f1d17061dc85e6bb423f8586954fcde11ce3e
parentafca12e35e711ae8f97e835a3704cc305592eac9
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>
drivers/media/cec/platform/cros-ec/cros-ec-cec.c
include/linux/platform_data/cros_ec_commands.h