From patchwork Fri Jul 12 09:40:49 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 11041943 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 538EB138B for ; Fri, 12 Jul 2019 09:41:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 45E8021EEB for ; Fri, 12 Jul 2019 09:41:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3A91A28BED; Fri, 12 Jul 2019 09:41:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E9B1B21EEB for ; Fri, 12 Jul 2019 09:41:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbfGLJl2 (ORCPT ); Fri, 12 Jul 2019 05:41:28 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:36227 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726793AbfGLJlY (ORCPT ); Fri, 12 Jul 2019 05:41:24 -0400 Received: by mail-wr1-f67.google.com with SMTP id n4so9281676wrs.3 for ; Fri, 12 Jul 2019 02:41:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=K7MVo1cgFDsjyODbl6UghYby+bBwKYEV5/hf6CSHL9M=; b=VBrYnU0yPv77EIYg1g/dicwzuGQ6nyDmHWmyZLJNEYGqWrydbj9U1R6UMjqTL+Rn64 bw2Sj2MTumt1Tlg2zcHRP6wDqUzILfMOksRhjy2dHSQ7JVORA3BFGlbPz0UhduB1cVFx BLhluNhujbrdgj4kHFIfcDVsalyoAiSJ0vKdFdls/E9CCwdXqNJOcM/EnmsPo6VGb9C5 NP5DE7EKXioz12MeMD061C+7G5wLQKz1Pl/yiSp/7/HN1W3sBsCISb7DK5Q/QWQYAAuL ZWXgEyj4bONMs9I/7xRB0MwXxYrzdsUDgS/yeIQwH1SSRYCqyybl8TMxGhjiLPBC4q4Q qMNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=K7MVo1cgFDsjyODbl6UghYby+bBwKYEV5/hf6CSHL9M=; b=GSiO2X8MQ6YXp7Fz5YxAh4bbp9yc3oj2AQjf+JtbnLEqg4PohjXeMiJLE250uBzaY/ PPXSzT33x0EN/FUttcg8j0KCcDKnYsnnou0fPkK3MT1EKdzsk7LQ6TmGE3HxfsFMz9KU ky6PLvv5nPVjwJFuSOAuH/xLtPuODMn7UNb231ZhtAQI+cBGBy0xcERcpAyrdqmL/rgD Gpn1WREngGl8LSBnlUz9r0rwbDgjZAcI9JS0K1C3iHGVROkD68k0ce4vWjtbWa9t/uug CfbYeyXvKIS/GrUQvdXplIfanWfc2dNu0/7uyuUSIHWfCm4604DJSjC3rWfirLF7zBD9 bL7Q== X-Gm-Message-State: APjAAAVrX+ndxq5fF3+0T0rvJlLoA5lpP1638jS+jAnqxjjV2Ao0Wlmu zaQpHArvPSvx7x/q6ncsbFc60mvyz2Y= X-Google-Smtp-Source: APXvYqx4f/6QDHi1/6qjUGikdMhx1yBPBfM4XuV2S++h0JOOo+dTiwzJXxgkTnyMoEJiobPg9Rby7A== X-Received: by 2002:a5d:4484:: with SMTP id j4mr10788448wrq.143.1562924482650; Fri, 12 Jul 2019 02:41:22 -0700 (PDT) Received: from pop-os.baylibre.local ([2a01:e35:8ad2:2cb0:2dbb:fac9:5ec0:e3ef]) by smtp.googlemail.com with ESMTPSA id p18sm7310891wrm.16.2019.07.12.02.41.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2019 02:41:22 -0700 (PDT) From: Alexandre Mergnat To: robh+dt@kernel.org, mark.rutland@arm.com, jic23@kernel.org Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, baylibre-upstreaming@groups.io, dmitry.torokhov@gmail.com, linux-input@vger.kernel.org, Alexandre Mergnat Subject: [PATCH v4 2/3] dt-bindings: iio: position: Add docs pat9125 Date: Fri, 12 Jul 2019 11:40:49 +0200 Message-Id: <20190712094050.17432-3-amergnat@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190712094050.17432-1-amergnat@baylibre.com> References: <20190712094050.17432-1-amergnat@baylibre.com> Sender: linux-input-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add documentation for the optical tracker PAT9125 and "position" directory for chip which can provides position data. Signed-off-by: Alexandre Mergnat --- .../bindings/iio/position/pat9125.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/position/pat9125.txt diff --git a/Documentation/devicetree/bindings/iio/position/pat9125.txt b/Documentation/devicetree/bindings/iio/position/pat9125.txt new file mode 100644 index 000000000000..4028aeef9b42 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/position/pat9125.txt @@ -0,0 +1,18 @@ +PixArt Imaging PAT9125 Optical Tracking Miniature Chip device driver + +Required properties: + - compatible: must be "pixart,pat9125" + - reg: i2c address where to find the device + - interrupts: the sole interrupt generated by the device + + Refer to interrupt-controller/interrupts.txt for generic + interrupt client node bindings. + +Example: + +pat9125@75 { + compatible = "pixart,pat9125"; + reg = <0x75>; + interrupt-parent = <&gpio3>; + interrupts = <12 IRQ_TYPE_EDGE_FALLING>; +};