mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Guenter Roeck <linux@roeck-us.net>
To: Sebastian Kranz <tklightforce@googlemail.com>
Cc: samsagax@gmail.com, derekjohn.clark@gmail.com, jdelvare@suse.com,
	linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add support for Ayaneo Air Plus 7320u.
Date: Wed, 7 Feb 2024 06:55:39 -0800	[thread overview]
Message-ID: <099bc4e3-ec08-4604-90cf-5691a98441b2@roeck-us.net> (raw)
In-Reply-To: <20240207084206.2204-1-tklightforce@googlemail.com>

On 2/7/24 00:42, Sebastian Kranz wrote:
> ---

Patch description missing.

>   drivers/hwmon/oxp-sensors.c | 10 ++++++++++
>   1 file changed, 10 insertions(+)
> 
> diff --git a/drivers/hwmon/oxp-sensors.c b/drivers/hwmon/oxp-sensors.c
> index ea9602063eab..8d3b0f86cc57 100644
> --- a/drivers/hwmon/oxp-sensors.c
> +++ b/drivers/hwmon/oxp-sensors.c
> @@ -43,6 +43,7 @@ enum oxp_board {
>   	aok_zoe_a1 = 1,
>   	aya_neo_2,
>   	aya_neo_air,
> +	aya_neo_air_plus_mendo,
>   	aya_neo_air_pro,
>   	aya_neo_geek,
>   	oxp_mini_amd,
> @@ -98,6 +99,13 @@ static const struct dmi_system_id dmi_table[] = {
>   		},
>   		.driver_data = (void *)aya_neo_air,
>   	},
> +	{
> +		.matches = {
> +			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
> +			DMI_EXACT_MATCH(DMI_BOARD_NAME, "AB05-Mendocino"),
> +		},
> +		.driver_data = (void *)aya_neo_air_plus_mendo,
> +	},
>   	{
>   		.matches = {
>   			DMI_MATCH(DMI_BOARD_VENDOR, "AYANEO"),
> @@ -332,6 +340,7 @@ static int oxp_platform_read(struct device *dev, enum hwmon_sensor_types type,
>   			switch (board) {
>   			case aya_neo_2:
>   			case aya_neo_air:
> +			case aya_neo_air_plus_mendo:
>   			case aya_neo_air_pro:
>   			case aya_neo_geek:
>   			case oxp_mini_amd:
> @@ -374,6 +383,7 @@ static int oxp_platform_write(struct device *dev, enum hwmon_sensor_types type,
>   			switch (board) {
>   			case aya_neo_2:
>   			case aya_neo_air:
> +			case aya_neo_air_plus_mendo:
>   			case aya_neo_air_pro:
>   			case aya_neo_geek:
>   			case oxp_mini_amd:


  reply	other threads:[~2024-02-07 14:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-07  8:42 Sebastian Kranz
2024-02-07 14:55 ` Guenter Roeck [this message]
2024-02-08 12:25   ` Sebastian Kranz
2024-02-08 14:14     ` Guenter Roeck
2024-02-09  9:01       ` [PATCH V2] hwmon: (oxp-sensors) " Sebastian Kranz
2024-02-09 15:01         ` Guenter Roeck
2024-02-09 19:51           ` Sebastian Kranz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=099bc4e3-ec08-4604-90cf-5691a98441b2@roeck-us.net \
    --to=linux@roeck-us.net \
    --cc=derekjohn.clark@gmail.com \
    --cc=jdelvare@suse.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=samsagax@gmail.com \
    --cc=tklightforce@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®