Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp944512imm; Tue, 3 Jul 2018 02:48:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLsReYnPYxILzXVzOfKsTbSEna2py5Jmb3cIHbEzeJYVD5Zp6P3Tl6tyaW4jdtDzRTGAh8Z X-Received: by 2002:a65:6616:: with SMTP id w22-v6mr24922976pgv.332.1530611330339; Tue, 03 Jul 2018 02:48:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530611330; cv=none; d=google.com; s=arc-20160816; b=s/gl0oBpS87PZ27lfdlFn6siZUAQSxwDxNOswELhqlxb4edBaWwqF5txbAi1kDQ7XS hLQbiVSHJ2JWag0zIzfyDpzBBaVOVH2o7VRjjxRFM6sNUwek97KXdbX/WL1L0kBQ2hKL d2k4KloZxa0wfveob3IcP1gy3XIqvQVtQULcJyLT4dxR9RvQxvm4cxw/xea5pYDzVbbJ M3lzIhoZBLbQo7hkxJRhj27GlNDqBXceTRfFMeIFD25LAAqKiEAlpT2KkUJGum0ksPgc RQcJpN8pEy9DPj09RcEMrveo9fGcHOaLsXP/IwloF8HX8NcBAbTB6oja5kYf9RBnDHvN 3hrg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=htp1jHdSzAT0BuyN4/j5Jmj3YT0yPN411tI6sZCGKKk=; b=jpt4JBOsLFYPl42AVJCDJyEvUYB47SgKo1+xuGLVxWmHOZSzksNW3WkmYqeBm2sxNH /cWlIbrlo/eTNBdl+KH/xMF0tMXL8jW3jkFDhh+HADAtYX5O7fy6tn4T1TjcimFt9GtQ 0HMsZ8PZVXv1FOAyjd8blPI1fIw2RwCQjrVGhiOseALShl2QYibrCd1oX6uHvI3u0iLC RhzoZeWqcZlheeINy8Rx6adp/0g5EKQsuPaD4Y4NgFm0PoSTguXgtyrhn2bDKujehLRe 1n4LWHiJWR/PKgvzBp+LazsaK01039EeuDAf+IPWXaSnGGNdJQSljRfKwfjI88mnfIL4 bm0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4-v6si734129pgl.9.2018.07.03.02.48.36; Tue, 03 Jul 2018 02:48:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754752AbeGCJri (ORCPT + 99 others); Tue, 3 Jul 2018 05:47:38 -0400 Received: from mail.bootlin.com ([62.4.15.54]:33434 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754560AbeGCJrg (ORCPT ); Tue, 3 Jul 2018 05:47:36 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 12780207F4; Tue, 3 Jul 2018 11:47:34 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.bootlin.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.home (AAubervilliers-681-1-39-106.w90-88.abo.wanadoo.fr [90.88.158.106]) by mail.bootlin.com (Postfix) with ESMTPSA id CA7D2203B4; Tue, 3 Jul 2018 11:47:23 +0200 (CEST) From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com Cc: mylene.josserand@free-electrons.com, thomas.petazzoni@free-electrons.com, maxime.ripard@free-electrons.com, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, =?UTF-8?q?Myl=C3=A8ne=20Josserand?= Subject: [PATCH v6 0/2] Input: Add Cypress Gen5 Touchscreen driver Date: Tue, 3 Jul 2018 11:43:07 +0200 Message-Id: <20180703094309.18514-1-mylene.josserand@bootlin.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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Here is a V6 series to add the driver of the touchscreen Cypress, TrueTouch Generation 5. Based on v4.18-rc3. This patch series has already been posted in several iterations: - v1: Sent on 2017/05/29 - v2: Sent on 2017/08/18 - v3: Sent on 2017/09/27 - v4: Sent on 2017/12/01 - v5: Sent on 2017/12/20 I did not have any comments the last 4 versions. And no reviews on my v5 during 6 months. Could I have any updates or feedback on my series to know why it is not merged (to be able to correct what is wrong)? Changes since v5: - Rebased on v4.17-rc3 - Use SPDX header - Called "touchscreen_report_pos" function to perform some DT properties on position (such as X/Y swapping) - Called "__set_bit" for ABS_X, ABS_Y and BTN_TOUCH to be able to use "ts_lib" otherwise, it returns an error: tslib: Selected device is not a touchscreen (must support ABS and KEY event types) Changes since v4: - Fixed kbuild errors about enum hid_cmd_state and .owner 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. Thank you, Best regards, 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