linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Andy Shevchenko <andy.shevchenko@gmail.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	Jeremy Cline <jeremy@jcline.org>,
	linux-iio <linux-iio@vger.kernel.org>
Subject: Re: [PATCH 1/3] iio: accel: bmc150: Improve ACPI enumeration support
Date: Sat, 28 Nov 2020 13:46:04 +0000	[thread overview]
Message-ID: <20201128134604.7703aee8@archlinux> (raw)
In-Reply-To: <17447d78-c637-ad6b-2e38-c4ce82587598@redhat.com>

On Sat, 28 Nov 2020 14:32:49 +0100
Hans de Goede <hdegoede@redhat.com> wrote:

> Hi,
> 
> On 11/28/20 2:16 PM, Jonathan Cameron wrote:
> > On Wed, 25 Nov 2020 11:49:15 +0100
> > Hans de Goede <hdegoede@redhat.com> wrote:
> >   
> >> Hi,
> >>
> >> On 11/25/20 11:41 AM, Andy Shevchenko wrote:  
> >>> On Wed, Nov 25, 2020 at 10:37 AM Hans de Goede <hdegoede@redhat.com> wrote:    
> >>>>
> >>>> Hi All,
> >>>>
> >>>> This series improves support for ACPI enumeration of bmc150 accels
> >>>> described by an ACPI node with an ACPI hw-id of BOSC0200:
> >>>>
> >>>> 1. Add support for nodes which describe 2 acceleromers in a single node,    
> >>>
> >>> accelerometers
> >>>     
> >>>> fixing: https://bugzilla.kernel.org/show_bug.cgi?id=198671
> >>>>
> >>>> 2. Add support for reading the mount-matrix from the ACPI node.
> >>>>
> >>>> This is done in patches 2 - 3, patch 1 is a trivial cleanup which I noticed
> >>>> could be done while working on this.
> >>>>
> >>>> Patch 2 is based on an earlier patch for this from Jeremy Cline:
> >>>> https://lore.kernel.org/r/010001602cf53153-39ad69f1-1b39-4e6d-a748-9455a16c2fbd-000000@email.amazonses.com
> >>>>
> >>>> That patch was put on hold because normally ACPI nodes which describe
> >>>> multiple i2c-clients in a single node are handled by:
> >>>> drivers/platform/x86/i2c-multi-instantiate.c
> >>>>
> >>>> Which I tried to do at first, but as explained in the commit msg
> >>>> of the updated patch, that is not possible in this special case
> >>>> (because it would cause userspace breakage due to the modalias changing).    
> >>>
> >>> This is marked as patch 1?!    
> >>
> >> Yes my bad, sorry.
> >>  
> >>> Usually --cover-letter produces a correct template...    
> >>
> >> I use --compose, time to switch to --cover-letter instead I guess.
> >>
> >> Regards,
> >>
> >> Hans
> >>  
> > 
> > Other than the minor bits Andy mentioned I'm fine with this.
> > 
> > It does sort of feel like we should be gathering documentation somewhere of
> > where this crazy stuff has been seen in the wild.  
> 
> I can provide an (incomplete) list of devices known to use the BOSC0200 ACPI HID,
> both in single and dual accelerometer configs.
> 
> In lieu of a better place, I guess I could best just drop this info in
> a big comment block near the ACPI mount-matrix parsing stuff ?
> 
> If you agree that a comment is a reasonable place to place this info I
> can add this for v2 of the patch-set.
It is as good a place as any so go for it.

thanks,

Jonathan

p.s. Mailing list is messing around today I think as neither I nor lore.kernel.org
are getting mails from it.  It'll probably be resolved shorty but in meantime
discussion may get a bit separated and I can't use b4 for new patches which
will make it trickier to apply things until that is fixed.

> 
> Regards,
> 
> Hans
> 


      reply	other threads:[~2020-11-28 22:22 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25  8:36 [PATCH 1/3] iio: accel: bmc150: Improve ACPI enumeration support Hans de Goede
2020-11-25  8:36 ` [PATCH 1/3] iio: accel: bmc150: Removed unused bmc150_accel_dat irq member Hans de Goede
2020-11-25  8:36 ` [PATCH 2/3] iio: accel: bmc150: Check for a second ACPI device for BOSC0200 Hans de Goede
2020-11-25 10:55   ` Andy Shevchenko
2020-11-25 11:11     ` Hans de Goede
2020-11-25 11:20       ` Andy Shevchenko
2020-11-25 16:09         ` Hans de Goede
2020-11-25 16:34           ` Andy Shevchenko
2020-11-25  8:36 ` [PATCH 3/3] iio: accel: bmc150: Get mount-matrix from ACPI Hans de Goede
2020-11-25 11:07   ` Andy Shevchenko
2020-11-25 11:12     ` Hans de Goede
2020-11-25 11:21       ` Andy Shevchenko
2020-11-25 10:41 ` [PATCH 1/3] iio: accel: bmc150: Improve ACPI enumeration support Andy Shevchenko
2020-11-25 10:49   ` Hans de Goede
2020-11-28 13:16     ` Jonathan Cameron
2020-11-28 13:32       ` Hans de Goede
2020-11-28 13:46         ` Jonathan Cameron [this message]

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=20201128134604.7703aee8@archlinux \
    --to=jic23@kernel.org \
    --cc=andy.shevchenko@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=jeremy@jcline.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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 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).