lkml.org 
[lkml]   [2023]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH v2 9/9] media: cros-ec-cec: Add Dibbi to the match table
Date
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>
---

Changes in v2:
- Use a NULL-terminated conns array for the Dibbi match table entry

drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 3 +++
1 file changed, 3 insertions(+)

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,
--
2.42.0.rc2.253.gd59a3bf2b4-goog
\
 
 \ /
  Last update: 2023-08-25 04:55    [W:0.154 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site