[RFC/PATCH 0/2] Updates to improve device tree support
Bill Gatliff
bgat at billgatliff.com
Wed Jan 6 15:30:33 EST 2010
This patch series updates the pca953x GPIO driver to take advantage
of the new of_i2c_gpiochip_add() function, which registers i2c GPIO
devices with the device tree API. These changes allow i2c-based GPIO
expanders to be properly referenced from the proper entries in a
device tree.
The of_i2c_gpiochip_add() function has been posted for review on the
linuxppc-dev mailing list.
Bill Gatliff (2):
Use struct of_i2c_gpio_chip instead of raw struct gpio_chip
Reorder initialization to better support device tree data
drivers/gpio/pca953x.c | 168 +++++++++++++++++++++++++-----------------------
1 files changed, 88 insertions(+), 80 deletions(-)
More information about the Linuxppc-dev
mailing list