linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add another customer ID for NCT6683D sensor chip on some ASRock boards.
@ 2021-09-21 16:58 Daniel Dawson
  2021-09-24  2:02 ` Guenter Roeck
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Dawson @ 2021-09-21 16:58 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Jean Delvare, linux-hwmon, linux-kernel, Daniel Dawson

This value was found on a Z370M Pro4 rev. 1.01, with an
NCT6683D-T chip.

Signed-off-by: Daniel Dawson <danielcdawson@gmail.com>
---
 drivers/hwmon/nct6683.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/drivers/hwmon/nct6683.c b/drivers/hwmon/nct6683.c
index 35f8635dc7f3..6a9f420e7d32 100644
--- a/drivers/hwmon/nct6683.c
+++ b/drivers/hwmon/nct6683.c
@@ -174,6 +174,7 @@ superio_exit(int ioreg)
 #define NCT6683_CUSTOMER_ID_MITAC	0xa0e
 #define NCT6683_CUSTOMER_ID_MSI		0x201
 #define NCT6683_CUSTOMER_ID_ASROCK		0xe2c
+#define NCT6683_CUSTOMER_ID_ASROCK2	0xe1b
 
 #define NCT6683_REG_BUILD_YEAR		0x604
 #define NCT6683_REG_BUILD_MONTH		0x605
@@ -1221,6 +1222,8 @@ static int nct6683_probe(struct platform_device *pdev)
 		break;
 	case NCT6683_CUSTOMER_ID_ASROCK:
 		break;
+	case NCT6683_CUSTOMER_ID_ASROCK2:
+		break;
 	default:
 		if (!force)
 			return -ENODEV;
-- 
2.33.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add another customer ID for NCT6683D sensor chip on some ASRock boards.
  2021-09-21 16:58 [PATCH] Add another customer ID for NCT6683D sensor chip on some ASRock boards Daniel Dawson
@ 2021-09-24  2:02 ` Guenter Roeck
  0 siblings, 0 replies; 2+ messages in thread
From: Guenter Roeck @ 2021-09-24  2:02 UTC (permalink / raw)
  To: Daniel Dawson; +Cc: Jean Delvare, linux-hwmon, linux-kernel

On Tue, Sep 21, 2021 at 09:58:59AM -0700, Daniel Dawson wrote:
> This value was found on a Z370M Pro4 rev. 1.01, with an
> NCT6683D-T chip.
> 
> Signed-off-by: Daniel Dawson <danielcdawson@gmail.com>

Applied. In the future, please indicate the subsystem and the affected
driver in the subject line. See other patches for examples.

Thanks,
Guenter

> ---
>  drivers/hwmon/nct6683.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/drivers/hwmon/nct6683.c b/drivers/hwmon/nct6683.c
> index 35f8635dc7f3..6a9f420e7d32 100644
> --- a/drivers/hwmon/nct6683.c
> +++ b/drivers/hwmon/nct6683.c
> @@ -174,6 +174,7 @@ superio_exit(int ioreg)
>  #define NCT6683_CUSTOMER_ID_MITAC	0xa0e
>  #define NCT6683_CUSTOMER_ID_MSI		0x201
>  #define NCT6683_CUSTOMER_ID_ASROCK		0xe2c
> +#define NCT6683_CUSTOMER_ID_ASROCK2	0xe1b
>  
>  #define NCT6683_REG_BUILD_YEAR		0x604
>  #define NCT6683_REG_BUILD_MONTH		0x605
> @@ -1221,6 +1222,8 @@ static int nct6683_probe(struct platform_device *pdev)
>  		break;
>  	case NCT6683_CUSTOMER_ID_ASROCK:
>  		break;
> +	case NCT6683_CUSTOMER_ID_ASROCK2:
> +		break;
>  	default:
>  		if (!force)
>  			return -ENODEV;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-24  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-21 16:58 [PATCH] Add another customer ID for NCT6683D sensor chip on some ASRock boards Daniel Dawson
2021-09-24  2:02 ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).