All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Gwendal Grignou <gwendal@chromium.org>
Cc: Jonathan Cameron <jic23@kernel.org>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Stephen Boyd <swboyd@chromium.org>,
	Daniel Campello <campello@chromium.org>,
	linux-iio <linux-iio@vger.kernel.org>
Subject: Re: [PATCH v5 2/2] iio: sx9310: Support ACPI properties
Date: Fri, 19 Mar 2021 19:48:36 +0200	[thread overview]
Message-ID: <CAHp75VeEV1ttWd1SKdrLYJZyN=4nDgcoKPTBCbdXOdh=J5fG8g@mail.gmail.com> (raw)
In-Reply-To: <20210319165807.3639636-3-gwendal@chromium.org>

On Fri, Mar 19, 2021 at 6:58 PM Gwendal Grignou <gwendal@chromium.org> wrote:
>
> Use device_property_read_... to support both device tree and ACPI

device_property_read_uXX()

> bindings when reading the properties we need to configure the SAR
> sensor.

...

> +               count = device_property_read_u32_array(dev, "semtech,combined-sensors", NULL, 0);

device_property_count_u32()

-- 
With Best Regards,
Andy Shevchenko

  reply	other threads:[~2021-03-19 17:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-19 16:58 [PATCH v5 0/2] iio: sx9310: Support ACPI properties Gwendal Grignou
2021-03-19 16:58 ` [PATCH v5 1/2] iio: sx9310: Fix access to variable DT array Gwendal Grignou
2021-03-19 16:58 ` [PATCH v5 2/2] iio: sx9310: Support ACPI properties Gwendal Grignou
2021-03-19 17:48   ` Andy Shevchenko [this message]
2021-03-19 17:46 ` [PATCH v5 0/2] " Andy Shevchenko
2021-03-19 17:49 ` Andy Shevchenko

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='CAHp75VeEV1ttWd1SKdrLYJZyN=4nDgcoKPTBCbdXOdh=J5fG8g@mail.gmail.com' \
    --to=andy.shevchenko@gmail.com \
    --cc=campello@chromium.org \
    --cc=gwendal@chromium.org \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=swboyd@chromium.org \
    /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.