Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp29374pxb; Wed, 20 Jan 2021 23:58:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJyWBsD5L5ttPyIB7igwDGhcaNP/aVU7F2Oc2m2Ij1cHkiihLapaqkA+ZeHdalzEOoQNjvjP X-Received: by 2002:a17:906:1914:: with SMTP id a20mr8555323eje.278.1611215888327; Wed, 20 Jan 2021 23:58:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1611215888; cv=none; d=google.com; s=arc-20160816; b=Zzlwoyz18rpTXeahDqrED8WIAVocKD+k9DgdjWv4yCU2HfYKHEF+dzqGk3u5Nlgcqe xUC4vAe/Pe2c+7DTwu3880p6KaL7lhhJW0TINVYO6Oa3v+2I2lMQNW00Ocbq3IRA3RtW iy7yl8Ou5mT42YzS11PVTGlbnibQ+SayGWG3+oPUfB6w1FCCidh/W1ZScSJiuPDPM/39 8aw1KzXvplFiZlPKmBiSd/P4GVC1QkJNDszv6AlR8zclUBoslCdCFSqBz1eBCYdoNCxt fOwVudIQ6297VMAHXsbnE9EaPqoXjAJYXvSLfPZz7dN5jzmCsNoxZGtisQh2KD1eP6Tz 5C+g== 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=SJWixD92WzD5AKdY55B5gYlOoEKpKsI7RztlWKiuj1M=; b=CIZNdyCVF3p//jP1eueD6e0c+SX23LjNMR7F1MIPVKhCCDnJNtZDCEyRx1DZFZk00E uj54CYjEKvgvsbpvR0Cy5I5dVWSDHyviE6Zw4NJKSUbHCrl6bblBAyarODmhubVHKBX0 iFetzDLkWImwVDo5dtHDlyyL9CrTiATI1GNO5yYeV9XwkLYFwXwWQ7mqEefD3WZeu8vI YrqjyihSl+o+6p2k5sAkWLrS72CM0VQ7h4OV8omTeWbfpyImMcPxGAW6zbZlRbVZ9MRP 4i47fu6rayd8R25zd1CkAuBfEIewnOfKe6bieGRD64+mvtEGtKDNLWZE8ZxO44Oe0iPH No/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alistair23.me header.s=fm3 header.b=jtEZnlyQ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=oMwtOu5F; 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 ho11si1630182ejc.260.2021.01.20.23.57.44; Wed, 20 Jan 2021 23:58:08 -0800 (PST) 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=jtEZnlyQ; dkim=pass header.i=@messagingengine.com header.s=fm1 header.b=oMwtOu5F; 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 S1727973AbhAUH4q (ORCPT + 99 others); Thu, 21 Jan 2021 02:56:46 -0500 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:33149 "EHLO out3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726488AbhAUG6D (ORCPT ); Thu, 21 Jan 2021 01:58:03 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id E563D5C00F4; Thu, 21 Jan 2021 01:56:48 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Thu, 21 Jan 2021 01:56:48 -0500 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=SJWixD92WzD5A KdY55B5gYlOoEKpKsI7RztlWKiuj1M=; b=jtEZnlyQ+uchiJntQ4O97J8kXQUca 5BabrIOan80CNLoJnsAQBFHLtKxP9LAVjqxnX4VTZCFloEi9F/oz1PLp5bPKj5Xk Hl6CzPjvgyUoWBmI9EEEJ0j/z9kl2we1qe+RI6ItuEyCxsSPiQGtjZPyMUGLP+7r jOy7E331KQmut369oZSxUwKx2YKphKXkf9AjSmBPLqJjlgeM6S2rRmTPD6xG7WAs gfvEgJKx7Mhv8pNJ7o+DwqB3stulykp38qETuGi73f0TsRAYT36CTuVcV8CAvB6S 2+ITPfdy0jxA3OQHoWTr2FAI4ApNapsFVSNwKtfzNeIV3rczhwl4JuU5A== 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= fm1; bh=SJWixD92WzD5AKdY55B5gYlOoEKpKsI7RztlWKiuj1M=; b=oMwtOu5F CEnaTB15tmGbzB+My0DWrh8IvqBDjGwxrc3wq4TbSP8LaZck23zWoLqQNpNNwBWk AjhKKbwaAVGqVn8j1VgI7v6hRObmy0Rzs+8wTPloMwip6GcqFZXt8YbM5srot3lm L852lY6gANUXGWGpRlHJxw8cx++Oz5tZTI35N34CcyXyjtUL34WdeL7J7CrkZbF2 8QUanonR+8+QVd+MdXpkn0//q49wyeL8cOip6J6Ilb/20OZNb6M9rnJW6THJP29c uwdM14CKfg3Sw3PbVoTMrkoxrNg3qIk0VpVymgRlePvMHT3YCq1cY0jKuKQKcJDM JP7l9/BJBWzhoA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudefgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgjfhgggfestdekre dtredttdenucfhrhhomheptehlihhsthgrihhrucfhrhgrnhgtihhsuceorghlihhsthgr ihhrsegrlhhishhtrghirhdvfedrmhgvqeenucggtffrrghtthgvrhhnpefftdfhgfeggf elgfekjefhkeeigfelleefhfethfehfeetleeggeeggfefffdvtdenucffohhmrghinhep uggvvhhitggvthhrvggvrdhorhhgnecukfhppeejfedrleefrdekgedrvddtkeenucevlh hushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhishhtrghi rhesrghlihhsthgrihhrvdefrdhmvg X-ME-Proxy: Received: from ThinkpadX1Yoga3.localdomain (c-73-93-84-208.hsd1.ca.comcast.net [73.93.84.208]) by mail.messagingengine.com (Postfix) with ESMTPA id E97261080064; Thu, 21 Jan 2021 01:56:47 -0500 (EST) 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 v2 1/6] devicetree/bindings: Initial commit of wacom,wacom-i2c Date: Wed, 20 Jan 2021 22:56:38 -0800 Message-Id: <20210121065643.342-2-alistair@alistair23.me> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210121065643.342-1-alistair@alistair23.me> References: <20210121065643.342-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,wacom-i2c.yaml | 44 +++++++++++++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + 2 files changed, 46 insertions(+) create mode 100644 Documentation/devicetree/bindings/input/touchscreen/wacom,wacom-i2c.yaml diff --git a/Documentation/devicetree/bindings/input/touchscreen/wacom,wacom-i2c.yaml b/Documentation/devicetree/bindings/input/touchscreen/wacom,wacom-i2c.yaml new file mode 100644 index 000000000000..b36d22cd20a2 --- /dev/null +++ b/Documentation/devicetree/bindings/input/touchscreen/wacom,wacom-i2c.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/input/touchscreen/wacom,wacom-i2c.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Wacom I2C Controller + +maintainers: + - Alistair Francis + +allOf: + - $ref: touchscreen.yaml# + +properties: + compatible: + const: wacom,wacom-i2c + + reg: + maxItems: 1 + + interrupts: + 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,wacom-i2c"; + reg = <0x9>; + interrupt-parent = <&gpio1>; + interrupts = <9 IRQ_TYPE_LEVEL_LOW>; + }; + }; diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 041ae90b0d8f..5bca22f035a3 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -1202,6 +1202,8 @@ patternProperties: description: Vision Optical Technology Co., Ltd. "^vxt,.*": description: VXT Ltd + "^wacom,.*": + description: Wacom Co., Ltd "^wand,.*": description: Wandbord (Technexion) "^waveshare,.*": -- 2.29.2