media: cros-ec-cec: Add Dibbi to the match table
authorReka Norman <rekanorman@chromium.org>
Fri, 25 Aug 2023 02:44:02 +0000 (12:44 +1000)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:39:55 +0000 (09:39 +0200)
Dibbi has two HDMI ports which support CEC:
Port D is EC port 0
Port B is EC port 1

Signed-off-by: Reka Norman <rekanorman@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/cec/platform/cros-ec/cros-ec-cec.c

index 993deb85d3e28b959a42b0eccf9d32543dabeb54..21361eff50ff5badfed8eeec803bb73a2fcbbfe3 100644 (file)
@@ -295,6 +295,7 @@ struct cec_dmi_match {
 };
 
 static const char *const fizz_conns[] = { "Port B", NULL };
+static const char *const dibbi_conns[] = { "Port D", "Port B", NULL };
 
 static const struct cec_dmi_match cec_dmi_match_table[] = {
        /* Google Fizz */
@@ -313,6 +314,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
        { "Google", "Gladios", "0000:00:02.0", fizz_conns },
        /* Google Lisbon */
        { "Google", "Lisbon", "0000:00:02.0", fizz_conns },
+       /* Google Dibbi */
+       { "Google", "Dibbi", "0000:00:02.0", dibbi_conns },
 };
 
 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,