linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Jeff LaBundy <jeff@labundy.com>
Cc: "dmitry.torokhov@gmail.com" <dmitry.torokhov@gmail.com>,
	"thierry.reding@gmail.com" <thierry.reding@gmail.com>,
	"jic23@kernel.org" <jic23@kernel.org>,
	"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
	"linux-input@vger.kernel.org" <linux-input@vger.kernel.org>,
	"u.kleine-koenig@pengutronix.de" <u.kleine-koenig@pengutronix.de>,
	"linux-pwm@vger.kernel.org" <linux-pwm@vger.kernel.org>,
	"knaack.h@gmx.de" <knaack.h@gmx.de>,
	"lars@metafoo.de" <lars@metafoo.de>,
	"pmeerw@pmeerw.net" <pmeerw@pmeerw.net>,
	"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
	"robh+dt@kernel.org" <robh+dt@kernel.org>,
	"mark.rutland@arm.com" <mark.rutland@arm.com>
Subject: Re: [PATCH v4 2/7] mfd: Add support for Azoteq IQS620A/621/622/624/625
Date: Mon, 20 Jan 2020 08:00:25 +0000	[thread overview]
Message-ID: <20200120080025.GP15507@dell> (raw)
In-Reply-To: <20200120042303.GC28865@labundy.com>

On Mon, 20 Jan 2020, Jeff LaBundy wrote:
> On Fri, Jan 17, 2020 at 01:21:43PM +0000, Lee Jones wrote:
> > On Fri, 17 Jan 2020, Jeff LaBundy wrote:
> > 
> > > This patch adds core support for the Azoteq IQS620A, IQS621, IQS622,
> > > IQS624 and IQS625 multi-function sensors.
> > > 
> > > Signed-off-by: Jeff LaBundy <jeff@labundy.com>
> > > ---
> > > Changes in v4:
> > >   - None
> > > 
> > > Changes in v3:
> > >   - None
> > > 
> > > Changes in v2:
> > >   - Merged 'Copyright' and 'Author' lines into one in introductory comments
> > >   - Replaced 'error' with 'ret' throughout
> > >   - Updated iqs62x_dev_init to account for 4/8/16-MHz clock divider in start-up
> > >     delays and replaced ATI timeout routine with regmap_read_poll_timeout
> > >   - Added an error message to iqs62x_irq in case device status fails to be read
> > >   - Replaced sw_num member of iqs62x_core with a local variable in iqs62x_probe
> > >     as the former was unused anywhere else
> > >   - Added comments throughout iqs62x_probe to clarify how devices are matched
> > >     based on the presence of calibration data
> > >   - Inverted the product and software number comparison logic in iqs62x_probe
> > >     to avoid an else...continue branch
> > >   - Changed iqs62x_probe from .probe callback to .probe_new callback, thereby
> > >     eliminating the otherwise unused iqs62x_id array
> > >   - Moved iqs62x_suspend and iqs62x_resume below iqs62x_remove
> > >   - Eliminated tabbed alignment of regmap_config and i2c_driver struct members
> > >   - Added register definitions for register addresses used in iqs621_cal_regs,
> > >     iqs620at_cal_regs and iqs62x_devs arrays
> > >   - Removed of_compatible string from IQS622 mfd_cell struct as its proximity
> > >     (now ambient light) sensing functionality need not be represented using a
> > >     child node
> > >   - Dissolved union in iqs62x_event_data to allow simultaneous use of ir_flags
> > >     and als_flags
> > >   - Removed temp_flags member of iqs62x_event_data, IQS62X_EVENT_TEMP register
> > >     enumeration and IQS62X_EVENT_UI_HI/LO from iqs620a_event_regs (thereby re-
> > >     ducing IQS62X_EVENT_SIZE to 10) as they were unused
> > > 
> > >  drivers/mfd/Kconfig         |  13 +
> > >  drivers/mfd/Makefile        |   3 +
> > >  drivers/mfd/iqs62x-core.c   | 639 ++++++++++++++++++++++++++++++++++++++++++++
> > >  drivers/mfd/iqs62x-tables.c | 438 ++++++++++++++++++++++++++++++
> > >  include/linux/mfd/iqs62x.h  | 146 ++++++++++
> > >  5 files changed, 1239 insertions(+)
> > >  create mode 100644 drivers/mfd/iqs62x-core.c
> > >  create mode 100644 drivers/mfd/iqs62x-tables.c
> > >  create mode 100644 include/linux/mfd/iqs62x.h

In future, could you trim all unnecessary parts of the review,
snipping out all of the parts you agree with, leaving only the
contentious context please?  It saves an awful lot of scrolling on
behalf of the reader/reviewer.  Thanks.

-- 
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

  reply	other threads:[~2020-01-20  8:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-17  2:35 [PATCH v4 0/7] Add support for Azoteq IQS620A/621/622/624/625 Jeff LaBundy
2020-01-17  2:35 ` [PATCH v4 1/7] dt-bindings: Add bindings " Jeff LaBundy
2020-01-17  2:35 ` [PATCH v4 2/7] mfd: Add support " Jeff LaBundy
2020-01-17 13:21   ` Lee Jones
2020-01-20  4:23     ` Jeff LaBundy
2020-01-20  8:00       ` Lee Jones [this message]
2020-01-22  4:00         ` Jeff LaBundy
2020-01-17  2:35 ` [PATCH v4 3/7] input: keyboard: " Jeff LaBundy
2020-01-17 21:33   ` dmitry.torokhov
2020-01-19 22:40     ` Jeff LaBundy
2020-01-21  6:55       ` dmitry.torokhov
2020-01-17  2:35 ` [PATCH v4 4/7] pwm: Add support for Azoteq IQS620A PWM generator Jeff LaBundy
2020-01-17  7:34   ` Uwe Kleine-König
2020-01-19 23:32     ` Jeff LaBundy
2020-01-20  7:27       ` Uwe Kleine-König
2020-01-22  3:56         ` Jeff LaBundy
2020-01-22  7:02           ` Uwe Kleine-König
2020-01-17  2:36 ` [PATCH v4 5/7] iio: temperature: Add support for Azoteq IQS620AT temperature sensor Jeff LaBundy
2020-01-22  3:28   ` Jeff LaBundy
2020-01-28  9:10     ` Jonathan Cameron
2020-01-17  2:36 ` [PATCH v4 6/7] iio: light: Add support for Azoteq IQS621/622 ambient light sensors Jeff LaBundy
2020-01-17  2:36 ` [PATCH v4 7/7] iio: position: Add support for Azoteq IQS624/625 angle sensors Jeff LaBundy

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=20200120080025.GP15507@dell \
    --to=lee.jones@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=jeff@labundy.com \
    --cc=jic23@kernel.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-pwm@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pmeerw@pmeerw.net \
    --cc=robh+dt@kernel.org \
    --cc=thierry.reding@gmail.com \
    --cc=u.kleine-koenig@pengutronix.de \
    /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).