Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp498492imm; Wed, 25 Jul 2018 00:37:34 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfqTD7uHWjMbWJUPAB3meTVYJKlUAYFINMCFJivlktsPTm9krG/eJQ/rkhF0BmFrbGeYXh8 X-Received: by 2002:a62:129a:: with SMTP id 26-v6mr21064074pfs.102.1532504254237; Wed, 25 Jul 2018 00:37:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532504254; cv=none; d=google.com; s=arc-20160816; b=hMzn+29zg5OseCQUNKchfGp8b8dSJm0i8betxl8jpele3JleqD9Ot/Kt3LGyi7MnQG pKl8zf5idGnv5lCvgbu50rOZrua1n5bkEFRNlOF1IXtwP3nmGvZ0N3ecMHx5TRYeZ/We Jd4gcJnC5/+zgZjyifaHlgdde2eXgWEl+vhKIC6JZiyKkNc3Tx3Adk8ZLAf9j0dMm3TK 0KGQ5WZXxrnHJv0yXfJTq77R4ic51EoeqQqz+kgaBViDAq79PTda/xi+xZY7N0/99HNf tUuhed9wXsdnr9dDFN4wAXa5w0gy8bl0t+qOopmYG0CPGVzWQJIqY0wJpP0De2qCMhdF OfyQ== 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=achCxmuVAmI1mFZ+/tfA1EIKdvKQr55hhKzYsiHY4fo=; b=Znf+DXjZ//p82pW+8GZcAZmdpn1Hn7iggQ83azKzaUjStULYI2XBou5WlVC6KchBp1 kE3jGGNjfns+1jqQShjiWucjFdvTeNKcNoHrbZqdzPzz804xWROcyXYYjAhAjt5/Da+x p2X4cUWDumYGJYIVRavo36ivwY3gb20hvQyGNmsGBwMHT1W97FfhP4B2uvGQHsncijyH xqy6aVVz/Scaa+intQ/o7Wpg3mlg3weTYMOoJYGN+ACPhx6whTNaBSJFqmXEXFpJVFWu /fsTSePCsKMG6NUztdcC37yOszVpcokiEaNIUdwlwupMAoJblhq9FM9bHhQ/dv2915p1 45Zw== 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 f40-v6si12478254plb.504.2018.07.25.00.37.19; Wed, 25 Jul 2018 00:37:34 -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 S1728538AbeGYIqu (ORCPT + 99 others); Wed, 25 Jul 2018 04:46:50 -0400 Received: from mail.bootlin.com ([62.4.15.54]:54097 "EHLO mail.bootlin.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728407AbeGYIqu (ORCPT ); Wed, 25 Jul 2018 04:46:50 -0400 Received: by mail.bootlin.com (Postfix, from userid 110) id 736ED207A8; Wed, 25 Jul 2018 09:36:23 +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-78-122.w90-88.abo.wanadoo.fr [90.88.20.122]) by mail.bootlin.com (Postfix) with ESMTPSA id 2BAA020618; Wed, 25 Jul 2018 09:36:23 +0200 (CEST) From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: dmitry.torokhov@gmail.com, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@bootlin.com, wens@csie.org Cc: linux-input@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, thomas.petazzoni@bootlin.com, mylene.josserand@bootlin.com Subject: [PATCH v4 0/3] sun8i-a83t: Add touchscreen support on TBS A711 Date: Wed, 25 Jul 2018 09:34:07 +0200 Message-Id: <20180725073410.730-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 everyone, This is a V4 of the patch series that adds touchscreen support (FocalTech EDT-FT5x06 Polytouch) for TBS A711 (Allwinner sun8i-a83t SoC) and add regulator support for this touchscreen. Based on last master of linux-input tree. Changes since v3: - Created a new function to disable regulator via devm_add_action_or_reset (Dmitry Torokhov's review) - Moved regulator_enable/disable functions in device_may_wakeup guard (Ondřej Jirman and Dmitry Torokhov's reviews) - Added Rob Herring Reviewed-by on patch 01 (sorry again) Changes since v2: - Removed the check if regulator is NULL (Dmitry Torokhov's review) - Added EPROBE_DEFER error not to print a error message (Lothar Waßmann's review) - Added set wake/reset on suspend/resume. Changes since v1: - Removed patches 01 and 02 as Chen-Yu Tsai sent a similar patch: https://patchwork.kernel.org/patch/10111431/ and it is merged on last next-20171222. (See commit f066f46ce5a5 "ARM: dts: sun8i: a83t: Add I2C device nodes and pinmux settings") - Updated regulator according to Dmitry Torokhov's review: removed "optional" suffix while retrieving the regulator, renamed it into "vcc" instead of "power" and added bindings documentation. - Updated device tree according to Maxime Ripard's review: remove the label and rename the node. - Squashed patch 03 with patch 05 to add I2C0 and touchscreen's node in one patch (see patch 02). Patch 01: Add support for regulator in the FocalTech touchscreen driver because A711 tablet is using a regulator to power-up the touchscreen. Patch 02: Add a set wake/reset values on resume and suspend. Patch 03: Add i2c0 and touchscreen's node for A711 TBS tablet. Thank you in advance for any review. Best regards, Mylène Mylène Josserand (3): Input: edt-ft5x06 - Add support for regulator Input: edt-ft5x06 - Set wake/reset values on resume/suspend arm: dts: sun8i: a83t: a711: Add touchscreen node .../bindings/input/touchscreen/edt-ft5x06.txt | 1 + arch/arm/boot/dts/sun8i-a83t-tbs-a711.dts | 16 +++++++ drivers/input/touchscreen/edt-ft5x06.c | 55 ++++++++++++++++++++++ 3 files changed, 72 insertions(+) -- 2.11.0