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=-9.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,USER_AGENT_GIT autolearn=ham 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 A012DC10F14 for ; Tue, 23 Apr 2019 10:41:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6ABF62177B for ; Tue, 23 Apr 2019 10:41:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="p8Cs7/Pd" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727520AbfDWKlD (ORCPT ); Tue, 23 Apr 2019 06:41:03 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:36183 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727500AbfDWKlB (ORCPT ); Tue, 23 Apr 2019 06:41:01 -0400 Received: by mail-wr1-f66.google.com with SMTP id b1so8218925wru.3 for ; Tue, 23 Apr 2019 03:41:00 -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=HpAsscdncpv4xr8aQhK4uEvYFygVSPExyuY5/UGAfBQ=; b=p8Cs7/Pd2FOhOe1vCUZsEPrt89TEx2W+eauOVaeZSTs0kBvsGbPeSzUN0AfySP10dH fs/jJL24VriCSHxniOMgffi4SHrivxKglOfGHISkfoinCI5CrKjHOC234la4rld+uyVD QynLL45ODgg7pV3VUPADyMYpdS7jjb13FHVWxZg3VAwKhd7OID8+odVG9loir3dVAY6R rVLKSrxCQyoAZp3ET1kg7dZ1n7wTcxYaK0PDYMfym3vKtNXyZ80otmVdyWTvq/gM6huZ LfW6iu4cw9iTgl9NHACQrta0jMbnqWbnhIP6YysFKevWwAtwh68rw57ZKIaBsJ8Q+Acx p2Pw== 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=HpAsscdncpv4xr8aQhK4uEvYFygVSPExyuY5/UGAfBQ=; b=rpafvlDb7KrdP5RiCI9ahrO5HDgK3f4A2NmpaAiVSOvmALIRBXSaTbg6AEi6/qDGlw GSVVFVlqKLHgDjclzfRHgfumM9/Rd68YLJlhgctD1jsH27EIp0LhndBcxX4yk3L3VB9p MQYKNyNTI1sLyJQPVcmDz49ZkJgjXiDshwFRgLIrk9KDXzeBmAYjFIhnYlCT3Hg8tPmt MkXNxAl1nM4oJH24uOgTJH8S3QDy/SmvzcNWAmHjlf24tC6Dn7l+hbRP+W+pMm57yhuU P97r5xi3UESWE7/7/gpRgQ4foPYP8r8UGStXV+xewEHMHoQjtaFtG0exq7mwsDn6s0XU Kl/Q== X-Gm-Message-State: APjAAAVDXBuJqUaF+ofWhYyzfGIly+PnE5BpxA7TtnfaCmkHfZ4cEppA HR9rAdIDkayxKIdH6lCzrNO/Yg== X-Google-Smtp-Source: APXvYqwFHvn81NE2rgFB/poHlx1FVhEVzBXSZvtizVw/8P+Ef6JjiYITcbkZPnnbTLCcIJW+/o3udA== X-Received: by 2002:a5d:4a4f:: with SMTP id v15mr15788758wrs.5.1556016059818; Tue, 23 Apr 2019 03:40:59 -0700 (PDT) Received: from localhost.localdomain ([51.15.160.169]) by smtp.googlemail.com with ESMTPSA id y5sm13329421wrw.23.2019.04.23.03.40.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Apr 2019 03:40:59 -0700 (PDT) From: Alexandre Mergnat To: robh+dt@kernel.org, mark.rutland@arm.com, jic23@kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net Cc: linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, baylibre-upstreaming@groups.io, Alexandre Mergnat Subject: [PATCH v2 2/3] dt-bindings: iio: ot: Add docs pat9125 Date: Tue, 23 Apr 2019 10:40:45 +0000 Message-Id: <1556016046-31231-3-git-send-email-amergnat@baylibre.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1556016046-31231-1-git-send-email-amergnat@baylibre.com> References: <1556016046-31231-1-git-send-email-amergnat@baylibre.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 + + 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>; +}; -- 2.17.1