Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751920AbdLAPlA (ORCPT ); Fri, 1 Dec 2017 10:41:00 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:39809 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751108AbdLAPk5 (ORCPT ); Fri, 1 Dec 2017 10:40:57 -0500 From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, devicetree@vger.kernel.org, mylene.josserand@free-electrons.com, thomas.petazzoni@free-electrons.com, maxime.ripard@free-electrons.com Subject: [PATCH v4 0/2] Input: Add Cypress Gen5 Touchscreen driver Date: Fri, 1 Dec 2017 16:39:55 +0100 Message-Id: <20171201153957.13053-1-mylene.josserand@free-electrons.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2113 Lines: 53 Hi everyone, Here is a V4 series to add the driver of the touchscreen Cypress, TrueTouch Generation 5. Based on last master branch of "input" kernel's tree, last commit c1b433e04ef9. This touchscreen is similar to Cypress generation 4 but the registers are different. This driver uses regmap as it is possible to use I2C or SPI busses. Currently, only the I2C support are available in the driver. This touchscreen can handle some multitouch events as buttons using some defined zones. That is why the driver handles buttons and multitouch events. Changes since v3: - Rebased on last input's branch - Changed the CRC table to use crc_itu_t_table instead of crc_ccitt_false_table which is not merged. - Added selection of CRC_ITU_T on KConfig Changes since v2: - Removed pinctrl in dt-binding example which is uncessecary. - Added Acked-by and Reviewed-by received. Changes since v1: - Updated the driver according to reviews. Most important modifications: removed unnecessary mutex, updated dev_err output, handled return cases in a better way, created a HID_ENUM, removed magic value, used an existing CRC table and used "linux-keycodes" instead of sub-nodes. - Updated the dt-bindings to use linux-keycodes and removed properties' description that comes from touchscreen's binding. Patch 01: Add the basis of the driver for Cypress Gen5 Touchscreen. Patch 02: Add the binding documentation for this driver. If you have any remarks, let me know. Thank you in advance, Mylène Mylène Josserand (2): Input: Add driver for Cypress Generation 5 touchscreen dt-bindings: input: Add documentation for cyttsp5 .../bindings/input/touchscreen/cypress,cyttsp5.txt | 39 + drivers/input/touchscreen/Kconfig | 16 + drivers/input/touchscreen/Makefile | 1 + drivers/input/touchscreen/cyttsp5.c | 1110 ++++++++++++++++++++ 4 files changed, 1166 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/cypress,cyttsp5.txt create mode 100644 drivers/input/touchscreen/cyttsp5.c -- 2.11.0