pinctrl: amd:Add device HID for future AMD GPIO controller
diff mbox

Message ID 1457665122-16365-1-git-send-email-annie.wang@amd.com
State New
Headers show

Commit Message

Wang Hongcheng March 11, 2016, 2:58 a.m. UTC
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 <annie.wang@amd.com>
---
 drivers/pinctrl/pinctrl-amd.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Ken Xue March 16, 2016, 5:10 a.m. UTC | #1
> From: Wang Hongcheng [mailto:annie.wang@amd.com]
> Sent: Friday, March 11, 2016 10:59 AM
> To: Linus Walleij; linux-gpio@vger.kernel.org; linux-kernel@vger.kernel.org;
> 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 <annie.wang@amd.com>
> ---

Acked-by: Ken Xue <ken.Xue@amd.com>

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

--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Walleij March 17, 2016, 1:31 p.m. UTC | #2
On Wed, Mar 16, 2016 at 6:10 AM, Xue, Ken <Ken.Xue@amd.com> wrote:
>> From: Wang Hongcheng [mailto:annie.wang@amd.com]
>> Sent: Friday, March 11, 2016 10:59 AM
>> To: Linus Walleij; linux-gpio@vger.kernel.org; linux-kernel@vger.kernel.org;
>> 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 <annie.wang@amd.com>
>> ---
>
> Acked-by: Ken Xue <ken.Xue@amd.com>
>
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Linus Walleij March 31, 2016, 8:19 a.m. UTC | #3
On Fri, Mar 11, 2016 at 3:58 AM, Wang Hongcheng <annie.wang@amd.com> 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 <annie.wang@amd.com>

Patch applied with Ken's ACK.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Patch
diff mbox

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);