linux-stable/drivers/input/keyboard
Uwe Kleine-König 9068beaa04 Input: snvs_pwrkey - add clk handling
[ Upstream commit d997cc1715 ]

On i.MX7S and i.MX8M* (but not i.MX6*) the pwrkey device has an
associated clock. Accessing the registers requires that this clock is
enabled. Binding the driver on at least i.MX7S and i.MX8MP while not
having the clock enabled results in a complete hang of the machine.
(This usually only happens if snvs_pwrkey is built as a module and the
rtc-snvs driver isn't already bound because at bootup the required clk
is on and only gets disabled when the clk framework disables unused clks
late during boot.)

This completes the fix in commit 135be16d35 ("ARM: dts: imx7s: add
snvs clock to pwrkey").

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20211013062848.2667192-1-u.kleine-koenig@pengutronix.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-10-27 09:54:29 +02:00
..
adc-keys.c
adp5520-keys.c
adp5588-keys.c
adp5589-keys.c
amikbd.c
applespi.c Input: applespi - don't wait for responses to commands indefinitely. 2021-03-17 17:03:44 +01:00
applespi.h
applespi_trace.h
atakbd.c
atkbd.c
bcm-keypad.c
cap11xx.c
clps711x-keypad.c
cros_ec_keyb.c Input: cros_ec_keyb - send 'scancodes' in addition to key events 2020-12-30 11:51:30 +01:00
davinci_keyscan.c
dlink-dir685-touchkeys.c
ep93xx_keypad.c
goldfish_events.c
gpio_keys.c
gpio_keys_polled.c
hil_kbd.c Input: hil_kbd - fix error return code in hil_dev_connect() 2021-07-14 16:53:40 +02:00
hilkbd.c
hpps2atkbd.h
imx_keypad.c
ipaq-micro-keys.c
jornada680_kbd.c
jornada720_kbd.c
Kconfig m68k: atari: Fix ATARI_KBD_CORE kconfig unmet dependency warning 2021-07-14 16:53:22 +02:00
lkkbd.c
lm8323.c
lm8333.c
locomokbd.c
lpc32xx-keys.c
Makefile
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 12:56:13 +02:00
omap-keypad.c
omap4-keypad.c Input: omap4-keypad - fix runtime PM error handling 2020-12-30 11:51:10 +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 - add clk handling 2021-10-27 09:54:29 +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-22 10:14:12 +01: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-10-29 09:57:57 +01:00
xtkbd.c