2022-09-06 03:38:11

by hellojacky0226

[permalink] [raw]
Subject: [PATCH] media: platform: cros-ec: Add Kuldax to the match table

From: Rory Liu <[email protected]>

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

Signed-off-by: Rory Liu <[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 3b583ed4da9d..3998e56616ce 100644
--- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
+++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
@@ -221,6 +221,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
{ "Google", "Moli", "0000:00:02.0", "Port B" },
/* Google Kinox */
{ "Google", "Kinox", "0000:00:02.0", "Port B" },
+ /* Google Kuldax */
+ { "Google", "Kuldax", "0000:00:02.0", "Port B" },
};

static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
--
2.25.1


2022-10-13 17:36:41

by Benson Leung

[permalink] [raw]
Subject: Re: [PATCH] media: platform: cros-ec: Add Kuldax to the match table

Hi Rory,


On Tue, Sep 06, 2022 at 11:30:16AM +0800, hellojacky0226 wrote:
> From: Rory Liu <[email protected]>
>
> The Google Kuldax device uses the same approach as the Google Brask
> which enables the HDMI CEC via the cros-ec-cec driver.
>
> Signed-off-by: Rory Liu <[email protected]>

Acked-By: Benson Leung <[email protected]>

Thank you!

Benson

> ---
>
> 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 3b583ed4da9d..3998e56616ce 100644
> --- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> +++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c
> @@ -221,6 +221,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = {
> { "Google", "Moli", "0000:00:02.0", "Port B" },
> /* Google Kinox */
> { "Google", "Kinox", "0000:00:02.0", "Port B" },
> + /* Google Kuldax */
> + { "Google", "Kuldax", "0000:00:02.0", "Port B" },
> };
>
> static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,
> --
> 2.25.1
>
>

--
Benson Leung
Staff Software Engineer
Chrome OS Kernel
Google Inc.
[email protected]
Chromium OS Project
[email protected]


Attachments:
(No filename) (1.29 kB)
signature.asc (235.00 B)
Download all attachments