From patchwork Sat Jul 13 08:04:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 11042929 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 9EF9C14E3 for ; Sat, 13 Jul 2019 08:05:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9300828517 for ; Sat, 13 Jul 2019 08:05:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 870F828541; Sat, 13 Jul 2019 08:05:19 +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 3751C28517 for ; Sat, 13 Jul 2019 08:05:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727678AbfGMIFJ (ORCPT ); Sat, 13 Jul 2019 04:05:09 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:43303 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727559AbfGMIFI (ORCPT ); Sat, 13 Jul 2019 04:05:08 -0400 Received: by mail-wr1-f67.google.com with SMTP id p13so12058031wru.10 for ; Sat, 13 Jul 2019 01:05:07 -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=wg4PnSKC1zr343VJSPKwlmxqO+ByphpHmnJapoYMhUKUhQYGgEv3SC81CURUjA4PxO W+NITGFc22UBcACrUoEd31VcCw/EUDVFRN1PEuBWKNtXaVlVqexeKya6OLMB0TSAVA8e AhyNIFCTxUEz+Ft63uZLjUxZJ5GOiwe3YgajBb/Pjm3igmMFBl5y5r1UAeNtm7mxV6ka A4mniTSWFEiQXLsKKPI+yk4vzn82/zOhfXi/WYEXuxBBYoABCvhqNQGqM/2+LKtxM3CJ NWiPENznVeh0Vkp/STULZA0kq3zwszCg8kmNZGIMwXThCxpJL0eukFkueSVcI/lcQVMi 6Buw== 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=Cs8lj38s52tX0H/kx46Qdts4W/xlYGubG1h6yNTT+QMadH8VsHls7Obz2HIDjHW/7t il0OEZJyQ06OgGPjUeOGv42KKOLlWuHaX4OakmnCWOylQhLz3GJerxshGRrXOHl86CBO /Rs585px9xRN2wDAhH2p6U0gcJ7rNyTD9T1JClvafWr2Xt4tv6ntwna0/JzDfL6n5rfK 8/xCh/bw90XeqZf/Ps5LZlK1vz6oDgtm9wOZ6eJ4YkVmQSEt4EOpyF+JiF8slE8B0O8Q bypN4yiT0ayONDMhfArGlrIrJOxqh70fl0dQmfltMaD8d9NvJg1899qrBAWZazb8KqZ+ Bs+A== X-Gm-Message-State: APjAAAUNhH+fjpxvgYAcJ+1WZIHLGWmaHhsXuWvtqW5AWZpfw3zfuK90 JJveVnDJzuMxe3Rz6nW2jZAbeg== X-Google-Smtp-Source: APXvYqwHIkGDbVtUIpi7BaIFcXYTfm6oWcUszrNs0OI2hHBGtooeN8vMx4ADX4HykZvzepsubdgNkQ== X-Received: by 2002:a5d:4e06:: with SMTP id p6mr16790962wrt.336.1563005106590; Sat, 13 Jul 2019 01:05:06 -0700 (PDT) Received: from pop-os.baylibre.local ([2a01:e35:8ad2:2cb0:2dbb:fac9:5ec0:e3ef]) by smtp.googlemail.com with ESMTPSA id o26sm9621634wro.53.2019.07.13.01.05.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 13 Jul 2019 01:05:06 -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, devicetree@vger.kernel.org, Alexandre Mergnat Subject: [PATCH v4 2/3] dt-bindings: iio: position: Add docs pat9125 Date: Sat, 13 Jul 2019 10:04:54 +0200 Message-Id: <20190713080455.17513-3-amergnat@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190713080455.17513-1-amergnat@baylibre.com> References: <20190713080455.17513-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>; +};