gpio: tps65086: Add GPO driver for the TPS65086 PMIC
PATCH 1/1 gpio: tps65086: Add GPO driver for the TPS65086 PMIC
Add support for the TPS65086 PMIC GPOs.
TPS65086 has four configurable GPOs that can be used for several purposes. These are output only.
---
This is the last component of the tps65086 series, other parts have been taken already, this will probably need to be taken through the MFD tree due to header dependencies.
Thanks,
Andrew
drivers/gpio/Kconfig | 6 ++ drivers/gpio/Makefile | 1 + drivers/gpio/gpio-tps65086.c | 139 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 146 insertions(+) create mode 100644 drivers/gpio/gpio-tps65086.c
drivers/gpio/Kconfig +6 -0
@@ -844,6 +844,12 @@ config GPIO_TIMBERDALE ---help--- Add support for the GPIO IP in the timberdale FPGA. +config GPIO_TPS65086 + tristate "TI TPS65086 GPO" + depends on MFD_TPS65086 + help + This driver supports the GPO on TI TPS65086x PMICs. + config GPIO_TPS6586X bool "TPS6586X GPIO" depends on MFD_TPS6586X
drivers/gpio/Makefile +1 -0
@@ -95,6 +95,7 @@ obj-$(CONFIG_GPIO_TC3589X) += gpio-tc3589x.o obj-$(CONFIG_ARCH_TEGRA) += gpio-tegra.o obj-$(CONFIG_GPIO_TIMBERDALE) += gpio-timberdale.o obj-$(CONFIG_GPIO_PALMAS) += gpio-palmas.o +obj-$(CONFIG_GPIO_TPS65086) += gpio-tps65086.o obj-$(CONFIG_GPIO_TPS6586X) += gpio-tps6586x.o obj-$(CONFIG_GPIO_TPS65910) += gpio-tps65910.o obj-$(CONFIG_GPIO_TPS65912) += gpio-tps65912.o
drivers/gpio/gpio-tps65086.c new file +139 -0
139 lines not on this page · raw message
Signature · 1 line
2.7.0
Quoted 10 lines · Andrew F. Davis
Add support for the TPS65086 PMIC GPOs.
TPS65086 has four configurable GPOs that can be used for several purposes. These are output only.
Signed-off-by Andrew F. Davis <[email protected]>---
This is the last component of the tps65086 series, other parts have been taken already, this will probably need to be taken through the MFD tree due to header dependencies.
Lee: go ahead.
Yours,
Linus Walleij
Quoted 7 lines · Linus Walleij
Quoted 5 lines · Andrew F. Davis
Add support for the TPS65086 PMIC GPOs.
TPS65086 has four configurable GPOs that can be used for several purposes. These are output only.
Quoted 8 lines
Quoted 5 lines
Signed-off-by Andrew F. Davis <[email protected]>---
This is the last component of the tps65086 series, other parts have been taken already, this will probably need to be taken through the MFD tree due to header dependencies.Lee: go ahead.
Reviewed-by Linus Walleij <[email protected]>
Very well, applied.
I also know Linus W likes dicing with death, so this is going into my main branch. As this is a new driver, it shouldn't be an issue; however, it does mean that any changes you make (hopefully none) during this cycle will also have to come through the MFD tree.
Signature · 8 lines
Lee Jones Linaro STMicroelectronics Landing Team Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Lee Jones
Very well, applied.
I also know Linus W likes dicing with death, so this is going into my main branch. As this is a new driver, it shouldn't be an issue;
Haha as long as there are no collisions in Makefile or Kconfig it should work out just fine I think.
If something blows up in -next we can set up an immutable branch.
Yours,
Linus Walleij