Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp941922pxf; Thu, 25 Mar 2021 18:54:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPiEIJ9Av3WrJOpMFLJPQNxakgYFjZ7/y3n8lGl5g1eKbSwMoIlya8jszGLIGbEJvau393 X-Received: by 2002:a17:906:fc1c:: with SMTP id ov28mr12757510ejb.342.1616723670561; Thu, 25 Mar 2021 18:54:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616723670; cv=none; d=google.com; s=arc-20160816; b=w91ETm2jYUPIxLHH5StdKq9fjwq707fabVPa+f6ranJJkMWwtOh/mFxuAEUW2oHUbH lBkjZk74QdnW2DtQDj4uBPnD25St7DqDzJ1m65MlwPonh0ro9MfBfH7O+rZNQ5bv2PRF wOD32Bok5Xrz0+OWPLc9tbJNhfeZzR5Rb9wwRmS3A/pgf/S5LKfVYYI+gNKg+iI+INpO HQUbwE2SpqfVQL4TgN+YJZgxl3mGMhDvvdbMR+nC0XLlxDXO5K3KPMTl4SkC/LRzivie O9RY639LJ/XKlyVpV0/SZcNpnW/7Zc37/uaWyTDYQLNC32QoGl4+gqcZw7AV1XOik/cV CX9A== 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=XE2V5arHmzlU3KCragEOdE9ppzrztZxOw4hXXe60udc=; b=gUsa0cdOsUz6cHpGGQvNL/0u+UeTluvW9o2LAQWx+acm6Ptnp0sp4pcmI6t5ZZ7zVG pJ5nnIHb9eYXRhfGnToyLH5Y3hknq8Hail9Tf4latau5ysg9z8PMOuMIudTka79ULuPA M8j+aihfZA3XgYhOgCJMNE6Iw1mZRe2PjsY5Kj+tDy6n2HRu/vkeaukB1AWHTW2JrCOW DCO1fqW33KzRL5LL/FkgEfVL/0JCwrbbCsktZ4y2LbeRTMWut7ztQVEgKC7vsO4THf3Q oQiqZ9R7ipWZREbpABCA9pRn8n/pVYpUjrdFmr4yQqYXDom37aBO8C15XEUzc0Gicg4m eyrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=HpMQ8jQe; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Y+VbyK8+; 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 z22si5123540edc.427.2021.03.25.18.54.08; Thu, 25 Mar 2021 18:54:30 -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=HpMQ8jQe; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=Y+VbyK8+; 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 S230273AbhCZBxM (ORCPT + 99 others); Thu, 25 Mar 2021 21:53:12 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:41449 "EHLO out1-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230045AbhCZBwn (ORCPT ); Thu, 25 Mar 2021 21:52:43 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id CF6365C0101; Thu, 25 Mar 2021 21:52:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 25 Mar 2021 21:52:42 -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=XE2V5arHmzlU3 KCragEOdE9ppzrztZxOw4hXXe60udc=; b=HpMQ8jQevzM2WyTMNi9oN4skydOP4 73Ds+TwMfgCYQlqBCac3ah1nq8M7mZbn4mdXEVP6eNL8On37i2LBV/d/hgOe4Rpi 8jpGFEiOoczAKoeI2ejlw39dB1sLnNS7QBBk5+mNmmCQuGeJtyNNv8anuVulwRxg +jsgOE3vYDA81Pgn2Tcrl9ThOCeOIiOeO3GTelZnJ4wiH9ubZ0DV//t/nGs4mc+h TWkMyWcbgAIylX2nJYEwB8USdzsVu4+mDrt9PYj39NqOH1IRbbXqxniPIuz9BlUL dh00rftlr+HkIl4erYWx1vx96fMpRvRLsu1ZJIabVOFC70flxJWe61/DQ== 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=XE2V5arHmzlU3KCragEOdE9ppzrztZxOw4hXXe60udc=; b=Y+VbyK8+ Ai4EIMMwsiCvxL0K7Z+MAkRBs0TTZ9QLCTwGpZvRtxWFMnsgUR+ayVPQD940C3by pl/cFuDOHpejCa7R62yMWATUMXbJaMxxGZdnGNsjsIachynFd68jNaxL9IkG7zxf huc38zyOmuWCRJpWsBi3sVynOHOfAKIEAb9yqBqitHOoOSxIMxvm8brRFhDXWBOR Y3wXBctCfbnrhQIQsVq0XCESh5pqOa4/UDhlQDi22liMTz+NEk3tmOJm6EMfF2sV o1YUCKEU/9mFsQJPs5PXjAnbNjnPdLYiGo3ILWY/bAl6T3r3zxiy2BU+ySslR7T4 23m9xUB+s13NWQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudehuddgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpefftdfhgfeggf elgfekjefhkeeigfelleefhfethfehfeetleeggeeggfefffdvtdenucffohhmrghinhep uggvvhhitggvthhrvggvrdhorhhgnecukfhppeduleefrddvjedrudefrddvfeehnecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgv X-ME-Proxy: Received: from ThinkpadX1Yoga3.localdomain (unknown [193.27.13.235]) by mail.messagingengine.com (Postfix) with ESMTPA id E366D1080066; Thu, 25 Mar 2021 21:52:41 -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 v4 02/10] dt-bindings: touchscreen: Initial commit of wacom,generic Date: Thu, 25 Mar 2021 21:52:22 -0400 Message-Id: <20210326015229.141-2-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210326015229.141-1-alistair@alistair23.me> References: <20210326015229.141-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.0