Skip to contentSkip to conversation

media: cros-ec-cec: Add Constitution to the match table

PATCH Superseded Stefan Adolfsson 2 participants 2 messages Aug 16, 2023

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: cros-ec-cec: Add Constitution to the match table

From: Stefan Adolfsson <[email protected]>

Constitution has two HDMI ports which support CEC:
Port B is EC port 0
Port A is EC port 1

This patch depends on "media: cros-ec-cec: Add Dibbi to the match table".

---
 drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/media/cec/platform/cros-ec/cros-ec-cec.c +2 -0
index 29f9a464857b..3c27349ce1d6 100644
@@ -313,6 +313,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
 	{ "Google", "Lisbon", "0000:00:02.0", { "Port B" } },
 	/* Google Dibbi */
 	{ "Google", "Dibbi", "0000:00:02.0", { "Port D", "Port B" } },
+	/* Google Constitution */
+	{ "Google", "Constitution", "0000:00:02.0", { "Port B", "Port A" } },
 };
 
 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
Signature · 1 line
2.41.0.694.ge786442a9b-goog
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Stefan Adolfsson

From: Stefan Adolfsson <[email protected]>

Constitution has two HDMI ports which support CEC:
Port B is EC port 0
Port A is EC port 1

This patch depends on "media: cros-ec-cec: Add Dibbi to the match table".

Quoted 20 lines
---
 drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/media/cec/platform/cros-ec/cros-ec-cec.c +2 -1
index 29f9a464857b..3c27349ce1d6 100644
@@ -313,6 +313,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
        { "Google", "Lisbon", "0000:00:02.0", { "Port B" } },
        /* Google Dibbi */
        { "Google", "Dibbi", "0000:00:02.0", { "Port D", "Port B" } },
+       /* Google Constitution */
+       { "Google", "Constitution", "0000:00:02.0", { "Port B", "Port A" } },
 };
 
 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
--

2.41.0.694.ge786442a9b-goog