Re: [PATCH] media: cros-ec-cec: Add Constitution to the match table

From: Guenter Roeck
Date: Wed Aug 16 2023 - 09:10:26 EST


On Wed, Aug 16, 2023 at 3:42 AM Stefan Adolfsson
<sadolfsson@xxxxxxxxxxxx> wrote:
>
> From: Stefan Adolfsson <sadolfsson@xxxxxxxxxxxx>
>
> 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 <sadolfsson@xxxxxxxxxxxx>

Reviewed-by: Guenter Roeck <groeck@xxxxxxxxxxxx>

> ---
> drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> index 29f9a464857b..3c27349ce1d6 100644
> --- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> +++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> @@ -313,6 +313,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
> { "Google", "Lisbon", "0000:00:02.0", { "Port B" } },
> /* Google Dibbi */
> { "Google", "Dibbi", "0000:00:02.0", { "Port D", "Port B" } },
> + /* Google Constitution */
> + { "Google", "Constitution", "0000:00:02.0", { "Port B", "Port A" } },
> };
>
> static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
> --
> 2.41.0.694.ge786442a9b-goog
>