2021-12-21 05:04:31

by Zhuohao Lee

[permalink] [raw]
Subject: [PATCH] media: platform: Add brask to the match table

The Google Brask device uses the same approach as the Google Fix
which enables the HDMI CEC via the cros-ec-cec driver.

Signed-off-by: Zhuohao Lee <[email protected]>
---
drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++
1 file changed, 2 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 2d95e16cd248..8c8d8fc5e63e 100644
--- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
+++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
@@ -215,6 +215,8 @@ struct cec_dmi_match {
static const struct cec_dmi_match cec_dmi_match_table[] = {
/* Google Fizz */
{ "Google", "Fizz", "0000:00:02.0", "Port B" },
+ /* Google Brask */
+ { "Google", "Brask", "0000:00:02.0", "Port B" },
};

static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
--
2.34.1.307.g9b7440fafd-goog



2021-12-21 08:56:32

by Kieran Bingham

[permalink] [raw]
Subject: Re: [PATCH] media: platform: Add brask to the match table

Quoting Zhuohao Lee (2021-12-21 05:04:20)
> The Google Brask device uses the same approach as the Google Fix

Perhaps this should be /Google Fix/Google Fizz/ ?
But it otherwise looks sane.
--
Kieran


> which enables the HDMI CEC via the cros-ec-cec driver.
>
> Signed-off-by: Zhuohao Lee <[email protected]>
> ---
> drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++
> 1 file changed, 2 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 2d95e16cd248..8c8d8fc5e63e 100644
> --- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> +++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> @@ -215,6 +215,8 @@ struct cec_dmi_match {
> static const struct cec_dmi_match cec_dmi_match_table[] = {
> /* Google Fizz */
> { "Google", "Fizz", "0000:00:02.0", "Port B" },
> + /* Google Brask */
> + { "Google", "Brask", "0000:00:02.0", "Port B" },
> };
>
> static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
> --
> 2.34.1.307.g9b7440fafd-goog
>