Input: goodix - add a goodix.h header file
authorHans de Goede <hdegoede@redhat.com>
Tue, 21 Sep 2021 04:08:18 +0000 (21:08 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jul 2022 14:34:51 +0000 (16:34 +0200)
commitf5b1c6d526d8525329e60a9c216f5ff8d011453e
tree3ced0f67071ec15c2726e2a2f930830494b23bed
parent1354ceb1b6bfcb0c51b099a2d7da65e8254a254a
Input: goodix - add a goodix.h header file

[ Upstream commit a2233cb7b65a017067e2f2703375ecc930a0ab30 ]

Add a goodix.h header file, and move the register definitions,
and struct declarations there and add prototypes for various
helper functions.

This is a preparation patch for adding support for controllers
without flash, which need to have their firmware uploaded and
need some other special handling too.

Since MAINTAINERS needs updating because of this change anyways,
also add myself as co-maintainer.

Reviewed-by: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20210920150643.155872-3-hdegoede@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
MAINTAINERS
drivers/input/touchscreen/goodix.c
drivers/input/touchscreen/goodix.h [new file with mode: 0644]