You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/package/kernel
Christian Lamparter afc056d7dc gpio-button-hotplug: support interrupt properties
Upstream Linux's input gpio-keys driver supports
specifying a external interrupt for a gpio via the
'interrupts' properties as well as having support
for software debounce.

This patch ports these features to OpenWrt's event
version. Only the "pure" interrupt-driven support is
left behind, since this goes a bit against the "gpio"
in the "gpio-keys" and I don't have a real device to
test this with.

This patch also silences the generated warnings showing
up since 4.14 due to the 'constification' of the
struct gpio_keys_button *buttons variable in the
upstream struct gpio_keys_platform_data declaration.

gpio-button-hotplug.c: In function 'gpio_keys_get_devtree_pdata':
gpio-button-hotplug.c:392:10: warning: assignment discards 'const'
	qualifier from pointer target type [-Wdiscarded-qualifiers]
   button = &pdata->buttons[i++];
          ^
gpio-button-hotplug.c: In function 'gpio_keys_button_probe':
gpio-button-hotplug.c:537:12: warning: assignment discards 'const'
	qualifier from pointer target type [-Wdiscarded-qualifiers]
   bdata->b = &pdata->buttons[i];
            ^
gpio-button-hotplug.c: In function 'gpio_keys_probe':
gpio-button-hotplug.c:563:37: warning: initialization discards 'const'
	qualifier from pointer target type [-Wdiscarded-qualifiers]
   struct gpio_keys_button *button = &pdata->buttons[i];
                                   ^
Acked-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
5 years ago
..
acx-mac80211 adm5120: Remove unmaintained target 5 years ago
ar7-atm ar7-atm: fix function signatures with expected ones 7 years ago
ath10k-ct ath10k-ct: Update to current version 5 years ago
avila-wdt build: use KERNEL_MAKE_FLAGS for kernel file compilations 7 years ago
brcm2708-gpu-fw brcm2708-gpu-fw: add fw required for camera module 6 years ago
broadcom-wl broadcom-wl: fix compilation with 4.14 6 years ago
button-hotplug button-hotplug: add KEY_POWER2 handling 5 years ago
cryptodev-linux cryptodev-linux: Update to 1.10 5 years ago
dtc/patches package: kernel: dtc: Add DTO support 7 years ago
gpio-button-hotplug gpio-button-hotplug: support interrupt properties 5 years ago
gpio-nct5104d kernel: gpio-nct5104d remove boardname check 6 years ago
hwmon-gsc build: use KERNEL_MAKE_FLAGS for kernel file compilations 7 years ago
i2c-gpio-custom i2c-gpio-custom: Adapt to moved include file 6 years ago
kmod-sched-cake kernel: Remove support for kernel 3.18 5 years ago
lantiq ltq-atm/ltq-ptm: re-enable/fix reset_ppe() functionality for VR9 5 years ago
leds-apu2 kernel: leds-apu2 remove boardname check 6 years ago
linux kernel: Remove support for kernel 3.18 5 years ago
mac80211 ramips: mt7620: fix dependencies 5 years ago
mt76 kernel: Remove support for kernel 3.18 5 years ago
mwlwifi mwlwifi: Fix pcie timeout issue 5 years ago
nat46 nat46: Fix mirror hash 5 years ago
om-watchdog treewide: use the generic board_name function 7 years ago
rtc-rv5c386a build: use KERNEL_MAKE_FLAGS for kernel file compilations 7 years ago
rtl8812au-ct kernel: Remove support for kernel 3.18 5 years ago
spi-gpio-custom kernel: Deactivate *-gpio-custom drivers for 4.19 6 years ago
trelay trelay: Install hotplug and config files as 600 6 years ago
w1-gpio-custom kernel: Deactivate *-gpio-custom drivers for 4.19 6 years ago