Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3427451pxy; Tue, 4 May 2021 01:47:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzTV7C99t1CYc1EkHDD167LvDy4zBdAPtpk4qroORiuj5bHeCeANGcQhk//evcG9dSzFwgi X-Received: by 2002:a17:90a:8c97:: with SMTP id b23mr3395025pjo.74.1620118024638; Tue, 04 May 2021 01:47:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620118024; cv=none; d=google.com; s=arc-20160816; b=DKFQ3lCDchBZxmoK9/t3WLsu6wVAp/zcIOqyz51uTn6mgiEmRUaobK5Ye/oX6DWZHb CmVcq4Jx3gVBfAgzi+XEojsGEBku4QrujJYuCVuOXT/HL0xp7HaU/hqkPD1cccj8/oo4 t9JpniCBrlI5CAEU+PNhNty8zAyu4zizav0MVbqc1wqkkb2HkkxWhJ4VhTIK82wrsTZ0 mkOS1sqbsWL+yF1wDqeDMt6kPc2eIC5jGpgIlrnQANhscwtUUKnWETxMLpmjGbIwbfNp vPuIrpNsLXAXsS4WcGc6vqiRpsZE9qKIldhBQOOzReWdk8XJ2eipfip90uPlLoBS6VOp OcnA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:subject:reply-to:cc:from:to:dkim-signature:date; bh=v1aoVMgbmZpYW/FjKNTAtyYXJi0XFRhH34LJ661TRZY=; b=CSmLmlZj7TZFvMVM8NwY/mpIsY41qzVDrRtb31WXXSomWJV4rLr7dJyJUwmE1jLOde KO6m2M3uMiV9c0IZr12fvogePxQdvnTK7zUhNEuQyxfjFZTQ6QPTp2Cpc0NH3UGgzvFN hiBOZQV4HadIUCf0SKdKPxFs5SP47z2BivyjAMcejCFfF7xofrmY9D+GpsBeNdRqxFpT B2YaaJ8ZxP8rLpyqDGbwyVx/B6O9hW7Oa5gvIRApFJBNUjSfOeV7s4h9mdRErrRrVq0x 65N+l1oG4vDTvA0JGAx0kYJrFZ7WE3D+BTWFczvhVSWHmKj1y+Yva/hWtpLW+UwVC8AA mmcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=sEuC26GT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o3si5495119pfk.160.2021.05.04.01.46.51; Tue, 04 May 2021 01:47:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b=sEuC26GT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230043AbhEDIq7 (ORCPT + 99 others); Tue, 4 May 2021 04:46:59 -0400 Received: from mail-41103.protonmail.ch ([185.70.41.103]:11880 "EHLO mail-41103.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229920AbhEDIq6 (ORCPT ); Tue, 4 May 2021 04:46:58 -0400 Received: from mail-02.mail-europe.com (mail-0201.mail-europe.com [51.77.79.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by mail-41103.protonmail.ch (Postfix) with ESMTPS id 4FZD2d58zfz4wxpV; Tue, 4 May 2021 08:46:01 +0000 (UTC) Authentication-Results: mail-41103.protonmail.ch; dkim=pass (1024-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="sEuC26GT" Date: Tue, 04 May 2021 08:45:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1620117957; bh=v1aoVMgbmZpYW/FjKNTAtyYXJi0XFRhH34LJ661TRZY=; h=Date:To:From:Cc:Reply-To:Subject:From; b=sEuC26GTVJrNMsITKrDwhsrC+hm1anoaEcctGoHCNCKWqmU+MgYbMjzF47fUAhNi7 3rqmIiRGbi4zgotNS6EOsMcP88O++ng2+4VvYIZjqG6W+HLUkCmf5Wp+Mf8pHutUTc G7526WrxFVS03ycxTehN69h6/4l6qf4E5rMs8k6A= To: "linux-input@vger.kernel.org" , "devicetree@vger.kernel.org" , "dmitry.torokhov@gmail.com" , "robh+dt@kernel.org" From: Yassine Oudjana Cc: Yassine Oudjana , "linux-kernel@vger.kernel.org" , "phone-devel@vger.kernel.org" , "~postmarketos/upstreaming@lists.sr.ht" <~postmarketos/upstreaming@lists.sr.ht> Reply-To: Yassine Oudjana Subject: [PATCH 0/2] Input: cypress-sf - add support for Cypress Streetfighter touchkeys Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, This patchset adds support for the Cypress StreetFighter touchkey device. This driver is based on the driver from the vendor kernel for the Xiaomi Mi Note 2[1][2], which is also the device where this was tested. Best Regards, Yassine [1] https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/scorpio-m-oss/d= rivers/input/touchscreen/cyttsp_button.c [2] https://github.com/MiCode/Xiaomi_Kernel_OpenSource/blob/scorpio-m-oss/a= rch/arm/boot/dts/qcom/scorpio-msm8996-mtp.dtsi#L300-L322 Yassine Oudjana (2): Input: cypress-sf - Add Cypress StreetFighter touchkey driver dt-bindings: input: Add binding for cypress-sf .../devicetree/bindings/input/cypress-sf.yaml | 55 +++++ drivers/input/keyboard/Kconfig | 10 + drivers/input/keyboard/Makefile | 1 + drivers/input/keyboard/cypress-sf.c | 220 ++++++++++++++++++ 4 files changed, 286 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cypress-sf.yaml create mode 100644 drivers/input/keyboard/cypress-sf.c -- 2.31.1