[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250508161334.2.I4b139dfca0cbb20f0c9096a40b47f097f40ec235@changeid>
Date: Thu, 8 May 2025 16:19:04 +0800
From: Kells Ping <kells.ping@...nta.corp-partner.google.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: groeck@...omium.org,
Kells Ping <kells.ping@...nta.corp-partner.google.com>,
Benson Leung <bleung@...omium.org>,
Hans Verkuil <hverkuil@...all.nl>,
Mauro Carvalho Chehab <mchehab@...nel.org>,
Uwe Kleine-König <u.kleine-koenig@...libre.com>,
chrome-platform@...ts.linux.dev,
linux-media@...r.kernel.org
Subject: [PATCH 2/2] [v3] media: platform: cros-ec: Add Dirks to the match table
The Google Dirks device uses the same approach as the Google Brask
which enables the HDMI CEC via the cros-ec-cec driver.
Signed-off-by: Kells Ping <kells.ping@...nta.corp-partner.google.com>
---
Changes in v3: update ports
native driver cec is port 0.
bitbang driver cec is port 1.
---
drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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 a8d31c3126f8..81b4524c69f4 100644
--- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
+++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
@@ -298,6 +298,7 @@ struct cec_dmi_match {
static const char *const port_b_conns[] = { "Port B", NULL };
static const char *const port_db_conns[] = { "Port D", "Port B", NULL };
static const char *const port_ba_conns[] = { "Port B", "Port A", NULL };
+static const char *const port_ab_conns[] = { "Port A", "Port B", NULL };
static const char *const port_d_conns[] = { "Port D", NULL };
static const struct cec_dmi_match cec_dmi_match_table[] = {
@@ -330,7 +331,7 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
/* Google Dita */
{ "Google", "Dita", "0000:00:02.0", port_db_conns },
/* Google Dirks */
- { "Google", "Dirks", "0000:00:02.0", port_db_conns },
+ { "Google", "Dirks", "0000:00:02.0", port_ab_conns },
};
static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
--
2.34.1
Powered by blists - more mailing lists