mbox series

[v2,0/9] media: cros-ec-cec: Add support for multiple ports

Message ID 20230825024735.1443836-1-rekanorman@chromium.org (mailing list archive)
Headers show
Series media: cros-ec-cec: Add support for multiple ports | expand

Message

Reka Norman Aug. 25, 2023, 2:43 a.m. UTC
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(-)

Comments

patchwork-bot+chrome-platform@kernel.org Nov. 13, 2023, 3:23 a.m. UTC | #1
Hello:

This series was applied to chrome-platform/linux.git (for-kernelci)
by Hans Verkuil <hverkuil-cisco@xs4all.nl>:

On Fri, 25 Aug 2023 12:43:53 +1000 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [v2,1/9] media: cros-ec-cec: Use cros_ec_cmd to send host commands
    https://git.kernel.org/chrome-platform/c/afca12e35e71
  - [v2,2/9] media: cros-ec-cec: Manage an array of ports
    https://git.kernel.org/chrome-platform/c/4d0e179a4287
  - [v2,3/9] media: cros-ec-cec: Support multiple ports in set/get host commands
    https://git.kernel.org/chrome-platform/c/e90bd1fe7cda
  - [v2,4/9] media: cros-ec-cec: Support multiple ports in write command
    https://git.kernel.org/chrome-platform/c/adbfc747ddfb
  - [v2,5/9] media: cros-ec-cec: Support multiple ports in MKBP cec_events
    https://git.kernel.org/chrome-platform/c/1cabf52639d1
  - [v2,6/9] media: cros-ec-cec: Support receiving messages from multiple ports
    https://git.kernel.org/chrome-platform/c/425d20518c54
  - [v2,7/9] media: cros-ec-cec: Allow specifying multiple HDMI connectors
    https://git.kernel.org/chrome-platform/c/e7885b9c6564
  - [v2,8/9] media: cros-ec-cec: Get number of CEC ports from EC
    https://git.kernel.org/chrome-platform/c/5d227f02ceb9
  - [v2,9/9] media: cros-ec-cec: Add Dibbi to the match table
    https://git.kernel.org/chrome-platform/c/8d3e6030e30f

You are awesome, thank you!
patchwork-bot+chrome-platform@kernel.org Nov. 13, 2023, 3:42 a.m. UTC | #2
Hello:

This series was applied to chrome-platform/linux.git (for-next)
by Hans Verkuil <hverkuil-cisco@xs4all.nl>:

On Fri, 25 Aug 2023 12:43:53 +1000 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [v2,1/9] media: cros-ec-cec: Use cros_ec_cmd to send host commands
    https://git.kernel.org/chrome-platform/c/afca12e35e71
  - [v2,2/9] media: cros-ec-cec: Manage an array of ports
    https://git.kernel.org/chrome-platform/c/4d0e179a4287
  - [v2,3/9] media: cros-ec-cec: Support multiple ports in set/get host commands
    https://git.kernel.org/chrome-platform/c/e90bd1fe7cda
  - [v2,4/9] media: cros-ec-cec: Support multiple ports in write command
    https://git.kernel.org/chrome-platform/c/adbfc747ddfb
  - [v2,5/9] media: cros-ec-cec: Support multiple ports in MKBP cec_events
    https://git.kernel.org/chrome-platform/c/1cabf52639d1
  - [v2,6/9] media: cros-ec-cec: Support receiving messages from multiple ports
    https://git.kernel.org/chrome-platform/c/425d20518c54
  - [v2,7/9] media: cros-ec-cec: Allow specifying multiple HDMI connectors
    https://git.kernel.org/chrome-platform/c/e7885b9c6564
  - [v2,8/9] media: cros-ec-cec: Get number of CEC ports from EC
    https://git.kernel.org/chrome-platform/c/5d227f02ceb9
  - [v2,9/9] media: cros-ec-cec: Add Dibbi to the match table
    https://git.kernel.org/chrome-platform/c/8d3e6030e30f

You are awesome, thank you!