Skip to content

Commit

Permalink
Input: add driver for Himax hx83112b touchscreen devices
Browse files Browse the repository at this point in the history
This patch adds support for Himax hx83112b touchscreen devices. As there
are no publicly available data sheets for these devices, the
implementation is based on the driver of the downstream Android kernel
used in the Fairphone 3. This patch is a complete rewrite, though, and
the code bears no resemblence to the original implementation.

The driver has been tested on the aforementioned phone.

Signed-off-by: Job Noorman <job@noorman.info>
  • Loading branch information
mtvec authored and intel-lab-lkp committed Oct 11, 2022
1 parent 118591a commit e63233e
Show file tree
Hide file tree
Showing 4 changed files with 389 additions and 0 deletions.
1 change: 1 addition & 0 deletions MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -9099,6 +9099,7 @@ M: Job Noorman <job@noorman.info>
L: linux-input@vger.kernel.org
S: Maintained
F: Documentation/devicetree/bindings/input/touchscreen/himax,hx83112b.yaml
F: drivers/input/touchscreen/himax_hx83112b.c

HIPPI
M: Jes Sorensen <jes@trained-monkey.org>
Expand Down
11 changes: 11 additions & 0 deletions drivers/input/touchscreen/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1379,4 +1379,15 @@ config TOUCHSCREEN_ZINITIX
To compile this driver as a module, choose M here: the
module will be called zinitix.

config TOUCHSCREEN_HIMAX_HX83112B
tristate "Himax hx83112b touchscreen driver"
depends on I2C
help
Say Y here to enable support for Himax hx83112b touchscreens.

If unsure, say N.

To compile this driver as a module, choose M here: the
module will be called himax_hx83112b.

endif
1 change: 1 addition & 0 deletions drivers/input/touchscreen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,4 @@ obj-$(CONFIG_TOUCHSCREEN_ROHM_BU21023) += rohm_bu21023.o
obj-$(CONFIG_TOUCHSCREEN_RASPBERRYPI_FW) += raspberrypi-ts.o
obj-$(CONFIG_TOUCHSCREEN_IQS5XX) += iqs5xx.o
obj-$(CONFIG_TOUCHSCREEN_ZINITIX) += zinitix.o
obj-$(CONFIG_TOUCHSCREEN_HIMAX_HX83112B) += himax_hx83112b.o
Loading

0 comments on commit e63233e

Please sign in to comment.