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.3 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 DEFC5C432C0 for ; Sat, 23 Nov 2019 23:36:05 +0000 (UTC) Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B265A20706 for ; Sat, 23 Nov 2019 23:36:05 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aVRPkvGb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B265A20706 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=driverdev-devel-bounces@linuxdriverproject.org Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 63D6886B3C; Sat, 23 Nov 2019 23:36:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RKlLNxucblFc; Sat, 23 Nov 2019 23:36:04 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id DAB5186B43; Sat, 23 Nov 2019 23:36:03 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 545FA1BF568 for ; Sat, 23 Nov 2019 23:36:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 5150685F18 for ; Sat, 23 Nov 2019 23:36:03 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nJVc7HZ-ZvAK for ; Sat, 23 Nov 2019 23:36:02 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) by fraxinus.osuosl.org (Postfix) with ESMTPS id A5DF385F10 for ; Sat, 23 Nov 2019 23:36:02 +0000 (UTC) Received: by mail-qt1-f176.google.com with SMTP id q8so9923636qtr.10 for ; Sat, 23 Nov 2019 15:36:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2od3CCfgH/wIJisYHutA7VGKvbA/ioFGgCw20B9AbCQ=; b=aVRPkvGbxERhDbAG8Ocv8JoY/lx7E3zCK+HMvmy0zK/T+ZOHuhS5Bjgd6h1wXmkVbP JYq7hmz23+kDhPYYJpZpLIXdCyBrb2E+kw5BJGyBxfgmTZRSIaJHFZ0CrDMxg50kmHsp 6TnrKhZbTFV9i0J+Hp8Ln7IQhM4oDmtodv6LnY9VYg+7iJzcCr4l+gUhVscdOz48vwRP GLKHjawSPd5dJfwlw3tTIb49UWFWKYPvHqLoDznjCaFFAVZoMrRHfGNwtT2qZEcEV04m 7fDjZOjf9+Ra8YcjpSXVxycuR7s4FrUNiZSCJBIAcVN7uxF3SXyF2hM/H3SoiiiUNYOy HvaA== 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:mime-version:content-transfer-encoding; bh=2od3CCfgH/wIJisYHutA7VGKvbA/ioFGgCw20B9AbCQ=; b=I4muB9LX7J4mTJlHeUrfgClTVUBNYR2TtZwO0Clz/3wZNr4rBo5++7pQoRYxHvc5Ia JmVHlHIb3DXtkJOlD+/qFGgOr8/vBPSrvxLo9rU1BtCgc/k0qNSA2hTWeIOFXd85ENYy tyttUzj7BooDObdKadZjP728dNSvpnaD6gLyzVJvAGGsZ5w3VX8uRwv8Wuy2JfNaQwpN XY1xsevfLePKBrdCABxJHAeCZ3vW572iX7kk0vXXDjm2Nz8xz1z1arfXRALKbItMySS8 qibz252oyFryLXcs7zp5cQYTIBfW9IPR+pMhKuhgD18/UObWvYFlA/hUwktjpi4zE6SH gGVA== X-Gm-Message-State: APjAAAWlTysv0c2/IHtIh998kcfeJiWRIC5JZGgUA0mCBlpLVzCFghj4 vL7DBwhXhf+sNx1O6YrUPPU= X-Google-Smtp-Source: APXvYqwiW5oPSsRKtf1m5y8Vp4pPXQoOpP371XN7h1l7Y0p0ha1FctguEtstT6uIp6HcajHDmWmkVg== X-Received: by 2002:ac8:424e:: with SMTP id r14mr4386591qtm.193.1574552161525; Sat, 23 Nov 2019 15:36:01 -0800 (PST) Received: from localhost.localdomain ([177.76.215.166]) by smtp.gmail.com with ESMTPSA id f22sm1357518qtc.43.2019.11.23.15.35.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Nov 2019 15:36:01 -0800 (PST) From: Rodrigo Carvalho To: Lars-Peter Clausen , Michael Hennerich , Stefan Popa , Jonathan Cameron , Hartmut Knaack , Peter Meerwald-Stadler , Greg Kroah-Hartman , alexandru.ardelean@analog.com Subject: [PATCH v5 2/2] dt-bindings: iio: accel: add binding documentation for ADIS16240 Date: Sat, 23 Nov 2019 20:35:10 -0300 Message-Id: <20191123233510.4890-2-rodrigorsdc@gmail.com> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191123233510.4890-1-rodrigorsdc@gmail.com> References: <20191123233510.4890-1-rodrigorsdc@gmail.com> MIME-Version: 1.0 X-BeenThere: driverdev-devel@linuxdriverproject.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Driver Project Developer List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devel@driverdev.osuosl.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Rodrigo Carvalho , kernel-usp@googlegroups.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: driverdev-devel-bounces@linuxdriverproject.org Sender: "devel" This patch add device tree binding documentation for ADIS16240. Signed-off-by: Rodrigo Ribeiro Carvalho --- V5: - None .../bindings/iio/accel/adi,adis16240.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml diff --git a/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml new file mode 100644 index 000000000000..8e902f7c49e6 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/accel/adi,adis16240.yaml @@ -0,0 +1,49 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/iio/accel/adi,adis16240.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: ADIS16240 Programmable Impact Sensor and Recorder driver + +maintainers: + - Alexandru Ardelean + +description: | + ADIS16240 Programmable Impact Sensor and Recorder driver that supports + SPI interface. + https://www.analog.com/en/products/adis16240.html + +properties: + compatible: + enum: + - adi,adis16240 + + reg: + maxItems: 1 + + interrupts: + maxItems: 1 + +required: + - compatible + - reg + - interrupts + +examples: + - | + #include + #include + spi0 { + #address-cells = <1>; + #size-cells = <0>; + + /* Example for a SPI device node */ + accelerometer@0 { + compatible = "adi,adis16240"; + reg = <0>; + spi-max-frequency = <2500000>; + interrupt-parent = <&gpio0>; + interrupts = <0 IRQ_TYPE_LEVEL_HIGH>; + }; + }; -- 2.24.0 _______________________________________________ devel mailing list devel@linuxdriverproject.org http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel