Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1331456

[PATCH v6 0/2] Atmel AT93C46D and GPIO 'select' support for eeprom_93xx46.

From Cory Tusar <cory.tusar@pid1solutions.com>
Newsgroups linux.kernel
Subject [PATCH v6 0/2] Atmel AT93C46D and GPIO 'select' support for eeprom_93xx46.
Date 2016-02-10 20:40 +0100
Message-ID <r0IMi-6Am-9@gated-at.bofh.it> (permalink)
References <r0rLs-3Iq-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This series of patches extends recently accepted devicetree bindings in the
eeprom_93xx46 driver to include support for a specific Atmel device in this
family, and also to support GPIO-based selection of the device (e.g. for use
with an SPI bus mux).

Changes since v5:
  - Dropped patches 1-3 which were already accepted.
  - Rebased and re-tested atop the 'char-misc-testing' branch of
    git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc.git

Changes since v4:
  - Only forward-declare 'struct gpio_desc' in eeprom_93xx46.h.
  - Reviewed-by: Vladimir Zapolskiy <vz@mleia.com>

Changes since v3:
  - Tested-by: Chris Healy <chris.healy@zii.aero>
    ...on a separate i.MX51 platform with Microchip 93LC46A EEPROM.

Changes since v2:
  - Changed node name to 'eeprom' in DT bindings example.
  - Simplified several bits of return logic.
  - Removed #ifdef CONFIG_OF.
  - Allow compiler to handle promotion to bool return values.
  - Reworked GPIO handling to use gpiod_* functions throughout (and
    fixed an oversight where GPIO flags were being ignored).

Changes since v1:
  - Consolidated all Documentation/devictree additions into a single patch.
  - Clarified compatible string shall be only one of the supported values.
  - Renamed the 'select-gpio' binding to 'select-gpios'.

Cory Tusar (2):
  misc: eeprom_93xx46: Add quirks to support Atmel AT93C46D device.
  misc: eeprom_93xx46: Add support for a GPIO 'select' line.

 drivers/misc/eeprom/eeprom_93xx46.c | 161 ++++++++++++++++++++++++++++--------
 include/linux/eeprom_93xx46.h       |   9 ++
 2 files changed, 135 insertions(+), 35 deletions(-)

-- 
2.4.10

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v5 0/5] Devicetree support for misc/eeprom/eeprom_93xx46. Greg KH <gregkh@linuxfoundation.org> - 2016-02-10 02:30 +0100
  [PATCH v6 0/2] Atmel AT93C46D and GPIO 'select' support for eeprom_93xx46. Cory Tusar <cory.tusar@pid1solutions.com> - 2016-02-10 20:40 +0100
    [PATCH v6 2/2] misc: eeprom_93xx46: Add support for a GPIO 'select' line. Cory Tusar <cory.tusar@pid1solutions.com> - 2016-02-10 20:40 +0100

csiph-web