linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ACPI DSDT support for mount-matrix?
@ 2016-11-22 10:50 Bastien Nocera
  2016-11-27 11:50 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Bastien Nocera @ 2016-11-22 10:50 UTC (permalink / raw)
  To: linux-iio; +Cc: Gregor Boirie, faouaz.tenoutit, Rafael J. Wysocki

Hey,

Gregor added support for exporting the mount matrix from the Device
Tree to the IIO accelerometer:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1

And Faouaz wanted to add support for exporting the mount matrix from
the ACPI DSDT to sysfs as well:
http://www.spinics.net/lists/linux-acpi/msg51540.html

Would it be possible to rework that ACPI patch to export the mount
matrix through IIO as is done for DeviceTree-based machines?

I'm adding mount-matrix support to iio-sensor-proxy, which currently
means getting that information from the firmware through the IIO
device, using udev as a way to override that, if the firmware doesn't
contain that information. I'd like to avoid having 3 different sources
for the value.

Cheers

PS: I'd also be interested in that _PLD information to export the
information to webcams.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: ACPI DSDT support for mount-matrix?
  2016-11-22 10:50 ACPI DSDT support for mount-matrix? Bastien Nocera
@ 2016-11-27 11:50 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2016-11-27 11:50 UTC (permalink / raw)
  To: Bastien Nocera, linux-iio
  Cc: Gregor Boirie, faouaz.tenoutit, Rafael J. Wysocki

On 22/11/16 10:50, Bastien Nocera wrote:
> Hey,
> 
> Gregor added support for exporting the mount matrix from the Device
> Tree to the IIO accelerometer:
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dfc57732ad38f93ae6232a3b4e64fd077383a0f1
> 
> And Faouaz wanted to add support for exporting the mount matrix from
> the ACPI DSDT to sysfs as well:
> http://www.spinics.net/lists/linux-acpi/msg51540.html
> 
> Would it be possible to rework that ACPI patch to export the mount
> matrix through IIO as is done for DeviceTree-based machines?
There is obviously a lot of other information in there.  Is it possible to access this via
interfaces within the kernel?  Obviously we could replicate parts of your patch set to
read them directly but it would be good to avoid any code duplication (not that it looks
like it would be that much!)

Jonathan
> 
> I'm adding mount-matrix support to iio-sensor-proxy, which currently
> means getting that information from the firmware through the IIO
> device, using udev as a way to override that, if the firmware doesn't
> contain that information. I'd like to avoid having 3 different sources
> for the value.
> 
> Cheers
> 
> PS: I'd also be interested in that _PLD information to export the
> information to webcams.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-iio" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-11-27 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-22 10:50 ACPI DSDT support for mount-matrix? Bastien Nocera
2016-11-27 11:50 ` Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).