mbox series

[v3,0/5] pinctrl: mcp32s08: add open drain config for irq

Message ID 1511252491-79952-1-git-send-email-preid@electromag.com.au
Headers show
Series pinctrl: mcp32s08: add open drain config for irq | expand

Message

Phil Reid Nov. 21, 2017, 8:21 a.m. UTC
This is a continuation of patch 4/5/6 from my previous series 
"gpio: mcp23s08: add support for mcp23018"
The other patches from that series having already been applied.

Hopefully I've address all of Linus's concerns.
Wasn't too sure on how to handle the depcrated property documentation.

Changes from v2:
- Use standard 'drive-open-drain' for irq output configuration
- deprecate 'microchip,irq-active-high' property and extract
  the irq polarity from the 'interrupts' property.
- 'microchip,irq-active-high' property is now ignored except
  for a warning if the property exists. 
  This is probably safe as the 'interrupts' property is most 
  likely setup correctly. 


Phil Reid (5):
  pinctrl: mcp23s08: remove hard coded irq polarity in irq_setup
  dt-bindings: pinctrl: mcp23s08: add documentation for drive-open-drain
  pinctrl: mcp23s08: add open drain configuration for irq output
  pinctrl: mcp23s08: configure irq polarity using irq data
  dt-bindings: pinctrl: deprecate 'microchip,irq-active-high' property

 .../bindings/pinctrl/pinctrl-mcp23s08.txt          |  6 +++--
 drivers/pinctrl/pinctrl-mcp23s08.c                 | 28 ++++++++++++----------
 2 files changed, 20 insertions(+), 14 deletions(-)