Re: [PATCH v2] iio: Allow to read mount matrix from ACPI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Feb 20, 2019 at 06:31:28PM +0000, Jonathan Cameron wrote:
> On Wed, 20 Feb 2019 20:54:41 +0300
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> wrote:
> 
> > Currently mount matrix is allowed in Device Tree, though there is
> > no technical issue to extend it to support ACPI.
> > 
> > Convert the function to use device_property_read_string_array() and
> > thus allow to read mount matrix from ACPI if available.
> > 
> > Example of use in _DSD method:
> > 
> >   Name (_DSD, Package ()
> >   {
> >      ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
> >      Package ()
> >      {
> >         Package () { "mount-matrix", Package() {
> >                 "1", "0",     "0",
> >                 "0", "0.866", "0.5",
> >                 "0", "-0.5",  "0.866",
> >         } },
> >      }
> >   })
> > 
> > At the same time drop the "of" prefix from its name and
> > convert current users.
> > 
> > No functional change intended.
> > 
> > Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> You got a stray white space. I'll fix up.
> 
> Would like this to sit for a few days though before I take it.
> We have missed this merge window anyway so no rush.

Completely fine with me, thanks!

-- 
With Best Regards,
Andy Shevchenko





[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux