summaryrefslogtreecommitdiffstats
path: root/drivers/media/cec
diff options
context:
space:
mode:
authorrasheed.hsueh <rasheed.hsueh@lcfc.corp-partner.google.com>2023-08-18 10:58:48 +0800
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 09:39:55 +0200
commitbeeefd75fa35bc037bff10fc4f65434eb4429750 (patch)
treecd23a3c6aa18a17c1a10c3cdc6228eec922ccdda /drivers/media/cec
parent5bc2de5f517d561a5b8dc472d3ba17d0f32b122e (diff)
downloadlinux-beeefd75fa35bc037bff10fc4f65434eb4429750.tar.gz
linux-beeefd75fa35bc037bff10fc4f65434eb4429750.tar.bz2
linux-beeefd75fa35bc037bff10fc4f65434eb4429750.zip
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 <rasheed.hsueh@lcfc.corp-partner.google.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> [hverkuil: updated to the new multi-port datastructures]
Diffstat (limited to 'drivers/media/cec')
-rw-r--r--drivers/media/cec/platform/cros-ec/cros-ec-cec.c3
1 files changed, 3 insertions, 0 deletions
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 85431af65224..920aed0d1929 100644
--- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
+++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
@@ -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,