From beeefd75fa35bc037bff10fc4f65434eb4429750 Mon Sep 17 00:00:00 2001 From: "rasheed.hsueh" Date: Fri, 18 Aug 2023 10:58:48 +0800 Subject: 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 Signed-off-by: Hans Verkuil [hverkuil: updated to the new multi-port datastructures] --- drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'drivers/media/cec') 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, -- cgit v1.2.3