From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0C160C10F14 for ; Tue, 23 Apr 2019 11:01:51 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 4E2F821738 for ; Tue, 23 Apr 2019 11:01:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=pmeerw.net header.i=@pmeerw.net header.b="BGl6Kr2g" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727014AbfDWLBt (ORCPT ); Tue, 23 Apr 2019 07:01:49 -0400 Received: from ns.pmeerw.net ([84.19.176.117]:40532 "EHLO ns.pmeerw.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbfDWLBt (ORCPT ); Tue, 23 Apr 2019 07:01:49 -0400 Received: by ns.pmeerw.net (Postfix, from userid 1000) id 52223E0382; Tue, 23 Apr 2019 13:01:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pmeerw.net; s=mail; t=1556017308; bh=5I67NfCana8LVSTxmxJTjG3v3OY5qk16SkmFAj3FjLY=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=BGl6Kr2gFJOkOQ6xDJPBtyBnK6VvY5TgIlM/eIsNzfs9LCNH24amHYwJk6q1rcmu6 uJZCKmOBN7GjlBAxAEx5h68d6nTQ4vSE9LQG+Fg9yg3iUdEx8CRoXgoNqm5sRRHUqg R1XIYvgvWpF8nEtRKPE/V8eyhxaWbAoXhsf6Kx0c= Received: from localhost (localhost [127.0.0.1]) by ns.pmeerw.net (Postfix) with ESMTP id 385BAE036D; Tue, 23 Apr 2019 13:01:48 +0200 (CEST) Date: Tue, 23 Apr 2019 13:01:48 +0200 (CEST) From: Peter Meerwald-Stadler To: Alexandre Mergnat cc: robh+dt@kernel.org, mark.rutland@arm.com, jic23@kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, baylibre-upstreaming@groups.io Subject: Re: [PATCH v2 2/3] dt-bindings: iio: ot: Add docs pat9125 In-Reply-To: <1556016046-31231-3-git-send-email-amergnat@baylibre.com> Message-ID: References: <1556016046-31231-1-git-send-email-amergnat@baylibre.com> <1556016046-31231-3-git-send-email-amergnat@baylibre.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org > Add documentation for the optical tracker PAT9125 and > "ot" directory for Optical Tracker chip. > > Signed-off-by: Alexandre Mergnat > --- > .../devicetree/bindings/iio/ot/pat9125.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/ot/pat9125.txt > > diff --git a/Documentation/devicetree/bindings/iio/ot/pat9125.txt b/Documentation/devicetree/bindings/iio/ot/pat9125.txt > new file mode 100644 > index 000000000000..2ffacaafba8e > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/ot/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 maybe delete space before : > + > + 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>; > +}; > -- Peter Meerwald-Stadler Mobile: +43 664 24 44 418