lkml.org 
[lkml]   [2013]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] Convert mcp23s08 to DT usage
Date
From: Lars Poeschel <poeschel@lemonage.de>

I wanted to use mcp23s08 driver with a device that boots using device tree.
I modified the driver to allow the DT usage and tested with a mcp23017
which is a i2c device. I could not test the spi path, because I have no
such device.

Regards,
Lars

Lars Poeschel (2):
gpio: mcp23s08: Allow -1 as a legal value for global gpio base
gpio: mcp23s08: convert driver to DT

.../devicetree/bindings/gpio/gpio-mcp23s08.txt | 36 ++++++++
drivers/gpio/gpio-mcp23s08.c | 95 ++++++++++++++++++--
include/linux/spi/mcp23s08.h | 1 +
3 files changed, 126 insertions(+), 6 deletions(-)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt

--
1.7.10.4



\
 
 \ /
  Last update: 2013-02-06 18:43    [W:1.978 / U:0.564 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site