| beeefd75 | 18-Aug-2023 |
rasheed.hsueh <[email protected]> |
media: platform: cros-ec: Add Boxy to the match table
The Google Boxy device uses the same approach as the Google Brask which enables the HDMI CEC via the cros-ec-cec driver.
Signed-off-by: rasheed
media: platform: cros-ec: Add Boxy to the match table
The Google Boxy device uses the same approach as the Google Brask which enables the HDMI CEC via the cros-ec-cec driver.
Signed-off-by: rasheed.hsueh <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> [hverkuil: updated to the new multi-port datastructures]
show more ...
|
| 5bc2de5f | 16-Aug-2023 |
Stefan Adolfsson <[email protected]> |
media: cros-ec-cec: Add Constitution to the match table
Constitution has two HDMI ports which support CEC: Port B is EC port 0 Port A is EC port 1
This patch depends on "media: cros-ec-cec:
media: cros-ec-cec: Add Constitution to the match table
Constitution has two HDMI ports which support CEC: Port B is EC port 0 Port A is EC port 1
This patch depends on "media: cros-ec-cec: Add Dibbi to the match table".
Signed-off-by: Stefan Adolfsson <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Hans Verkuil <[email protected]> [hverkuil: updated to the new multi-port datastructures]
show more ...
|
| 5d227f02 | 25-Aug-2023 |
Reka Norman <[email protected]> |
media: cros-ec-cec: Get number of CEC ports from EC
Add a new CEC port count host command and use it to query the number of CEC ports from the EC. If the host command is not supported then it must b
media: cros-ec-cec: Get number of CEC ports from EC
Add a new CEC port count host command and use it to query the number of CEC ports from the EC. If the host command is not supported then it must be old EC firmware which only supports one port, so fall back to assuming one port.
This patch completes support for multiple ports in cros-ec-cec.
Signed-off-by: Reka Norman <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 425d2051 | 25-Aug-2023 |
Reka Norman <[email protected]> |
media: cros-ec-cec: Support receiving messages from multiple ports
Currently, received messages are sent from the EC in the cec_message MKBP event. Since the size of ec_response_get_next_data_v1 is
media: cros-ec-cec: Support receiving messages from multiple ports
Currently, received messages are sent from the EC in the cec_message MKBP event. Since the size of ec_response_get_next_data_v1 is 16 bytes, which is also the maximum size of a CEC message, there is no space to add a port parameter. Increasing the size of ec_response_get_next_data_v1 is an option, but this would increase EC-kernel traffic for all MKBP event types.
Instead, use an event to notify that data is ready, and add a new read command to read the data.
For backwards compatibility with old EC firmware, continue to handle cec_message events as well.
Signed-off-by: Reka Norman <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| adbfc747 | 25-Aug-2023 |
Reka Norman <[email protected]> |
media: cros-ec-cec: Support multiple ports in write command
Add a v1 of the CEC write command which contains a port parameter. Check which versions of the write command the EC supports and use the h
media: cros-ec-cec: Support multiple ports in write command
Add a v1 of the CEC write command which contains a port parameter. Check which versions of the write command the EC supports and use the highest supported version. If it only supports v0, check that there is only one port. With v0, the EC will assume all write commands are for port 0.
Signed-off-by: Reka Norman <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| e90bd1fe | 25-Aug-2023 |
Reka Norman <[email protected]> |
media: cros-ec-cec: Support multiple ports in set/get host commands
Reuse the top four bits of the cmd field to specify the port number. The reason for doing this as opposed to adding a separate uin
media: cros-ec-cec: Support multiple ports in set/get host commands
Reuse the top four bits of the cmd field to specify the port number. The reason for doing this as opposed to adding a separate uint8_t field is it avoids the need to add new versions of these commands. The change is backwards compatible since these bits were previously always zero, so the default behaviour is to always operate on port 0.
Signed-off-by: Reka Norman <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| 4d0e179a | 25-Aug-2023 |
Reka Norman <[email protected]> |
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
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 <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
show more ...
|
| bbe9cfc7 | 07-Jul-2023 |
Hans Verkuil <[email protected]> |
media: cec-gpio: drop the cec_gpio_free callback
Since the CEC pin framework now keeps track of the interrupt and calls disable_irq when the kthread stops, there is no longer any need for the cec-gp
media: cec-gpio: drop the cec_gpio_free callback
Since the CEC pin framework now keeps track of the interrupt and calls disable_irq when the kthread stops, there is no longer any need for the cec-gpio driver to do this in the free callback. So drop this code.
Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|