lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <KL1PR01MB380907A7B0AD8A53727F87E2AEF7A@KL1PR01MB3809.apcprd01.prod.exchangelabs.com>
Date:   Thu, 14 Sep 2023 19:30:34 +0800
From:   Ken Lin <ken_lin5@...mail.com>
To:     LKML <linux-kernel@...r.kernel.org>
Cc:     groeck@...omium.org, Benson Leung <bleung@...omium.org>,
        Hans Verkuil <hverkuil-cisco@...all.nl>,
        Kevin Chiu <kevin.chiu.17802@...il.com>,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        Reka Norman <rekanorman@...omium.org>,
        Rory Liu <hellojacky0226@...mail.com>,
        Uwe Kleine-König 
        <u.kleine-koenig@...gutronix.de>,
        Zoey Wu <zoey_wu@...tron.corp-partner.google.com>,
        chrome-platform@...ts.linux.dev, linux-media@...r.kernel.org
Subject: [v2] media: platform: cros-ec: Add Taranza to the match table

Taranza has two HDMI ports which support CEC:
Port D is EC port 0
Port B is EC port 1

Signed-off-by: Ken Lin <ken_lin5@...mail.com>
---

Changes in v2:
 Use a NULL-terminated conns array for the 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 920aed0d1929..66e96abc9abf 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 @@ 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 char *const taranza_conns[] = { "Port D", "Port B", NULL };
 
 static const struct cec_dmi_match cec_dmi_match_table[] = {
 	/* Google Fizz */
@@ -322,6 +323,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
 	{ "Google", "Constitution", "0000:00:02.0", constitution_conns },
 	/* Google Boxy */
 	{ "Google", "Boxy", "0000:00:02.0", boxy_conns },
+	/* Google Taranza */
+	{ "Google", "Taranza", "0000:00:02.0", taranza_conns },
 };
 
 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
-- 
2.25.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ