From patchwork Fri Oct 20 13:31:16 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ludovic Desroches X-Patchwork-Id: 828665 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3yJRbG15mPz9t5C for ; Sat, 21 Oct 2017 00:34:02 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752117AbdJTNcZ (ORCPT ); Fri, 20 Oct 2017 09:32:25 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:18546 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751799AbdJTNcX (ORCPT ); Fri, 20 Oct 2017 09:32:23 -0400 X-IronPort-AV: E=Sophos;i="5.43,405,1503385200"; d="scan'208";a="5764092" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Oct 2017 06:32:23 -0700 Received: from ibiza.corp.atmel.com (10.10.76.4) by chn-sv-exch05.mchp-main.com (10.10.76.106) with Microsoft SMTP Server id 14.3.352.0; Fri, 20 Oct 2017 06:32:22 -0700 From: Ludovic Desroches To: , , CC: , , , , Ludovic Desroches Subject: [PATCH v3 0/5] Introduce the Atmel PTC subsystem Date: Fri, 20 Oct 2017 15:31:16 +0200 Message-ID: <20171020133121.7992-1-ludovic.desroches@microchip.com> X-Mailer: git-send-email 2.12.2 MIME-Version: 1.0 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Hi, The Atmel Peripheral touch controller subsystem offers built-in hardware for capacitive touch measurement on sensors that function as buttons, sliders and wheels. It is available on SAMA5D2. Public documentation will be available soon. A firmware and a configuration file describing the topology and the parameters of the sensor are loaded when probing the driver. Changes: - v3: - fix MAINTAINERS entry - v2: - reorder patches to get the bindings documentation in first - remove the header from the uapi since it may change in the future. Declare only the few structures needed in the driver. - add this driver to the sama5_defconfig Ludovic Desroches (5): dt-bindings: input: Add Atmel PTC subsystem bindings input: misc: introduce Atmel PTC driver MAINTAINERS: add Atmel PTC entries ARM: dts: at91: sama5d2: add PTC subsystem device ARM: configs: at91: add PTC driver to sama5_defconfig .../devicetree/bindings/input/atmel,ptc.txt | 67 ++ MAINTAINERS | 7 + arch/arm/boot/dts/sama5d2.dtsi | 16 + arch/arm/configs/sama5_defconfig | 2 + drivers/input/misc/Kconfig | 12 + drivers/input/misc/Makefile | 1 + drivers/input/misc/atmel_ptc.c | 723 +++++++++++++++++++++ 7 files changed, 828 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/atmel,ptc.txt create mode 100644 drivers/input/misc/atmel_ptc.c