All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for Microchip MCP41xxx/42xxx potentiometers
@ 2018-11-14  9:52 Chris Coffey
  2018-11-14  9:52 ` [PATCH v2 1/2] dt-bindings: iio: potentiometer: Add Microchip MCP41xxx/42xxx Chris Coffey
  2018-11-14  9:52 ` [PATCH v2 2/2] iio: potentiometer: Add driver for " Chris Coffey
  0 siblings, 2 replies; 11+ messages in thread
From: Chris Coffey @ 2018-11-14  9:52 UTC (permalink / raw)
  To: Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler
  Cc: Peter Rosin, Slawomir Stepien, Rob Herring, Mark Rutland,
	linux-iio, devicetree, Chris Coffey

Hello all,

This patch series adds device-tree documentation and driver support
for the Microchip MCP41xxx/42xxx family of digital potentiometers.

Changes in v2:
 - Move device tree binding documentation to separate commit as
   pointed out by Himanshu Jha.
 - Remove explicit '= 0' initialization in mcp41010_type enum as
   recommended by Himanshu Jha.
 - Change MCP41010_WRITE from (0x01 << 4) to BIT(4) as recommended by
   Himanshu Jha.
 - Use of_device_get_match_data() to load configuration as 
   recommended by Peter Rosin. 
 - Rename MCP41010_WIPER_ENABLE to MCP41010_WIPER_CHANNEL as 
   suggested by Peter Rosin.
 - Remove CONFIG_OF build protections as recommended by Jonathan
   Cameron.
 - Remove of_match_ptr wrapper from mcp41010_driver struct as 
   recommended by Jonathan Cameron.
 - Remove blank line in mcp41010.c intro as recommended by Jonathan
   Cameron.

Chris Coffey (2):
  dt-bindings: iio: potentiometer: Add Microchip MCP41xxx/42xxx
  iio: potentiometer: Add driver for Microchip MCP41xxx/42xxx

 .../bindings/iio/potentiometer/mcp41010.txt        |  29 +++
 drivers/iio/potentiometer/Kconfig                  |  12 ++
 drivers/iio/potentiometer/Makefile                 |   1 +
 drivers/iio/potentiometer/mcp41010.c               | 216 +++++++++++++++++++++
 4 files changed, 258 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/potentiometer/mcp41010.txt
 create mode 100644 drivers/iio/potentiometer/mcp41010.c

-- 
2.11.0

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-11-19 13:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-11-14  9:52 [PATCH v2 0/2] Add support for Microchip MCP41xxx/42xxx potentiometers Chris Coffey
2018-11-14  9:52 ` [PATCH v2 1/2] dt-bindings: iio: potentiometer: Add Microchip MCP41xxx/42xxx Chris Coffey
2018-11-14 10:01   ` Slawomir Stepien
2018-11-16 18:02     ` Jonathan Cameron
2018-11-17 20:25     ` Chris Coffey
2018-11-14  9:52 ` [PATCH v2 2/2] iio: potentiometer: Add driver for " Chris Coffey
2018-11-14 10:30   ` Slawomir Stepien
2018-11-16 18:10     ` Jonathan Cameron
2018-11-17 20:31       ` Chris Coffey
2018-11-19 13:48         ` Jonathan Cameron
2018-11-19 13:48           ` Jonathan Cameron

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.