All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Jonathan Cameron <jic23@kernel.org>
Cc: Maxim Levitsky <maximlevitsky@gmail.com>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
	Hans de Goede <hdegoede@redhat.com>,
	linux-realtek-soc@lists.infradead.org,
	Oder Chiou <oder_chiou@realtek.com>,
	Ping-Ke Shih <pkshih@realtek.com>,
	nic_swsd <nic_swsd@realtek.com>,
	Derek Fang <derek.fang@realtek.com>,
	Hayes Wang <hayeswang@realtek.com>,
	Kailang Yang <kailang@realtek.com>,
	linux-iio <linux-iio@vger.kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	LKML <linux-kernel@vger.kernel.org>,
	info@ayaneo.com
Subject: Re: BMI160 accelerometer on AyaNeo tablet
Date: Wed, 20 Oct 2021 23:03:59 +0300	[thread overview]
Message-ID: <CAHp75Vf=tXsDd_mDDGtNF-TD3SAK0BycvZonoKq---Ucp79s=Q@mail.gmail.com> (raw)
In-Reply-To: <20211020183739.6a045ccc@jic23-huawei>

On Wed, Oct 20, 2021 at 8:33 PM Jonathan Cameron <jic23@kernel.org> wrote:
> On Tue, 19 Oct 2021 12:58:53 +0300
> Andy Shevchenko <andy.shevchenko@gmail.com> wrote:
> > On Mon, Oct 18, 2021 at 11:42 PM Maxim Levitsky <maximlevitsky@gmail.com> wrote:
> > > On Mon, Oct 18, 2021 at 10:02 PM Andy Shevchenko
> > > <andy.shevchenko@gmail.com> wrote:
> > > > On Mon, Oct 18, 2021 at 09:02:40PM +0300, Maxim Levitsky wrote:

...

> > > > This is done by the commit 8a0672003421 ("iio: accel: bmc150: Get
> > > > mount-matrix from ACPI") which needs to be amended to take care about
> > > > more devices, somewhere in drivers/iio/industialio-acpi.c ? Jonathan,
> > > > Hans, what do you think?
> > >
> > > If you like to, I can probably volunteer to prepare a patch for this myself next
> > > weekend, using this pointer as a reference.
>
> Hmm. This isn't part of the ACPI spec but seems to be a microsoft addition.
> The webpage google feeds me says this is windows 10 mobile specific...
> https://docs.microsoft.com/en-us/windows-hardware/drivers/sensors/sensors-acpi-entries

So, it means it is at least a standard de facto on Windows machines.
We have to support it whether we want it or not. Same happened with
USB (wired) devices and many other things (SPCR, DBG2, CSRT, ...).

> Whilst I haven't been paying particularly close attention, I haven't noticed
> any attempt to add this to a future ACPI spec. If anyone happens to have
> convenient Microsoft contacts to verify the status of this method that would
> be a good step before we in any way imply it is standard.  Until then my inclination
> is to keep this in the few drivers in which we know it is useful.

-- 
With Best Regards,
Andy Shevchenko

  reply	other threads:[~2021-10-20 20:04 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CACAwPwb7edLzX-KO1XVNWuQ3w=U0BfA=_kwiGCjZOpKfZpc2pw@mail.gmail.com>
2021-10-16 16:27 ` BMI160 accelerometer on AyaNeo tablet Maxim Levitsky
2021-10-17 10:58   ` Jonathan Cameron
2021-10-18  7:40     ` Andy Shevchenko
2021-10-18 15:17       ` Jonathan Cameron
2021-10-18 15:22         ` Andy Shevchenko
2021-10-18 15:30   ` Andy Shevchenko
2021-10-18 18:02     ` Maxim Levitsky
2021-10-18 19:02       ` Andy Shevchenko
2021-10-18 20:42         ` Maxim Levitsky
2021-10-19  9:58           ` Andy Shevchenko
2021-10-19 16:29             ` Maxim Levitsky
2021-10-20  2:31             ` Hayes Wang
     [not found]               ` <CAHp75VfB2FULb_jfQNg0wF9Z4jPkrKfmw6hSwtLg8Y1NhKks8g@mail.gmail.com>
2021-10-20 11:21                 ` Andy Shevchenko
2021-11-16 17:49                   ` Andy Shevchenko
2022-01-19 19:05                     ` Maxim Levitsky
2022-01-19 20:51                       ` Andy Shevchenko
2022-01-23 17:22                         ` Maxim Levitsky
2022-02-02 16:23                           ` Andy Shevchenko
2021-10-20 17:37             ` Jonathan Cameron
2021-10-20 20:03               ` Andy Shevchenko [this message]
2021-10-19  8:10         ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHp75Vf=tXsDd_mDDGtNF-TD3SAK0BycvZonoKq---Ucp79s=Q@mail.gmail.com' \
    --to=andy.shevchenko@gmail.com \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=derek.fang@realtek.com \
    --cc=hayeswang@realtek.com \
    --cc=hdegoede@redhat.com \
    --cc=info@ayaneo.com \
    --cc=jic23@kernel.org \
    --cc=kailang@realtek.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-realtek-soc@lists.infradead.org \
    --cc=maximlevitsky@gmail.com \
    --cc=nic_swsd@realtek.com \
    --cc=oder_chiou@realtek.com \
    --cc=pkshih@realtek.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.