mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 02:15:23 +07:00
57b33ff077
Chromebooks can have more than one Embedded Controller so the cros_ec device id has to be incremented for each EC registered. Add a new structure to represent multiple EC as different char devices (e.g: /dev/cros_ec, /dev/cros_pd). It connects to cros_ec_device and allows sysfs inferface for cros_pd. Also reduce number of allocated objects, make chromeos sysfs class object a static and add refcounting to prevent object deletion while command is in progress. Signed-off-by: Gwendal Grignou <gwendal@chromium.org> Reviewed-by: Dmitry Torokhov <dtor@chromium.org> Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Tested-by: Heiko Stuebner <heiko@sntech.de> Acked-by: Lee Jones <lee.jones@linaro.org> Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Lee Jones <lee.jones@linaro.org> |
||
---|---|---|
.. | ||
adp5520-keys.c | ||
adp5588-keys.c | ||
adp5589-keys.c | ||
amikbd.c | ||
atakbd.c | ||
atkbd.c | ||
bcm-keypad.c | ||
bf54x-keys.c | ||
cap11xx.c | ||
clps711x-keypad.c | ||
cros_ec_keyb.c | ||
davinci_keyscan.c | ||
ep93xx_keypad.c | ||
goldfish_events.c | ||
gpio_keys_polled.c | ||
gpio_keys.c | ||
hil_kbd.c | ||
hilkbd.c | ||
hpps2atkbd.h | ||
imx_keypad.c | ||
ipaq-micro-keys.c | ||
jornada680_kbd.c | ||
jornada720_kbd.c | ||
Kconfig | ||
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 | ||
newtonkbd.c | ||
nomadik-ske-keypad.c | ||
nspire-keypad.c | ||
omap4-keypad.c | ||
omap-keypad.c | ||
opencores-kbd.c | ||
pmic8xxx-keypad.c | ||
pxa27x_keypad.c | ||
pxa930_rotary.c | ||
qt1070.c | ||
qt2160.c | ||
samsung-keypad.c | ||
sh_keysc.c | ||
spear-keyboard.c | ||
st-keyscan.c | ||
stmpe-keypad.c | ||
stowaway.c | ||
sun4i-lradc-keys.c | ||
sunkbd.c | ||
tc3589x-keypad.c | ||
tca6416-keypad.c | ||
tca8418_keypad.c | ||
tegra-kbc.c | ||
twl4030_keypad.c | ||
w90p910_keypad.c | ||
xtkbd.c |