mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-03 04:46:56 +07:00
3f48e73543
The ADP5585 family keypad decoder and IO expander is similar to the ADP5589, however it features less IO pins, and lacks hardware assisted key-lock functionality. Unfortunately the register addresses are different, as well as the event codes and bit organization within the port related registers. Move ADP5589 Register defines from the header file into the main source file. Add new defines while making sure we don't break existing platform_data. Add register address translation, and turn device specific defines into variables. Introduce some helper functions and disable functions that doesn't exist on the added devices. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru> |
||
---|---|---|
.. | ||
ad714x.h | ||
adp5589.h | ||
adxl34x.h | ||
as5011.h | ||
bu21013.h | ||
cma3000.h | ||
cy8ctmg110_pdata.h | ||
eeti_ts.h | ||
kxtj9.h | ||
matrix_keypad.h | ||
mt.h | ||
pmic8xxx-keypad.h | ||
pmic8xxx-pwrkey.h | ||
sh_keysc.h | ||
sparse-keymap.h | ||
tps6507x-ts.h |