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: 11041937 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 2F16E14C0 for ; Fri, 12 Jul 2019 09:41:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1FCE528ABE for ; Fri, 12 Jul 2019 09:41:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1452D28BF0; Fri, 12 Jul 2019 09:41:28 +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=ham 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 8885D28ABE for ; Fri, 12 Jul 2019 09:41:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726140AbfGLJl1 (ORCPT ); Fri, 12 Jul 2019 05:41:27 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:45228 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726284AbfGLJlY (ORCPT ); Fri, 12 Jul 2019 05:41:24 -0400 Received: by mail-wr1-f67.google.com with SMTP id f9so9209651wre.12 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=TxwjeIDq1Q3yLQU8yUwl7b4E0v6ZkNzCMrPsK94PsWLyKmNV0oATDi20IZjfhKoD7k u28kI+v/bhlUUbJ68RdM0lHuC9SAxzenf6R75eVuCHm07tztJ4mcubgbr0Dd+rPMhP9D LcC1us1UNRmhrimcF7bTBzsl+EpVIVS0Oc2yWJGE+dP9o2qsrRlpDXVGslJAqwbfPN2R GN7FxH5Sa7Z6oxzoV7nH+L7zyFPfiwbQuc/gjV67i4Q7yAV5LA7jgfwKu6Q9AtshcZde 6LazFH12y+ec4uTiLmdgeSzM9y+HckmgxhpyxrtT/6NGT+iTKRycOFbxz+yAexPvSHrx oB1w== X-Gm-Message-State: APjAAAXonFO3UP08AID6lNNNZju1cF/LGN4fGRONnIrMd4KAdR4T8M0P foSAEcMNh4CiFf/FC8zsXF43Ow== 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-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@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>; +};