Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp3429014pxy; Tue, 4 May 2021 01:50:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1j9tYuZsU4zADOdRvEmjAiPKcDvqkXqlFamE3i/K3hGHR62mAe88Ql/BgUUceEDzU19oD X-Received: by 2002:a50:c44f:: with SMTP id w15mr24945396edf.79.1620118212837; Tue, 04 May 2021 01:50:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620118212; cv=none; d=google.com; s=arc-20160816; b=VNQAIBCt7bt14yDPkKPh6Rh/MM5DWWf26J/pDUE7Tn4LNjfLNz4cXvORoUg5uf+C6w eO2+XF186Pc7UEs5+z1zExb0S4y/LTCC1+XDV/tG3BCVLfuL3TI70joGugTW98UZ5r9F x5pB36bHo8JxUfgLrvHQq7Yt0dWTYN+/EdNVrdxftVbAdWyKMayC5Z97TkjPw9ZGNMQK BYw39QOjCkAfeeAWzqWhtCK3gqSbNVzEMvyZlz93/e0TyCHsvqj4kRru0/LxZuuI7Ohj DEyMgG1CSQ0tn317iSB6c3yD3dfkuy2+TWBhXUBkHPG1kVvK91nUhimeDYZmCVmbq8AI V/tQ== 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=hHNQmF2M5QL+db+MdIn83ZXnlBrsdZ0yLisoXSk5p4M=; b=RCGAZlumzY5Ub7GIZxHsB/SFlYfbzkqZlTDqw7mqwzNel1CVxc50xEzdgShGwudJkx i+gAH5XXyTf4seWMF05BTzXxiuuhyrWOMh7g5CTxb4LnjKp35GBRbDneWPvcCzSK5owb 3PuP+gwlRKy+4H8Fl9KjRXsctD0wAHenyK5f2e/rT8KTHEdRnflUIL7W5nMPgUM9q1hL ftpHffhV2s+8+NT50y6NG8S0yM1bxqxD0ZDOeSYIUoHWdv+7O/lIzqPjoBiQjA5j0Ci8 2xU4EswAa+3GNNSHl4g8qFOPKubV+/28hH/J406btFPcb76t11nb4L7BRAdziO/NMzcW icqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail header.b="Vuf1T/J5"; 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 q17si4798647edb.242.2021.05.04.01.49.48; Tue, 04 May 2021 01:50:12 -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="Vuf1T/J5"; 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 S230138AbhEDItb (ORCPT + 99 others); Tue, 4 May 2021 04:49:31 -0400 Received: from mail-41103.protonmail.ch ([185.70.41.103]:19466 "EHLO mail-41103.protonmail.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230090AbhEDIt3 (ORCPT ); Tue, 4 May 2021 04:49:29 -0400 Received: from mail-03.mail-europe.com (mail-0301.mail-europe.com [188.165.51.139]) (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 4FZD5Y5hcdz4wy54; Tue, 4 May 2021 08:48:33 +0000 (UTC) Authentication-Results: mail-41103.protonmail.ch; dkim=pass (1024-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="Vuf1T/J5" Date: Tue, 04 May 2021 08:48:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1620118109; bh=hHNQmF2M5QL+db+MdIn83ZXnlBrsdZ0yLisoXSk5p4M=; h=Date:To:From:Cc:Reply-To:Subject:From; b=Vuf1T/J56yZ0M1wLphGmqMmnxLZLvNb74Tta2dKb3sgpyXogp3kSkqdYKz/usBQWZ Mb7yo3VcZS+v+7DTPQAn8q3KmcOLA7DeQOjFcv1v4XHSQXar7SapKmOt54JpImRmZx eb++HtfvTp6c9F1PWVthXC9ryfRGLm0f3jvfdoNk= 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 2/2] dt-bindings: input: Add binding for cypress-sf Message-ID: <_T7bJripXfkFGJcfJVL7E_n7RsT5UQzhvxauebspa-aGiMZkX3jk1yHiWeoqHOYQkd8UZgX2TT964OFeEYqtCMh-ZlPiK5kpb3AJqhZFKSs=@protonmail.com> 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 Add a device tree binding for Cypress StreetFighter. --- .../devicetree/bindings/input/cypress-sf.yaml | 55 +++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/cypress-sf.yaml diff --git a/Documentation/devicetree/bindings/input/cypress-sf.yaml b/Docu= mentation/devicetree/bindings/input/cypress-sf.yaml new file mode 100644 index 000000000000..3de13490876f --- /dev/null +++ b/Documentation/devicetree/bindings/input/cypress-sf.yaml @@ -0,0 +1,55 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/cypress-sf.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Cypress StreetFighter touchkey controller + +allOf: + - $ref: input.yaml# + +properties: + compatible: + enum: + - cypress,sf3155 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + avdd-supply: + description: Regulator for AVDD analog voltage + + vdd-supply: + description: Regulator for VDD digital voltage + +required: + - compatible + - reg + - interrupts + - avdd-supply + - vdd-supply + +additionalProperties: false + +examples: + - | + #include + #include + i2c { + #address-cells =3D <1>; + #size-cells =3D <0>; + + touchkey@28 { + compatible =3D "cypress,sf3155"; + reg =3D <0x28>; + interrupt-parent =3D <&msmgpio>; + interrupts =3D <77 IRQ_TYPE_EDGE_FALLING>; + avdd-supply =3D <&vreg_l6a_1p8>; + vdd-supply =3D <&vdd_3v2_tp>; + linux,keycodes =3D ; + }; + }; -- 2.31.1