2016-03-11 03:15:18

by Wang, Annie

[permalink] [raw]
Subject: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller

Add device HID AMDI0030 to match the AMD ACPI Vendor ID (AMDI) as
registered in http://www.uefi.org/acpi_id_list, and the GPIO controller
on future AMD paltform will use the HID instead of AMD0030.

Signed-off-by: Wang Hongcheng <[email protected]>
---
drivers/pinctrl/pinctrl-amd.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c
index 3318f1d..d7eb9ad 100644
--- a/drivers/pinctrl/pinctrl-amd.c
+++ b/drivers/pinctrl/pinctrl-amd.c
@@ -849,6 +849,7 @@ static int amd_gpio_remove(struct platform_device *pdev)

static const struct acpi_device_id amd_gpio_acpi_match[] = {
{ "AMD0030", 0 },
+ { "AMDI0030", 0},
{ },
};
MODULE_DEVICE_TABLE(acpi, amd_gpio_acpi_match);
--
1.9.1


2016-03-16 05:26:39

by Xue, Ken

[permalink] [raw]
Subject: RE: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller

> From: Wang Hongcheng [mailto:[email protected]]
> Sent: Friday, March 11, 2016 10:59 AM
> To: Linus Walleij; [email protected]; [email protected];
> SPG_Linux_Kernel
> Cc: Wang, Annie
> Subject: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller
>
> Add device HID AMDI0030 to match the AMD ACPI Vendor ID (AMDI) as
> registered in http://www.uefi.org/acpi_id_list, and the GPIO controller on
> future AMD paltform will use the HID instead of AMD0030.
>
> Signed-off-by: Wang Hongcheng <[email protected]>
> ---

Acked-by: Ken Xue <[email protected]>

Hi Linus,
Can you please help apply and queue this patch into V4.6?
Thanks.

> drivers/pinctrl/pinctrl-amd.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/pinctrl/pinctrl-amd.c b/drivers/pinctrl/pinctrl-amd.c index
> 3318f1d..d7eb9ad 100644
> --- a/drivers/pinctrl/pinctrl-amd.c
> +++ b/drivers/pinctrl/pinctrl-amd.c
> @@ -849,6 +849,7 @@ static int amd_gpio_remove(struct platform_device
> *pdev)
>
> static const struct acpi_device_id amd_gpio_acpi_match[] = {
> { "AMD0030", 0 },
> + { "AMDI0030", 0},
> { },
> };
> MODULE_DEVICE_TABLE(acpi, amd_gpio_acpi_match);
> --
> 1.9.1

2016-03-17 13:31:51

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller

On Wed, Mar 16, 2016 at 6:10 AM, Xue, Ken <[email protected]> wrote:
>> From: Wang Hongcheng [mailto:[email protected]]
>> Sent: Friday, March 11, 2016 10:59 AM
>> To: Linus Walleij; [email protected]; [email protected];
>> SPG_Linux_Kernel
>> Cc: Wang, Annie
>> Subject: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller
>>
>> Add device HID AMDI0030 to match the AMD ACPI Vendor ID (AMDI) as
>> registered in http://www.uefi.org/acpi_id_list, and the GPIO controller on
>> future AMD paltform will use the HID instead of AMD0030.
>>
>> Signed-off-by: Wang Hongcheng <[email protected]>
>> ---
>
> Acked-by: Ken Xue <[email protected]>
>
> Hi Linus,
> Can you please help apply and queue this patch into V4.6?

No way, we are in the middle of the merge window.
This will be queued for v4.7 once -rc1 is released.

Yours,
Linus Walleij

2016-03-31 08:19:30

by Linus Walleij

[permalink] [raw]
Subject: Re: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller

On Fri, Mar 11, 2016 at 3:58 AM, Wang Hongcheng <[email protected]> wrote:

> Add device HID AMDI0030 to match the AMD ACPI Vendor ID (AMDI) as
> registered in http://www.uefi.org/acpi_id_list, and the GPIO controller
> on future AMD paltform will use the HID instead of AMD0030.
>
> Signed-off-by: Wang Hongcheng <[email protected]>

Patch applied with Ken's ACK.

Yours,
Linus Walleij