lkml.org 
[lkml]   [2011]   [Apr]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/7] gpio: extend basic_mmio_gpio for different controllers
Date
This patch series extends the basic_mmio_gpio driver to support
controllers with different register sets and number of GPIOs. There are
also changes to configure more at probe time rather than runtime
evaluation.

I've tested this on an out-of-tree platform with a Synopsys DesignWare
GPIO controller.

Jamie Iles (7):
basic_mmio_gpio: remove runtime width/endianness evaluation
basic_mmio_gpio: convert to platform_{get,set}_drvdata()
basic_mmio_gpio: allow overriding number of gpio
basic_mmio_gpio: request register regions
basic_mmio_gpio: detect output method at probe time
basic_mmio_gpio: support different input/output registers
basic_mmio_gpio: support direction registers

drivers/gpio/basic_mmio_gpio.c | 386 ++++++++++++++++++++++++++++++--------
include/linux/basic_mmio_gpio.h | 1 +
2 files changed, 305 insertions(+), 82 deletions(-)

--
1.7.4



\
 
 \ /
  Last update: 2011-04-06 13:13    [W:0.090 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site