Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-05-04 Thread Jonathan Cameron
On 27/04/15 16:01, Octavian Purdila wrote: > This patch derives the mounting matrix for a particular IIO device > based ont the ACPI _PLD information. Note that if mounting matrix is > defined in the device properties it overrieds the _PLD information. > > Signed-off-by: Octavian Purdila I have n

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-05-04 Thread Jonathan Cameron
On 28/04/15 03:23, Octavian Purdila wrote: > On Tue, Apr 28, 2015 at 12:57 AM, sathyanarayanan kuppuswamy > wrote: >> Hi >> >> On 04/27/2015 08:54 AM, Octavian Purdila wrote: >>> >>> On Mon, Apr 27, 2015 at 6:42 PM, Kuppuswamy Sathyanarayanan >>> wrote: Since Acpi framework already expo

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-05-04 Thread Srinivas Pandruvada
On Mon, 2015-05-04 at 11:21 +0300, Octavian Purdila wrote: > On Mon, May 4, 2015 at 4:11 AM, Sathyanarayanan Kuppuswamy > wrote: > > Hi Octavian, > > > > On 04/27/2015 07:23 PM, Octavian Purdila wrote: > >> > >> On Tue, Apr 28, 2015 at 12:57 AM, sathyanarayanan kuppuswamy > >> wrote: > >>> > >>>

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-05-04 Thread Octavian Purdila
On Mon, May 4, 2015 at 4:11 AM, Sathyanarayanan Kuppuswamy wrote: > Hi Octavian, > > On 04/27/2015 07:23 PM, Octavian Purdila wrote: >> >> On Tue, Apr 28, 2015 at 12:57 AM, sathyanarayanan kuppuswamy >> wrote: >>> >>> Hi >>> >>> On 04/27/2015 08:54 AM, Octavian Purdila wrote: On Mon, Ap

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-05-03 Thread Sathyanarayanan Kuppuswamy
Hi Octavian, On 04/27/2015 07:23 PM, Octavian Purdila wrote: On Tue, Apr 28, 2015 at 12:57 AM, sathyanarayanan kuppuswamy wrote: Hi On 04/27/2015 08:54 AM, Octavian Purdila wrote: On Mon, Apr 27, 2015 at 6:42 PM, Kuppuswamy Sathyanarayanan wrote: Since Acpi framework already exports this i

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-04-27 Thread Octavian Purdila
On Tue, Apr 28, 2015 at 12:57 AM, sathyanarayanan kuppuswamy wrote: > Hi > > On 04/27/2015 08:54 AM, Octavian Purdila wrote: >> >> On Mon, Apr 27, 2015 at 6:42 PM, Kuppuswamy Sathyanarayanan >> wrote: >>> >>> Since Acpi framework already exports this info to user space, Why not do >>> this deriva

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-04-27 Thread sathyanarayanan kuppuswamy
Hi On 04/27/2015 08:54 AM, Octavian Purdila wrote: On Mon, Apr 27, 2015 at 6:42 PM, Kuppuswamy Sathyanarayanan wrote: Since Acpi framework already exports this info to user space, Why not do this derivation in user space code ? Why do we need new ABI, if the same can be derived from existing o

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-04-27 Thread Octavian Purdila
On Mon, Apr 27, 2015 at 6:42 PM, Kuppuswamy Sathyanarayanan wrote: > Since Acpi framework already exports this info to user space, Why not do > this derivation in user space code ? Why do we need new ABI, if the same > can be derived from existing one. > The ABI was added in the previous patch so

Re: [RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-04-27 Thread Kuppuswamy Sathyanarayanan
Since Acpi framework already exports this info to user space, Why not do this derivation in user space code ? Why do we need new ABI, if the same can be derived from existing one. > This patch derives the mounting matrix for a particular IIO device > based ont the ACPI _PLD information. Note that

[RFC PATCH 3/3] iio: derive the mounting matrix from ACPI _PLD objects

2015-04-27 Thread Octavian Purdila
This patch derives the mounting matrix for a particular IIO device based ont the ACPI _PLD information. Note that if mounting matrix is defined in the device properties it overrieds the _PLD information. Signed-off-by: Octavian Purdila --- drivers/iio/industrialio-core.c | 51 +++