lkml.org 
[lkml]   [2013]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH RFC 0/1] 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.
Therefore I had to modify the driver to be able to take it's platform_data
from the device tree.
I am using a mcp23017 (I2C) device successfully with the patch booted over
device tree. I am not sure if I did this right and I am not able to test the
SPI part of the driver, so I am requesting for comments.

Thank you,
Lars

Lars Poeschel (1):
gpio: mcp23s08: convert driver to DT

.../devicetree/bindings/gpio/gpio-mcp23s08.txt | 27 ++++++
drivers/gpio/gpio-mcp23s08.c | 93 +++++++++++++++++++-
include/linux/spi/mcp23s08.h | 1 +
3 files changed, 117 insertions(+), 4 deletions(-)
create mode 100644 Documentation/devicetree/bindings/gpio/gpio-mcp23s08.txt

--
1.7.10.4



\
 
 \ /
  Last update: 2013-01-31 18:01    [W:1.138 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site