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.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,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 BE911C0044D for ; Mon, 16 Mar 2020 06:52:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 8305520719 for ; Mon, 16 Mar 2020 06:52:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729777AbgCPGw3 (ORCPT ); Mon, 16 Mar 2020 02:52:29 -0400 Received: from jax4mhob16.registeredsite.com ([64.69.218.104]:39176 "EHLO jax4mhob16.registeredsite.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729319AbgCPGw3 (ORCPT ); Mon, 16 Mar 2020 02:52:29 -0400 Received: from mailpod.hostingplatform.com ([10.30.71.204]) by jax4mhob16.registeredsite.com (8.14.4/8.14.4) with ESMTP id 02G6qRUP135828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Mon, 16 Mar 2020 02:52:27 -0400 Received: (qmail 21017 invoked by uid 0); 16 Mar 2020 06:52:27 -0000 X-TCPREMOTEIP: 83.128.90.119 X-Authenticated-UID: mike@milosoftware.com Received: from unknown (HELO phenom.domain?not?set.invalid) (mike@milosoftware.com@83.128.90.119) by 0 with ESMTPA; 16 Mar 2020 06:52:27 -0000 From: Mike Looijmans To: jic23@kernel.org, devicetree@vger.kernel.org, linux-iio@vger.kernel.org Cc: linux-kernel@vger.kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com, Mike Looijmans Subject: [PATCH] dt-bindings: iio: accel: Add bmi088 accelerometer bindings Date: Mon, 16 Mar 2020 07:52:18 +0100 Message-Id: <20200316065218.4103-1-mike.looijmans@topic.nl> X-Mailer: git-send-email 2.17.1 Sender: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org This adds the device-tree bindings for the Bosch Sensortec BMI088 IMU, the accelerometer part. Signed-off-by: Mike Looijmans --- .../devicetree/bindings/iio/accel/bmi088.txt | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/accel/bmi088.txt diff --git a/Documentation/devicetree/bindings/iio/accel/bmi088.txt b/Documentation/devicetree/bindings/iio/accel/bmi088.txt new file mode 100644 index 000000000000..691a47726dbc --- /dev/null +++ b/Documentation/devicetree/bindings/iio/accel/bmi088.txt @@ -0,0 +1,23 @@ +* Bosch BMI088 IMU combining accelerometer and gyroscope + +https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bmi088-ds001.pdf + +Required properties: + + - compatible : should be "bosch,bmi088_accel" + - reg : the I2C address of the sensor or the SPI chip select number + +Optional properties: + + - interrupts : interrupt mapping for GPIO IRQ, it should be configured with + IRQ_TYPE_EDGE_RISING + +Example: + +bmi088_accel@1 { + compatible = "bosch,bmi088_accel"; + reg = <1>; + spi-max-frequency = <10000000>; + interrupt-parent = <&gpio>; + interrupts = <90 IRQ_TYPE_EDGE_RISING>; +}; -- 2.17.1