media: platform: cros-ec: Add Boxy to the match table
authorrasheed.hsueh <rasheed.hsueh@lcfc.corp-partner.google.com>
Fri, 18 Aug 2023 02:58:48 +0000 (10:58 +0800)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 27 Sep 2023 07:39:55 +0000 (09:39 +0200)
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 <rasheed.hsueh@lcfc.corp-partner.google.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
[hverkuil: updated to the new multi-port datastructures]

drivers/media/cec/platform/cros-ec/cros-ec-cec.c

index 85431af652240c80577b8469e815c75c5ebbc54e..920aed0d19295d8374a4094cb9cd48be817ed9ac 100644 (file)
@@ -297,6 +297,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 char *const constitution_conns[] = { "Port B", "Port A", NULL };
+static const char *const boxy_conns[] = { "Port D", NULL };
 
 static const struct cec_dmi_match cec_dmi_match_table[] = {
        /* Google Fizz */
@@ -319,6 +320,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
        { "Google", "Dibbi", "0000:00:02.0", dibbi_conns },
        /* Google Constitution */
        { "Google", "Constitution", "0000:00:02.0", constitution_conns },
+       /* Google Boxy */
+       { "Google", "Boxy", "0000:00:02.0", boxy_conns },
 };
 
 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,