From patchwork Mon Jun 10 09:29:44 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Mergnat X-Patchwork-Id: 10984565 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 022B514C0 for ; Mon, 10 Jun 2019 09:30:41 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EA05B285AB for ; Mon, 10 Jun 2019 09:30:40 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5C4E285E5; Mon, 10 Jun 2019 09:30:40 +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 A668828643 for ; Mon, 10 Jun 2019 09:30:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389007AbfFJJaf (ORCPT ); Mon, 10 Jun 2019 05:30:35 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:38099 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2389005AbfFJJaf (ORCPT ); Mon, 10 Jun 2019 05:30:35 -0400 Received: by mail-wr1-f67.google.com with SMTP id d18so8406937wrs.5 for ; Mon, 10 Jun 2019 02:30:34 -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=PdcwmOolU+DR3UXS67c/dbknAixfIB6BAAUZEspd9wDp8PMOhN39gnYC0eapuEOiC1 aFG98jm7zoSkAheGUfj8EcPISGb+mi/wG6RQk+SMw7WADqYB13HMJ18QeIAAktbgeGKY G0s2b15j7vucUqYCFwqvwBK88rJSkCK/oHExtIKywFDOinv8BCE+RjqLnfu7IdWHEKWF Eoh8MnVEskZisOOjwYXr75rArB2ywhoIf2/5ynnb/iOXLbTy7tWn/MqO4qYo8tirFPUs 7wGuB9K5as3QP4YfyMBKWclAM2+bOuZM+IVNvPi1yIRLw715NPKgMPm8DbCgPrsUlRCq 1izA== 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=NdhYXxaZnenfZ7ds6O+X6FimanLq+16ZDwRkJ702qyqU5GeuPVFW8M96SIWnIgwtZV OWOqqpMYGkfn6ggoQ9fvp3mS9gjlCrQSu6i2591u/4xFyvXiEIzxIYAcbyNNJy6j8rWL GzY0tvdz/kahRfaXrFVdtxKIKo00MoB76ufSXbREHXekErUyisOcM/2W5Lk+gQQcN+15 EXby49jf6kvpLRfUVRHdivvVnQoiI1ekwuP9wcOJ0nxfZFtedUCI2ztdicy6Vi2dn+Ie I3n3ZbdDCiR855/OtCbmhZemysQqJUaXFXyHCcm4X3Xli5jkdH6E/2x9wlBUp2EHg7Vl 1fdg== X-Gm-Message-State: APjAAAUWIHHaEcjqr3i5yiDPvJ+Ozn5N0+bI4TuWq0wl5eu+DZMfgauJ mVkP4EaZUIWoSFRZP3Zs1DvYjA== X-Google-Smtp-Source: APXvYqzr69NtjqIVYizI4AHwsA7Ue7AMQESfDQNRiKtZik8+bmA2WO5jYTbbg/jFlShRf2phVGMaOQ== X-Received: by 2002:a05:6000:1289:: with SMTP id f9mr5928481wrx.125.1560159033542; Mon, 10 Jun 2019 02:30:33 -0700 (PDT) Received: from pop-os.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id j123sm11881943wmb.32.2019.06.10.02.30.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jun 2019 02:30:33 -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 v3 2/3] dt-bindings: iio: position: Add docs pat9125 Date: Mon, 10 Jun 2019 11:29:44 +0200 Message-Id: <20190610092945.6330-3-amergnat@baylibre.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190610092945.6330-1-amergnat@baylibre.com> References: <20190610092945.6330-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>; +};