Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Darren Hart
On 11/5/14 12:59, Rafael J. Wysocki wrote: > On Tuesday, November 04, 2014 03:42:38 PM Darren Hart wrote: >> >> On 11/4/14 14:54, Rafael J. Wysocki wrote: >> >>> From: Rafael J. Wysocki >>> Subject: ACPI / property: Drop size_prop from >>> acpi_dev_get_property_reference() >>> >>> The

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Rafael J. Wysocki
On Tuesday, November 04, 2014 03:42:38 PM Darren Hart wrote: > > On 11/4/14 14:54, Rafael J. Wysocki wrote: > > > From: Rafael J. Wysocki > > Subject: ACPI / property: Drop size_prop from > > acpi_dev_get_property_reference() > > > > The size_prop argument of the recently added function > >

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Rafael J. Wysocki
On Wednesday, November 05, 2014 11:16:22 AM Mika Westerberg wrote: > On Tue, Nov 04, 2014 at 11:54:41PM +0100, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > Subject: ACPI / property: Drop size_prop from > > acpi_dev_get_property_reference() > > > > The size_prop argument of the

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Darren Hart
On 11/4/14 14:54, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: ACPI / property: Drop size_prop from > acpi_dev_get_property_reference() > > The size_prop argument of the recently added function > acpi_dev_get_property_reference() is not used by the only current > caller of

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Mika Westerberg
On Tue, Nov 04, 2014 at 11:54:41PM +0100, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > Subject: ACPI / property: Drop size_prop from > acpi_dev_get_property_reference() > > The size_prop argument of the recently added function > acpi_dev_get_property_reference() is not used by the only

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Mika Westerberg
On Tue, Nov 04, 2014 at 11:54:41PM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / property: Drop size_prop from acpi_dev_get_property_reference() The size_prop argument of the recently added function acpi_dev_get_property_reference() is

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Darren Hart
On 11/4/14 14:54, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / property: Drop size_prop from acpi_dev_get_property_reference() The size_prop argument of the recently added function acpi_dev_get_property_reference() is not used by the only

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Rafael J. Wysocki
On Wednesday, November 05, 2014 11:16:22 AM Mika Westerberg wrote: On Tue, Nov 04, 2014 at 11:54:41PM +0100, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / property: Drop size_prop from acpi_dev_get_property_reference() The size_prop

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Rafael J. Wysocki
On Tuesday, November 04, 2014 03:42:38 PM Darren Hart wrote: On 11/4/14 14:54, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / property: Drop size_prop from acpi_dev_get_property_reference() The size_prop argument of the recently added

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-05 Thread Darren Hart
On 11/5/14 12:59, Rafael J. Wysocki wrote: On Tuesday, November 04, 2014 03:42:38 PM Darren Hart wrote: On 11/4/14 14:54, Rafael J. Wysocki wrote: From: Rafael J. Wysocki rafael.j.wyso...@intel.com Subject: ACPI / property: Drop size_prop from acpi_dev_get_property_reference() The

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Grant Likely
On Tue, Nov 4, 2014 at 10:54 PM, Rafael J. Wysocki wrote: > On Tuesday, November 04, 2014 05:06:40 PM Rafael J. Wysocki wrote: >> On Tuesday, November 04, 2014 02:48:40 PM Grant Likely wrote: >> > On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki >> > wrote: >> > > On Monday, November 03, 2014

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Rafael J. Wysocki
On Tuesday, November 04, 2014 05:06:40 PM Rafael J. Wysocki wrote: > On Tuesday, November 04, 2014 02:48:40 PM Grant Likely wrote: > > On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki > > wrote: > > > On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: > > >> On Sunday, November

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Rafael J. Wysocki
On Tuesday, November 04, 2014 02:48:40 PM Grant Likely wrote: > On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki wrote: > > On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: > >> On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: > >> > > >> > On 11/1/14 4:11, Grant

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Grant Likely
On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki wrote: > On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: >> On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: >> > >> > On 11/1/14 4:11, Grant Likely wrote: >> > > On Tue, 28 Oct 2014 22:59:57 +0100 >> > > , "Rafael J.

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Grant Likely
On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: On 11/1/14 4:11, Grant Likely wrote: On Tue, 28 Oct 2014 22:59:57 +0100 , Rafael J.

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Rafael J. Wysocki
On Tuesday, November 04, 2014 02:48:40 PM Grant Likely wrote: On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: On 11/1/14 4:11, Grant

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Rafael J. Wysocki
On Tuesday, November 04, 2014 05:06:40 PM Rafael J. Wysocki wrote: On Tuesday, November 04, 2014 02:48:40 PM Grant Likely wrote: On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: On Sunday,

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-04 Thread Grant Likely
On Tue, Nov 4, 2014 at 10:54 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, November 04, 2014 05:06:40 PM Rafael J. Wysocki wrote: On Tuesday, November 04, 2014 02:48:40 PM Grant Likely wrote: On Mon, Nov 3, 2014 at 9:52 PM, Rafael J. Wysocki r...@rjwysocki.net wrote: On

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-03 Thread Rafael J. Wysocki
On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: > On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: > > > > On 11/1/14 4:11, Grant Likely wrote: > > > On Tue, 28 Oct 2014 22:59:57 +0100 > > > , "Rafael J. Wysocki" > > > wrote: > > >> On Tuesday, October 28, 2014

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-03 Thread Rafael J. Wysocki
On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: > > On 11/1/14 4:11, Grant Likely wrote: > > On Tue, 28 Oct 2014 22:59:57 +0100 > > , "Rafael J. Wysocki" > > wrote: > >> On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: > >>> acpi_dev_add_driver_gpios() makes it

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-03 Thread Rafael J. Wysocki
On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: On 11/1/14 4:11, Grant Likely wrote: On Tue, 28 Oct 2014 22:59:57 +0100 , Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-03 Thread Rafael J. Wysocki
On Monday, November 03, 2014 04:25:08 PM Rafael J. Wysocki wrote: On Sunday, November 02, 2014 08:49:37 PM Darren Hart wrote: On 11/1/14 4:11, Grant Likely wrote: On Tue, 28 Oct 2014 22:59:57 +0100 , Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, October 28, 2014

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-02 Thread Darren Hart
On 11/1/14 4:11, Grant Likely wrote: > On Tue, 28 Oct 2014 22:59:57 +0100 > , "Rafael J. Wysocki" > wrote: >> On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: >>> acpi_dev_add_driver_gpios() makes it possible to set up mapping between >>> properties and ACPI GpioIo resources in

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-02 Thread Darren Hart
On 11/1/14 4:11, Grant Likely wrote: On Tue, 28 Oct 2014 22:59:57 +0100 , Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-01 Thread Grant Likely
On Tue, 28 Oct 2014 22:59:57 +0100 , "Rafael J. Wysocki" wrote: > On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: > > acpi_dev_add_driver_gpios() makes it possible to set up mapping between > > properties and ACPI GpioIo resources in a driver, so we can take index > > parameter

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-11-01 Thread Grant Likely
On Tue, 28 Oct 2014 22:59:57 +0100 , Rafael J. Wysocki r...@rjwysocki.net wrote: On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a driver, so we can take index

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Mika Westerberg
On Wed, Oct 29, 2014 at 03:51:59PM +0100, Rafael J. Wysocki wrote: > Never mind. I need to rebase the series anyway because of a bug in the > second patch, so I'll fold the $subject one into patch [5/12]. Thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 03:42:23 PM Rafael J. Wysocki wrote: > On Wednesday, October 29, 2014 10:54:29 AM Mika Westerberg wrote: > > On Wed, Oct 29, 2014 at 04:41:47PM +0900, Alexandre Courbot wrote: > > > On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: > > > >On Tuesday, October 28, 2014

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 10:54:29 AM Mika Westerberg wrote: > On Wed, Oct 29, 2014 at 04:41:47PM +0900, Alexandre Courbot wrote: > > On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: > > >On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: > > >>acpi_dev_add_driver_gpios() makes

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Mika Westerberg
On Wed, Oct 29, 2014 at 04:41:47PM +0900, Alexandre Courbot wrote: > On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: > >On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: > >>acpi_dev_add_driver_gpios() makes it possible to set up mapping between > >>properties and ACPI GpioIo

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Alexandre Courbot
On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a driver, so we can take index parameter in acpi_find_gpio() into use

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Alexandre Courbot
On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a driver, so we can take index parameter in acpi_find_gpio() into use

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Mika Westerberg
On Wed, Oct 29, 2014 at 04:41:47PM +0900, Alexandre Courbot wrote: On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 10:54:29 AM Mika Westerberg wrote: On Wed, Oct 29, 2014 at 04:41:47PM +0900, Alexandre Courbot wrote: On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Rafael J. Wysocki
On Wednesday, October 29, 2014 03:42:23 PM Rafael J. Wysocki wrote: On Wednesday, October 29, 2014 10:54:29 AM Mika Westerberg wrote: On Wed, Oct 29, 2014 at 04:41:47PM +0900, Alexandre Courbot wrote: On 10/29/2014 06:59 AM, Rafael J. Wysocki wrote: On Tuesday, October 28, 2014 01:15:27

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-29 Thread Mika Westerberg
On Wed, Oct 29, 2014 at 03:51:59PM +0100, Rafael J. Wysocki wrote: Never mind. I need to rebase the series anyway because of a bug in the second patch, so I'll fold the $subject one into patch [5/12]. Thank you. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-28 Thread Rafael J. Wysocki
On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: > acpi_dev_add_driver_gpios() makes it possible to set up mapping between > properties and ACPI GpioIo resources in a driver, so we can take index > parameter in acpi_find_gpio() into use with _DSD device properties now. > > This

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-28 Thread Darren Hart
On 10/28/14 4:15, Mika Westerberg wrote: > acpi_dev_add_driver_gpios() makes it possible to set up mapping between > properties and ACPI GpioIo resources in a driver, so we can take index > parameter in acpi_find_gpio() into use with _DSD device properties now. > > This index can be used to

[PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-28 Thread Mika Westerberg
acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a driver, so we can take index parameter in acpi_find_gpio() into use with _DSD device properties now. This index can be used to select a GPIO from a property with multiple GPIOs:

[PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-28 Thread Mika Westerberg
acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a driver, so we can take index parameter in acpi_find_gpio() into use with _DSD device properties now. This index can be used to select a GPIO from a property with multiple GPIOs:

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-28 Thread Darren Hart
On 10/28/14 4:15, Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a driver, so we can take index parameter in acpi_find_gpio() into use with _DSD device properties now. This index can be used to select a

Re: [PATCH] ACPI / GPIO: Pass index to acpi_get_gpiod_by_index() when using properties

2014-10-28 Thread Rafael J. Wysocki
On Tuesday, October 28, 2014 01:15:27 PM Mika Westerberg wrote: acpi_dev_add_driver_gpios() makes it possible to set up mapping between properties and ACPI GpioIo resources in a driver, so we can take index parameter in acpi_find_gpio() into use with _DSD device properties now. This index