From: Matt Ranostay <matt.ranostay@konsulko.com>
To: jic23@kernel.org, gupt21@gmail.com,
benjamin.tissoires@redhat.com, jikos@kernel.org
Cc: linux-iio@vger.kernel.org, linux-input@vger.kernel.org,
Matt Ranostay <matt.ranostay@konsulko.com>
Subject: [PATCH v6 0/3] HID: mcp2221: iio support and device resource management
Date: Fri, 30 Sep 2022 17:52:05 -0700 [thread overview]
Message-ID: <20221001005208.8010-1-matt.ranostay@konsulko.com> (raw)
This patchset is primarily to enable iio support for the MCP2221 HID driver,
but requires several Kconfig changes and device resource management.
First attempt of this patchset is referenced here:
Link: https://lore.kernel.org/all/20220729154723.99947-1-matt.ranostay@xxxxxxxxxxxx/
Changes from v1:
* Fixing various Kconfig recursive dependencies that appear with 'imply IIO'
* Switch hid-mcp2221 driver to device managed resources for i2c support
* Reworking patchset per advice on lore.kernel.org link above
Changes from v2:
* add linux-iio list to CC
Changes from v3:
* replace .remove() tasks with devm_add_action_or_reset() in .probe()
* reschedule SRAM configuration read on failures
* add IIO_CHAN_INFO_SCALE values for ADC + DAC based on reference voltage
Changes from v4:
* add .remove function with no operation to avoid hid_hw_stop() being called
twice due to new devm functions
* add retries limit to five for reading SRAM configuration data
* update 'io: adc: stx104: fix future recursive dependencies' to new Kconfig
location for STX104 driver on linux-next pending-fixes branch
Changes from v5:
* dropped all Kconfig changes not related to mcp2221 driver
* changed 'select GPIOLIB' to imply for mcp2221 along with IS_REACHABLE check
Matt Ranostay (3):
HID: mcp2221: switch i2c registration to devm functions
HID: mcp2221: change 'select GPIOLIB' to imply
HID: mcp2221: add ADC/DAC support via iio subsystem
drivers/hid/Kconfig | 3 +-
drivers/hid/hid-mcp2221.c | 310 ++++++++++++++++++++++++++++++++++----
2 files changed, 286 insertions(+), 27 deletions(-)
--
2.37.2
next reply other threads:[~2022-10-01 0:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-01 0:52 Matt Ranostay [this message]
2022-10-01 0:52 ` [PATCH v6 1/3] HID: mcp2221: switch i2c registration to devm functions Matt Ranostay
2022-10-01 0:52 ` [PATCH v6 2/3] HID: mcp2221: change 'select GPIOLIB' to imply Matt Ranostay
2022-10-21 11:50 ` Benjamin Tissoires
2022-10-21 12:12 ` Jiri Kosina
2022-10-21 12:29 ` Benjamin Tissoires
2022-10-01 0:52 ` [PATCH v6 3/3] HID: mcp2221: add ADC/DAC support via iio subsystem Matt Ranostay
2022-10-02 13:50 ` Jonathan Cameron
2022-10-18 13:00 ` Jiri Kosina
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=20221001005208.8010-1-matt.ranostay@konsulko.com \
--to=matt.ranostay@konsulko.com \
--cc=benjamin.tissoires@redhat.com \
--cc=gupt21@gmail.com \
--cc=jic23@kernel.org \
--cc=jikos@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-input@vger.kernel.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.