diff options
author | Mauri Sandberg <sandberg@mailfence.com> | 2020-05-21 09:59:52 +0300 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2021-03-27 07:46:14 +0100 |
commit | b526fbb1ce100c248c8e89b84afc101103e94d7d (patch) | |
tree | 2677c2a7b7f3eb58532592f5e64e97ab7fd9c9c9 /target/linux/ath79/generic/base-files | |
parent | e7a9ee0580b5aea42f821816ada53911ce5e4c09 (diff) | |
download | upstream-b526fbb1ce100c248c8e89b84afc101103e94d7d.tar.gz upstream-b526fbb1ce100c248c8e89b84afc101103e94d7d.tar.bz2 upstream-b526fbb1ce100c248c8e89b84afc101103e94d7d.zip |
packages: kernel: add gpio-nxp-74hc153
NXP 74HC153 is a GPIO expander. Its original source cide sits in ar71xx
architecture tree. It has been slightly modified to get GPIO pin
configuration from the device tree rather than a MACH file.
Changes to the source file:
- Remove struct nxp_74hc153_config
- in nxp_74hc153_probe(), fetch GPIO configuration from device tree
- allow GPIO framework decide the base number by passing -1 to it
- remove support for kernel versions below 4.5.0
- add OF device compatibility string
Create a package for inclusion in image.
References: https://lore.kernel.org/linux-gpio/545111184.50061.1615922388276@ichabod.co-bxl/
Signed-off-by: Mauri Sandberg <sandberg@mailfence.com>
[added link to driver usptreaming work in progress]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit 6a6f9e73dd65f9201bee911d2fae8595f86c093b)
Diffstat (limited to 'target/linux/ath79/generic/base-files')
0 files changed, 0 insertions, 0 deletions