2020-01-27 11:17:48

by Oleksij Rempel

[permalink] [raw]
Subject: [PATCH V1] eeprom: at24: add TPF0001 ACPI ID for 24c1024 device

From: Markus Pietrek <[email protected]>

This ID is used at leas on some variants of MSC C6B-SLH board.

Signed-off-by: Markus Pietrek <[email protected]>
Signed-off-by: Oleksij Rempel <[email protected]>
---
drivers/misc/eeprom/at24.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 2cccd82a3106..1c8e2ff96d9d 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -228,6 +228,7 @@ MODULE_DEVICE_TABLE(of, at24_of_match);

static const struct acpi_device_id at24_acpi_ids[] = {
{ "INT3499", (kernel_ulong_t)&at24_data_INT3499 },
+ { "TPF0001", (kernel_ulong_t)&at24_data_24c1024 },
{ /* END OF LIST */ }
};
MODULE_DEVICE_TABLE(acpi, at24_acpi_ids);
--
2.25.0


2020-01-29 10:59:21

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH V1] eeprom: at24: add TPF0001 ACPI ID for 24c1024 device

pon., 27 sty 2020 o 11:35 Oleksij Rempel <[email protected]> napisał(a):
>
> From: Markus Pietrek <[email protected]>
>
> This ID is used at leas on some variants of MSC C6B-SLH board.
>
> Signed-off-by: Markus Pietrek <[email protected]>
> Signed-off-by: Oleksij Rempel <[email protected]>
> ---
> drivers/misc/eeprom/at24.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
> index 2cccd82a3106..1c8e2ff96d9d 100644
> --- a/drivers/misc/eeprom/at24.c
> +++ b/drivers/misc/eeprom/at24.c
> @@ -228,6 +228,7 @@ MODULE_DEVICE_TABLE(of, at24_of_match);
>
> static const struct acpi_device_id at24_acpi_ids[] = {
> { "INT3499", (kernel_ulong_t)&at24_data_INT3499 },
> + { "TPF0001", (kernel_ulong_t)&at24_data_24c1024 },
> { /* END OF LIST */ }
> };
> MODULE_DEVICE_TABLE(acpi, at24_acpi_ids);
> --
> 2.25.0
>

Looks good, I'll queue it for v5.7 after the merge window.

Bartosz

2020-02-10 10:05:34

by Bartosz Golaszewski

[permalink] [raw]
Subject: Re: [PATCH V1] eeprom: at24: add TPF0001 ACPI ID for 24c1024 device

pon., 27 sty 2020 o 11:35 Oleksij Rempel <[email protected]> napisał(a):
>
> From: Markus Pietrek <[email protected]>
>
> This ID is used at leas on some variants of MSC C6B-SLH board.
>
> Signed-off-by: Markus Pietrek <[email protected]>
> Signed-off-by: Oleksij Rempel <[email protected]>
> ---
> drivers/misc/eeprom/at24.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
> index 2cccd82a3106..1c8e2ff96d9d 100644
> --- a/drivers/misc/eeprom/at24.c
> +++ b/drivers/misc/eeprom/at24.c
> @@ -228,6 +228,7 @@ MODULE_DEVICE_TABLE(of, at24_of_match);
>
> static const struct acpi_device_id at24_acpi_ids[] = {
> { "INT3499", (kernel_ulong_t)&at24_data_INT3499 },
> + { "TPF0001", (kernel_ulong_t)&at24_data_24c1024 },
> { /* END OF LIST */ }
> };
> MODULE_DEVICE_TABLE(acpi, at24_acpi_ids);
> --
> 2.25.0
>

Patch applied.

Bartosz