From: Daniel Campello <campello@chromium.org>
To: LKML <devicetree@vger.kernel.org>, LKML <linux-kernel@vger.kernel.org>
Cc: Jonathan Cameron <jic23@kernel.org>,
Andy Shevchenko <andy.shevchenko@gmail.com>,
Douglas Anderson <dianders@chromium.org>,
Enrico Granata <egranata@chromium.org>,
Gwendal Grignou <gwendal@chromium.org>,
Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
Rob Herring <robh+dt@kernel.org>,
Stephen Boyd <swboyd@chromium.org>,
linux-iio <linux-iio@vger.kernel.org>
Subject: Re: [PATCH v4 00/15] sx9310 iio driver updates
Date: Mon, 3 Aug 2020 17:50:28 -0600 [thread overview]
Message-ID: <CAHcu+VYgA2rYS_R17cnREreRSjqGQvqRDUVFGf_ttQbfQu5OOQ@mail.gmail.com> (raw)
In-Reply-To: <20200803234154.320400-1-campello@chromium.org>
Hi everyone,
So sorry, I sent an intermediate version as v4. Please disregard since
it has a couple bugs. I will send v5 with them fixed.
Regards,
Daniel
On Mon, Aug 3, 2020 at 5:41 PM Daniel Campello <campello@chromium.org> wrote:
>
> The first patch resends the DT binding for the driver that was merged in
> v5.8-rc1 with a small change to update for proper regulators. The second
> through the eleventh patch fixes several issues dropped from v8 to v9
> when the initial patch was merged. The twelveth patch drops
> channel_users because it's unused. The thirteenth patch adds support to
> enable the svdd and vdd supplies so that this driver can work on a board
> where the svdd supply isn't enabled at boot and needs to be turned on
> before this driver starts to communicate with the chip. The final patch
> updates irq trigger flags.
>
> Changes in v4:
> - Updated macro SX9310_REG_STAT1_COMPSTAT_MASK at call site.
> - Use FIELD_GET/FIELD_PREP instead of manual shift.
> - Reverted condition check logic on enable/disable_irq methods.
> - Use pointer to buffer struct on iio_push_to_buffers_with_timestamp().
>
> Changes in v3:
> - Moved irq presence check down to lower methods
> - Changed buffer to struct type to align timestamp memory properly.
> - Added static assert for number of channels.
> - Added irq trigger flags commit to the series.
>
> Changes in v2:
> - Added #io-channel-cells as a required property
> - Reordered error handling on sx9310_resume()
> - Added #include <linux/mod_devicetable.h>
> - Added '\n' to dev_err()
> - Fixed commit message from "iio: sx9310: Align memory"
> - Changed prox_stat to chan_prox_stat bitmap.
> - Fixed dev_err() message
> - Added '\n' to dev_err()
>
> Daniel Campello (12):
> dt-bindings: iio: Add bindings for sx9310 sensor
> iio: sx9310: Update macros declarations
> iio: sx9310: Fix irq handling
> iio: sx9310: Remove acpi and of table macros
> iio: sx9310: Change from .probe to .probe_new
> iio: sx9310: Fixes various memory handling
> iio: sx9310: Use long instead of int for channel bitmaps
> iio: sx9310: Use regmap_read_poll_timeout() for compensation
> iio: sx9310: Update copyright
> iio: sx9310: Simplify error return handling
> iio: sx9310: Use variable to hold &client->dev
> iio: sx9310: Miscellaneous format fixes
>
> Stephen Boyd (3):
> iio: sx9310: Drop channel_users[]
> iio: sx9310: Enable vdd and svdd regulators at probe
> iio: sx9310: Use irq trigger flags from firmware
>
> .../iio/proximity/semtech,sx9310.yaml | 65 +++
> drivers/iio/proximity/sx9310.c | 421 +++++++++---------
> 2 files changed, 276 insertions(+), 210 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/iio/proximity/semtech,sx9310.yaml
>
> --
> 2.28.0.163.g6104cc2f0b6-goog
>
prev parent reply other threads:[~2020-08-03 23:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-03 23:41 [PATCH v4 00/15] sx9310 iio driver updates Daniel Campello
2020-08-03 23:41 ` [PATCH v4 01/15] dt-bindings: iio: Add bindings for sx9310 sensor Daniel Campello
2020-08-03 23:41 ` [PATCH v4 02/15] iio: sx9310: Update macros declarations Daniel Campello
2020-08-03 23:41 ` [PATCH v4 03/15] iio: sx9310: Fix irq handling Daniel Campello
2020-08-03 23:41 ` [PATCH v4 04/15] iio: sx9310: Remove acpi and of table macros Daniel Campello
2020-08-03 23:41 ` [PATCH v4 05/15] iio: sx9310: Change from .probe to .probe_new Daniel Campello
2020-08-03 23:41 ` [PATCH v4 06/15] iio: sx9310: Fixes various memory handling Daniel Campello
2020-08-03 23:41 ` [PATCH v4 07/15] iio: sx9310: Use long instead of int for channel bitmaps Daniel Campello
2020-08-03 23:41 ` [PATCH v4 08/15] iio: sx9310: Use regmap_read_poll_timeout() for compensation Daniel Campello
2020-08-03 23:41 ` [PATCH v4 09/15] iio: sx9310: Update copyright Daniel Campello
2020-08-03 23:41 ` [PATCH v4 10/15] iio: sx9310: Simplify error return handling Daniel Campello
2020-08-03 23:41 ` [PATCH v4 11/15] iio: sx9310: Use variable to hold &client->dev Daniel Campello
2020-08-03 23:41 ` [PATCH v4 12/15] iio: sx9310: Miscellaneous format fixes Daniel Campello
2020-08-03 23:41 ` [PATCH v4 13/15] iio: sx9310: Drop channel_users[] Daniel Campello
2020-08-03 23:41 ` [PATCH v4 14/15] iio: sx9310: Enable vdd and svdd regulators at probe Daniel Campello
2020-08-03 23:41 ` [PATCH v4 15/15] iio: sx9310: Use irq trigger flags from firmware Daniel Campello
2020-08-03 23:50 ` Daniel Campello [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=CAHcu+VYgA2rYS_R17cnREreRSjqGQvqRDUVFGf_ttQbfQu5OOQ@mail.gmail.com \
--to=campello@chromium.org \
--cc=andy.shevchenko@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=dianders@chromium.org \
--cc=egranata@chromium.org \
--cc=gwendal@chromium.org \
--cc=jic23@kernel.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
--cc=robh+dt@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 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).