diff mbox series

media: cros-ec-cec: Add Constitution to the match table

Message ID 20230816104125.712370-1-sadolfsson@google.com (mailing list archive)
State Superseded
Headers show
Series media: cros-ec-cec: Add Constitution to the match table | expand

Commit Message

Stefan Adolfsson Aug. 16, 2023, 10:41 a.m. UTC
From: Stefan Adolfsson <sadolfsson@chromium.org>

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@chromium.org>
---
 drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Guenter Roeck Aug. 16, 2023, 1:09 p.m. UTC | #1
On Wed, Aug 16, 2023 at 3:42 AM Stefan Adolfsson
<sadolfsson@chromium.org> wrote:
>
> From: Stefan Adolfsson <sadolfsson@chromium.org>
>
> 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@chromium.org>

Reviewed-by: Guenter Roeck <groeck@chromium.org>

> ---
>  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
>
diff mbox series

Patch

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,