summaryrefslogtreecommitdiffstats
path: root/drivers/media/cec
diff options
context:
space:
mode:
authorReka Norman <rekanorman@chromium.org>2023-08-25 12:44:02 +1000
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-09-27 09:39:55 +0200
commit8d3e6030e30fd1f2fad74265219f4ba39170a4ba (patch)
treeed6b27546fcd6bf785cde1653b3b15a884aa59ec /drivers/media/cec
parent5d227f02ceb9cc120cf04efbd77e12da182a5f62 (diff)
downloadlinux-8d3e6030e30fd1f2fad74265219f4ba39170a4ba.tar.gz
linux-8d3e6030e30fd1f2fad74265219f4ba39170a4ba.tar.bz2
linux-8d3e6030e30fd1f2fad74265219f4ba39170a4ba.zip
media: cros-ec-cec: Add Dibbi to the match table
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>
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 993deb85d3e2..21361eff50ff 100644
--- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
+++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
@@ -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,