Skip to contentSkip to conversation

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

PATCH Applied Stefan Adolfsson 3 participants 4 messages Sep 11, 2023 – Nov 13, 2023

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH v2 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".

---
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(+)
drivers/media/cec/platform/cros-ec/cros-ec-cec.c +3 -0
index 21361eff50ff..85431af65224 100644
@@ -296,6 +296,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 char *const constitution_conns[] = { "Port B", "Port A", NULL };
 
 static const struct cec_dmi_match cec_dmi_match_table[] = {
 	/* Google Fizz */
@@ -316,6 +317,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
 	{ "Google", "Lisbon", "0000:00:02.0", fizz_conns },
 	/* Google Dibbi */
 	{ "Google", "Dibbi", "0000:00:02.0", dibbi_conns },
+	/* Google Constitution */
+	{ "Google", "Constitution", "0000:00:02.0", constitution_conns },
 };
 
 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
Signature · 1 line
2.42.0.283.g2d96d420d3-goog
#1 lore raw
Quoted 30 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".

---
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(+)
drivers/media/cec/platform/cros-ec/cros-ec-cec.c +1 -0
index 21361eff50ff..85431af65224 100644
@@ -296,6 +296,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 char *const constitution_conns[] = { "Port B", "Port A", NULL };
 
 static const struct cec_dmi_match cec_dmi_match_table[] = {
 	/* Google Fizz */

drivers/media/cec/platform/cros-ec/cros-ec-cec.c static const struct cec_dmi_match cec_dmi_match_table[] = { · line 324

Quoted 8 lines
drivers/media/cec/platform/cros-ec/cros-ec-cec.c +2 -0
@@ -316,6 +317,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
 	{ "Google", "Lisbon", "0000:00:02.0", fizz_conns },
 	/* Google Dibbi */
 	{ "Google", "Dibbi", "0000:00:02.0", dibbi_conns },
+	/* Google Constitution */
+	{ "Google", "Constitution", "0000:00:02.0", constitution_conns },
 };
 
 static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,

I made that change myself when I merged your v1 patch. So I just mark this v2 as Obsolete in patchwork.

Regards,

Hans

#2 lore raw
In reply to Stefan Adolfsson
This patch was applied to chrome-platform/linux.git (for-kernelci) by Hans Verkuil <[email protected]>:

Hello:

This patch was applied to chrome-platform/linux.git (for-kernelci) by Hans Verkuil <[email protected]>:

Quoted 10 lines · On Mon, 11 Sep 2023 10:19:21 +0200 you wrote:

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".

[...]

Here is the summary with links:
- [v2] media: cros-ec-cec: Add Constitution to the match table

    https://git.kernel.org/chrome-platform/c/5bc2de5f517d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
#3 lore raw
In reply to Stefan Adolfsson
This patch was applied to chrome-platform/linux.git (for-next) by Hans Verkuil <[email protected]>:

Hello:

This patch was applied to chrome-platform/linux.git (for-next) by Hans Verkuil <[email protected]>:

Quoted 10 lines · On Mon, 11 Sep 2023 10:19:21 +0200 you wrote:

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".

[...]

Here is the summary with links:
- [v2] media: cros-ec-cec: Add Constitution to the match table

    https://git.kernel.org/chrome-platform/c/5bc2de5f517d

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html