diff mbox

[1/2] hwmon: xgene: Support hwmon v2

Message ID 1506014230-13933-2-git-send-email-hotran@apm.com (mailing list archive)
State Accepted
Headers show

Commit Message

hotran Sept. 21, 2017, 5:17 p.m. UTC
This patch supports xgene-hwmon v2 which uses the non-cachable memory
as the PCC shared memory.

Signed-off-by: Hoan Tran <hotran@apm.com>
---
 drivers/hwmon/xgene-hwmon.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Guenter Roeck Oct. 1, 2017, 2:30 p.m. UTC | #1
On Thu, Sep 21, 2017 at 10:17:09AM -0700, hotran wrote:
> This patch supports xgene-hwmon v2 which uses the non-cachable memory
> as the PCC shared memory.
> 
> Signed-off-by: Hoan Tran <hotran@apm.com>

Applied to hwmon-next.

Thanks,
Guenter

> ---
>  drivers/hwmon/xgene-hwmon.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c
> index 9c0dbb8..5cd327e 100644
> --- a/drivers/hwmon/xgene-hwmon.c
> +++ b/drivers/hwmon/xgene-hwmon.c
> @@ -761,6 +761,7 @@ static int xgene_hwmon_remove(struct platform_device *pdev)
>  #ifdef CONFIG_ACPI
>  static const struct acpi_device_id xgene_hwmon_acpi_match[] = {
>  	{"APMC0D29", 0},
> +	{"APMC0D8A", 0},
>  	{},
>  };
>  MODULE_DEVICE_TABLE(acpi, xgene_hwmon_acpi_match);
--
To unsubscribe from this list: send the line "unsubscribe linux-hwmon" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/hwmon/xgene-hwmon.c b/drivers/hwmon/xgene-hwmon.c
index 9c0dbb8..5cd327e 100644
--- a/drivers/hwmon/xgene-hwmon.c
+++ b/drivers/hwmon/xgene-hwmon.c
@@ -761,6 +761,7 @@  static int xgene_hwmon_remove(struct platform_device *pdev)
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id xgene_hwmon_acpi_match[] = {
 	{"APMC0D29", 0},
+	{"APMC0D8A", 0},
 	{},
 };
 MODULE_DEVICE_TABLE(acpi, xgene_hwmon_acpi_match);