lkml.org 
[lkml]   [2014]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] mfd/gpio: cleanup of STMPE driver
Date
This cleans up the STMPE driver a bit:

- Remove all static GPIO and IRQ number assignments as all platforms
with this hardware use device tree now.
- Add optional regulators.
- Add proper device tree probe path using compatible strings.
- Block mask fix for STMPE1601.
- Switch GPIO portions to use the gpiolib irqchip helpers.

This branch is available here if you want to test it:

git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson.git stmpe

It'd be great if someone with the i.MX 53 or 6q platforms using
this could test it, the same goes for the SPEAr people.

The last patch need to be merged in the GPIO tree, but patches
1 thru 4 can be merged directly to MFD (as I am GPIO maintainer
take the few hunks on the GPIO driver as ACKed). If that goes
well I can pull an immutable branch into the GPIO tree to apply
the last patch there, and the Ux500 DT patch should go through
the Ux500 tree.

Linus Walleij (6):
mfd: stmpe: root out static GPIO and IRQ assignments
mfd: stmpe: add optional regulators
mfd: stmpe: prope properly from the device tree
mfd: stmpe: mask off unused blocks properly
ARM: ux500: add VCC and VIO regulators to STMPE IC
gpio: stmpe: switch to use gpiolib irqchip helpers

arch/arm/boot/dts/ste-href-stuib.dtsi | 2 +
drivers/gpio/Kconfig | 1 +
drivers/gpio/gpio-stmpe.c | 127 +++++++++-------------------------
drivers/mfd/stmpe-i2c.c | 60 +++++++++++++++-
drivers/mfd/stmpe.c | 30 +++++++-
drivers/mfd/stmpe.h | 2 +-
include/linux/mfd/stmpe.h | 19 ++---
7 files changed, 127 insertions(+), 114 deletions(-)

--
1.9.0



\
 
 \ /
  Last update: 2014-04-16 17:21    [W:0.147 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site