|
|
Log in / Subscribe / Register

Add Novatek NT36xxx touchscreen driver

From:  kholk11-AT-gmail.com
To:  dmitry.torokhov-AT-gmail.com
Subject:  [PATCH v4 0/3] Add Novatek NT36xxx touchscreen driver
Date:  Thu, 08 Oct 2020 20:15:11 +0200
Message-ID:  <20201008181514.668548-1-kholk11@gmail.com>
Cc:  robh+dt-AT-kernel.org, rydberg-AT-bitmath.org, priv.luk-AT-gmail.com, linux-input-AT-vger.kernel.org, linux-kernel-AT-vger.kernel.org, kholk11-AT-gmail.com, marijns95-AT-gmail.com, konradybcio-AT-gmail.com, martin.botka1-AT-gmail.com, phone-devel-AT-vger.kernel.org, devicetree-AT-vger.kernel.org, krzk-AT-kernel.org
Archive-link:  Article

From: AngeloGioacchino Del Regno <kholk11@gmail.com>

This patch series adds support for the Novatek NT36xxx Series' In-Cell
touchscreen (integrated into the DriverIC).

This patch series has been tested against the following devices:
 - Sony Xperia 10        (SDM630 Ganges Kirin)
 - Sony Xperia 10 Plus   (SDM636 Ganges Mermaid)

Changes in v2:
- Fixed sparse warnings from lkp kernel test robot

Changes in v3 (as requested by Dmitry Torokhov):
- Using shorthand u16/u32 (sorry for the overlook!)
- Now using more input and touchscreen APIs
- Fixed useless workqueue involvements
- Removed useless locking
- Switched reads and writes to use regmap
- Moved header contents to nt36xxx.c
- Fixed reset gpio handling
- Other cleanups
- P.S.: Thanks, Dmitry!

Changes in v4:
- Fixed regmap read length for CRC_ERR_FLAG final check
- Fixed YAML binding, as requested by Krzysztof Kozlowski

AngeloGioacchino Del Regno (3):
  dt-bindings: Add vendor prefix for Novatek Microelectronics Corp.
  Input: Add Novatek NT36xxx touchscreen driver
  dt-bindings: touchscreen: Add binding for Novatek NT36xxx series
    driver

 .../input/touchscreen/novatek,nt36xxx.yaml    |  59 ++
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 drivers/input/touchscreen/Kconfig             |  12 +
 drivers/input/touchscreen/Makefile            |   1 +
 drivers/input/touchscreen/nt36xxx.c           | 816 ++++++++++++++++++
 5 files changed, 890 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/input/touchscreen/novatek,nt36xxx.yaml
 create mode 100644 drivers/input/touchscreen/nt36xxx.c

-- 
2.28.0



Copyright © 2020, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds