Chrome platform driver development
 help / color / mirror / Atom feed
* [PATCH v2 0/9] media: cros-ec-cec: Add support for multiple ports
@ 2023-08-25  2:43 Reka Norman
  2023-08-25  2:43 ` [PATCH v2 1/9] media: cros-ec-cec: Use cros_ec_cmd to send host commands Reka Norman
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Reka Norman @ 2023-08-25  2:43 UTC (permalink / raw)
  To: Hans Verkuil
  Cc: Daisuke Nojiri, Neil Armstrong, Stefan Adolfsson, Reka Norman,
	Benson Leung, Guenter Roeck, Mauro Carvalho Chehab,
	chrome-platform, linux-kernel, linux-media


The Google Dibbi chromebox will have two HDMI ports with CEC enabled via
its EC. Currently, the cros-ec-cec driver and the host command interface
to the EC assume there is only one port. E.g. the commands have no
parameter to indicated which port to operate on.

This series adds support for multiple ports. The driver is modified to
manage an array of ports, each with their own CEC adapter and notifier.
The host command interface is modified to support multiple ports. All
changes to interface are backwards compatible.

Changes in v2:
- Make port_num unsigned in handle_cec_event
- Use NULL-terminated arrays for the conns field of cec_dmi_match
- Use a NULL-terminated conns array for the Dibbi match table entry

Reka Norman (9):
  media: cros-ec-cec: Use cros_ec_cmd to send host commands
  media: cros-ec-cec: Manage an array of ports
  media: cros-ec-cec: Support multiple ports in set/get host commands
  media: cros-ec-cec: Support multiple ports in write command
  media: cros-ec-cec: Support multiple ports in MKBP cec_events
  media: cros-ec-cec: Support receiving messages from multiple ports
  media: cros-ec-cec: Allow specifying multiple HDMI connectors
  media: cros-ec-cec: Get number of CEC ports from EC
  media: cros-ec-cec: Add Dibbi to the match table

 .../media/cec/platform/cros-ec/cros-ec-cec.c  | 379 ++++++++++++++----
 .../linux/platform_data/cros_ec_commands.h    |  66 ++-
 2 files changed, 357 insertions(+), 88 deletions(-)

-- 
2.42.0.rc2.253.gd59a3bf2b4-goog


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2023-11-13  3:42 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-25  2:43 [PATCH v2 0/9] media: cros-ec-cec: Add support for multiple ports Reka Norman
2023-08-25  2:43 ` [PATCH v2 1/9] media: cros-ec-cec: Use cros_ec_cmd to send host commands Reka Norman
2023-08-25  2:43 ` [PATCH v2 2/9] media: cros-ec-cec: Manage an array of ports Reka Norman
2023-08-25  2:43 ` [PATCH v2 3/9] media: cros-ec-cec: Support multiple ports in set/get host commands Reka Norman
2023-08-25  2:43 ` [PATCH v2 4/9] media: cros-ec-cec: Support multiple ports in write command Reka Norman
2023-08-25  2:43 ` [PATCH v2 5/9] media: cros-ec-cec: Support multiple ports in MKBP cec_events Reka Norman
2023-08-25  2:43 ` [PATCH v2 6/9] media: cros-ec-cec: Support receiving messages from multiple ports Reka Norman
2023-08-25  2:44 ` [PATCH v2 7/9] media: cros-ec-cec: Allow specifying multiple HDMI connectors Reka Norman
2023-08-25  2:44 ` [PATCH v2 8/9] media: cros-ec-cec: Get number of CEC ports from EC Reka Norman
2023-08-25  2:44 ` [PATCH v2 9/9] media: cros-ec-cec: Add Dibbi to the match table Reka Norman
2023-11-13  3:23 ` [PATCH v2 0/9] media: cros-ec-cec: Add support for multiple ports patchwork-bot+chrome-platform
2023-11-13  3:42 ` patchwork-bot+chrome-platform

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox