Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2319830pxb; Mon, 19 Apr 2021 02:55:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXrCJArYEzAyTTUrOwJxJ+9mxZEo+OQwwnyp3Xj/hmuQFBG6obTh8Uvba+OlzY0aGp7PLA X-Received: by 2002:a17:90a:6c88:: with SMTP id y8mr24851890pjj.38.1618826142926; Mon, 19 Apr 2021 02:55:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618826142; cv=none; d=google.com; s=arc-20160816; b=LfdfjD6cYxNkFmsv8FHnohAHBGrS+hOwztAh5hUf+uwf8WxC88N55h61zJobNLnA8Q Gp/Pdw3wieJCACrWBp1P//5ifrE9WckjWkzDUy8Ebq68RYCZUazOWMk8mKrWDIf1AXyB ZeslOhtAzIvfcRDSGJlRKsK1q09sx2LHAs/M0MVKrLlI7L/Pcm+ozAu9bO+wS/tAHHOl c589ChDnQpjvsB7zv02U+aEMyqwjFqy5icqHB3msQlq+plgqgpEi6+WAYsYNrbBMDjVr 4QpQi006OlXU+xcsH7GC8vgWxYE3hDAZ84X3BCcyzL5Kp/AHV4DUJiRoMFMQGZOF73+U C6lA== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:dkim-signature; bh=xa3UKf0PeGo+yc9OQD4iBkuA6ndOakmgwVIDpufF6mw=; b=n+APCI3MXPlLn62rSW+08HoyRHj2bryN1ejj4cSGKN0CWU47e9x2bah559cMG9MFK/ VUm91doy9YKeNIIiejleVyixiRSAGpk4Jn4HjfJ9nXILGbUZl9FOcI5TA6EtgVi4kWzo UlL0zB7s9jgumx6CRI1Mk1Kv5c5CdXzMwpaSbLLgzSdZcrA5367rqte3vSb77xJyczTV 9XfLkwlcgUfKeL4Q1qTfCcar6iqwQ2DQ4HTSlM6dU2VPRVuyTl5IM5eEXUA/hmHh2Q+4 Z1hNFb9oqQD5sTEHQB2Rvb6utifRwfdgPhNTbU+4mFSULJDCsZszvsx4c/8ORo4pbpnc Q/+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=B6YZ3PMQ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=IcNZtujq; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a1si16806730pgh.117.2021.04.19.02.55.29; Mon, 19 Apr 2021 02:55:42 -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=@alistair23.me header.s=fm3 header.b=B6YZ3PMQ; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=IcNZtujq; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232452AbhDSIjw (ORCPT + 99 others); Mon, 19 Apr 2021 04:39:52 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:45923 "EHLO out4-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231687AbhDSIjv (ORCPT ); Mon, 19 Apr 2021 04:39:51 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CAD455C00D6; Mon, 19 Apr 2021 04:39:21 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Mon, 19 Apr 2021 04:39:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alistair23.me; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm3; bh=xa3UKf0PeGo+y c9OQD4iBkuA6ndOakmgwVIDpufF6mw=; b=B6YZ3PMQL3Yh8/blfMLlP1SVxUHIr GWvbPyIwxf25oVg1QwWOBF97vviagXVZXKqqo/Pp2R1fffWf0CdXct66OWCvhszf PyAM1WvmOjLhxcPlY+X6iI+2vVtHzBR2FiM84k6wee3rMS52GxXypNvvOnxNiH23 3TiXU4B4ZfEUoJ3dBDzT1ZZaMIAx7FoePG1ZlxYnlgKOTOgh6Z2vXd6OeVRAGRNz EIKn7DoemWIuWAfEhGYpg3A1qieLSvgw4d4t+C/BETETl9hXK+MkYyuJvEtZvELo zjitpPkqNysl1ynTNG1PtQaHhi0GYI1kGRtCQtV6l/8PmnkNrEr/dZjVw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=xa3UKf0PeGo+yc9OQD4iBkuA6ndOakmgwVIDpufF6mw=; b=IcNZtujq JNP4oYpE/4zzaziqie0HW5dpc+vxqZCQ69fVosBRYP/8HtPlKIW/OYM1BE5CjJa6 xoPZCp8X+TJqjlPdOJNGhPdWx401iFpFtWIXv7ELaa6OFZLL4mCF4Xasr3X9M1o1 tR+YT+Q8bTJffuYilcLlQVD67tjgTlVfQ8aC7fx7mUVPCLviT27QpRunrLPP4L5H vMr/JfaFZZyaxVNFivfWwR6QqfDm385bcy9phybDp6MHxrdtvLPRtpxclMMbXq+v qs1eaWLXNVQ4NXnlqUjdQZ2RZkwxd9ShyRUcS8bgGJNO5pCNPplhTawFCeqiExlM bzZzW+lutO6fwA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddtgedgtdejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpefftdfhgfeggf elgfekjefhkeeigfelleefhfethfehfeetleeggeeggfefffdvtdenucffohhmrghinhep uggvvhhitggvthhrvggvrdhorhhgnecukfhppeekledrgeegrddutddruddvfeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvg X-ME-Proxy: Received: from ThinkpadX1Yoga3.localdomain (unknown [89.44.10.123]) by mail.messagingengine.com (Postfix) with ESMTPA id F26D0108005B; Mon, 19 Apr 2021 04:39:18 -0400 (EDT) From: Alistair Francis To: dmitry.torokhov@gmail.com, linux-input@vger.kernel.org, linux-imx@nxp.com, kernel@pengutronix.de Cc: linux-kernel@vger.kernel.org, alistair23@gmail.com, Alistair Francis Subject: [PATCH v5 2/9] dt-bindings: touchscreen: Initial commit of wacom,generic Date: Mon, 19 Apr 2021 07:00:57 +1000 Message-Id: <20210418210104.2876-2-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210418210104.2876-1-alistair@alistair23.me> References: <20210418210104.2876-1-alistair@alistair23.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Alistair Francis --- .../input/touchscreen/wacom,generic.yaml | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml b/Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml new file mode 100644 index 000000000000..19bbfc55ed76 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/wacom,generic.yaml @@ -0,0 +1,48 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/wacom,generic.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Wacom I2C Controller + +maintainers: + - Alistair Francis + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: wacom,generic + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + + vdd-supply: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +additionalProperties: false + +examples: + - | + #include "dt-bindings/interrupt-controller/irq.h" + i2c { + #address-cells = <1>; + #size-cells = <0>; + digitiser@9 { + compatible = "wacom,generic"; + reg = <0x9>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + vdd-supply = <®_touch>; + }; + }; -- 2.31.1