diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2016-11-14 22:21:14 -0800 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2017-01-10 08:27:33 +0100 |
commit | c97fc31b8d7eda8754f299bfcb30db9d0d299365 (patch) | |
tree | f4fc01b323fe34a1276da527f537fb5668477031 /drivers/gpio/Makefile | |
parent | 8f154474fa01e6dd908969c12505df5cbdde61e2 (diff) | |
download | barebox-c97fc31b8d7eda8754f299bfcb30db9d0d299365.tar.gz barebox-c97fc31b8d7eda8754f299bfcb30db9d0d299365.tar.xz |
gpio: Port SX150x driver from Linux
Add a very abridged version of SX150x driver from Linux. New, "pinctrl"
version of the driver was used as a base. As it was already mentioned
this driver supports very limited amount of the original functionality,
and the following are the features that were dropped:
- Interrupt support
- Support for any chip other that SX150x (due to lack of HW to test
with)
- Any pinctlr-like functions: pull-up/pull-down, open-drain,
etc. configuration
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/gpio/Makefile')
-rw-r--r-- | drivers/gpio/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpio/Makefile b/drivers/gpio/Makefile index 8767eed1e8..2d5142d41c 100644 --- a/drivers/gpio/Makefile +++ b/drivers/gpio/Makefile @@ -18,3 +18,4 @@ obj-$(CONFIG_GPIO_PL061) += gpio-pl061.o obj-$(CONFIG_GPIO_STMPE) += gpio-stmpe.o obj-$(CONFIG_GPIO_TEGRA) += gpio-tegra.o obj-$(CONFIG_GPIO_DESIGNWARE) += gpio-dw.o +obj-$(CONFIG_GPIO_SX150X) += gpio-sx150x.o |