All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: linux-iio@vger.kernel.org, Jordi Torres <majosamaso@gmail.com>
Subject: Re: [PATCH] iio: proximity: sx9360: Add a new ACPI hardware ID
Date: Sun, 6 Nov 2022 16:32:00 +0000	[thread overview]
Message-ID: <20221106163200.7f889ade@jic23-huawei> (raw)
In-Reply-To: <20221105225157.10081-1-gwendal@chromium.org>

On Sat,  5 Nov 2022 15:51:57 -0700
Gwendal Grignou <gwendal@chromium.org> wrote:

> From
> https://treexy.com/products/driver-fusion/database/sensors/semtech/sx9360-proximity/
> 
> sx9360 SAR sensor can be presented with ACPI ID SAMM0208.
> 
> Reported-by: Jordi Torres <majosamaso@gmail.com>
> Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
> ---
>  drivers/iio/proximity/sx9360.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/iio/proximity/sx9360.c b/drivers/iio/proximity/sx9360.c
> index d9a12e6be6ca6..4ebc5784aa6d9 100644
> --- a/drivers/iio/proximity/sx9360.c
> +++ b/drivers/iio/proximity/sx9360.c
> @@ -865,6 +865,7 @@ static SIMPLE_DEV_PM_OPS(sx9360_pm_ops, sx9360_suspend, sx9360_resume);
>  
>  static const struct acpi_device_id sx9360_acpi_match[] = {
>  	{ "STH9360", SX9360_WHOAMI_VALUE },
> +	{ "SAMM0208", SX9360_WHOAMI_VALUE },

SAMM doesn't immediately seem to be a valid ACPI vendor ID.
Anyone have a path to poke people to do this right or confirm whose ID that one is?

Reality is we'll have to live with it, but I like to complain first in vague hope that
people will one day play by the rules!  Given semtech has a PNP ID (STH is valid)
I'm not sure why someone would use an ACPI ID that doesn't seem to be (unless it
is very recent and no one has updated the DB on uefi.org yet).

Jonathan


>  	{ }
>  };
>  MODULE_DEVICE_TABLE(acpi, sx9360_acpi_match);


  reply	other threads:[~2022-11-06 16:32 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05 22:51 [PATCH] iio: proximity: sx9360: Add a new ACPI hardware ID Gwendal Grignou
2022-11-06 16:32 ` Jonathan Cameron [this message]
2022-11-07  4:28   ` Gwendal Grignou
2022-11-07 17:04     ` Jonathan Cameron

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=20221106163200.7f889ade@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=gwendal@chromium.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=majosamaso@gmail.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.