OrangePi_CM5/drivers/input/keyboard
Sebastian Krzyszkowiak 6c5742372b Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
commit e62563db857f81d75c5726a35bc0180bed6d1540 upstream.

Both i.MX6 and i.MX8 reference manuals list 0xBF8 as SNVS_HPVIDR1
(chapters 57.9 and 6.4.5 respectively).

Without this, trying to read the revision number results in 0 on
all revisions, causing the i.MX6 quirk to apply on all platforms,
which in turn causes the driver to synthesise power button release
events instead of passing the real one as they happen even on
platforms like i.MX8 where that's not wanted.

Fixes: 1a26c92071 ("Input: snvs_pwrkey - send key events for i.MX6 S, DL and Q")
Tested-by: Martin Kepplinger <martin.kepplinger@puri.sm>
Signed-off-by: Sebastian Krzyszkowiak <sebastian.krzyszkowiak@puri.sm>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/4599101.ElGaqSPkdT@pliszka
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-10-05 10:38:38 +02:00
..
Kconfig Input: samsung-keypad - properly state IOMEM dependency 2022-03-08 19:09:38 +01:00
Makefile
…
adc-keys.c
…
adp5520-keys.c
…
adp5588-keys.c
…
adp5589-keys.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
amikbd.c
…
applespi.c Input: applespi - don't wait for responses to commands indefinitely. 2021-03-17 17:06:24 +01:00
applespi.h
…
applespi_trace.h
…
atakbd.c
…
atkbd.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
bcm-keypad.c
…
cap11xx.c
…
clps711x-keypad.c
…
cros_ec_keyb.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2020-12-12 09:41:33 -08:00
davinci_keyscan.c
…
dlink-dir685-touchkeys.c
…
ep93xx_keypad.c Input: ep93xx_keypad - fix handling of platform_get_irq() error 2020-09-16 10:42:12 -07:00
goldfish_events.c
…
gpio_keys.c Input: Use fallthrough pseudo-keyword 2020-07-07 11:25:54 -07:00
gpio_keys_polled.c
…
hil_kbd.c Input: hil_kbd - fix error return code in hil_dev_connect() 2021-07-14 16:56:38 +02:00
hilkbd.c
…
hpps2atkbd.h
…
imx_keypad.c
…
imx_sc_key.c
…
ipaq-micro-keys.c
…
iqs62x-keys.c
…
jornada680_kbd.c
…
jornada720_kbd.c
…
lkkbd.c
…
lm8323.c
…
lm8333.c
…
locomokbd.c
…
lpc32xx-keys.c
…
maple_keyb.c
…
matrix_keypad.c
…
max7359_keypad.c
…
mcs_touchkey.c
…
mpr121_touchkey.c
…
mtk-pmic-keys.c
…
newtonkbd.c
…
nomadik-ske-keypad.c
…
nspire-keypad.c Input: nspire-keypad - enable interrupts only when opened 2021-04-21 13:00:50 +02:00
omap-keypad.c treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2020-07-30 11:15:58 -07:00
omap4-keypad.c Input: omap4-keypad - fix runtime PM error handling 2020-12-30 11:53:19 +01:00
opencores-kbd.c
…
pmic8xxx-keypad.c
…
pxa27x_keypad.c
…
pxa930_rotary.c
…
qt1050.c
…
qt1070.c
…
qt2160.c
…
samsung-keypad.c
…
sh_keysc.c
…
snvs_pwrkey.c Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address 2022-10-05 10:38:38 +02:00
spear-keyboard.c
…
st-keyscan.c
…
stmpe-keypad.c
…
stowaway.c
…
sun4i-lradc-keys.c
…
sunkbd.c Input: sunkbd - avoid use-after-free in teardown paths 2020-11-08 21:59:07 -08:00
tc3589x-keypad.c
…
tca6416-keypad.c
…
tca8418_keypad.c
…
tegra-kbc.c
…
tm2-touchkey.c
…
twl4030_keypad.c Input: twl4030_keypad - fix handling of platform_get_irq() error 2020-09-16 10:42:15 -07:00
xtkbd.c
…