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=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_2 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 CF2ACC4332B for ; Sun, 22 Mar 2020 17:37:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9A2F620732 for ; Sun, 22 Mar 2020 17:37:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584898630; bh=Lgovlxg7dFbPO/P+o/rnIrwfYlOLF/A2RWcibjrilSc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=L+PGvyeCN6GRRTRIcMSztADVU8vRYRsv/QCDT4s2Ji1jDmwom+s5zkNqfQR1B0FBa CJ6fNaao5u46WpTUTK6oH+GqFNPBpyAdga6jEvnCCZpLZIuubMqLzTjOE++j7Y/RHP Gccsm7BXwfYHKjXd8QavAaqyvK2/ulJtSsd8w23Y= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726814AbgCVRhK (ORCPT ); Sun, 22 Mar 2020 13:37:10 -0400 Received: from mail.kernel.org ([198.145.29.99]:60666 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726623AbgCVRhK (ORCPT ); Sun, 22 Mar 2020 13:37:10 -0400 Received: from archlinux (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 814FD206F8; Sun, 22 Mar 2020 17:37:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1584898629; bh=Lgovlxg7dFbPO/P+o/rnIrwfYlOLF/A2RWcibjrilSc=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=oYUcvBg5CpQFHeK6Liw6ik7cNSfw93xu6MvnG0PDvdqv1JGdVmSjPOzsGKZ4dtDDG VmpjUJCVgQc5+j9kncqQjWELS8ztwauU3TZJgf+a2ZJw0J37fbMLbWKdZOUlYp8XAK zSqT3QsCgMoRtbFiNo79Km/7lxlSXIuAvuheBSC8= Date: Sun, 22 Mar 2020 17:37:04 +0000 From: Jonathan Cameron To: Mike Looijmans Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, robh+dt@kernel.org, mark.rutland@arm.com Subject: Re: [PATCH] dt-bindings: iio: accel: Add bmi088 accelerometer bindings Message-ID: <20200322173704.5cc497c1@archlinux> In-Reply-To: <20200316065218.4103-1-mike.looijmans@topic.nl> References: <20200316065218.4103-1-mike.looijmans@topic.nl> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Mon, 16 Mar 2020 07:52:18 +0100 Mike Looijmans wrote: > 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 +++++++++++++++++++ Sorry. All new DT bindings need to be in yaml format. Please put this in the same series as the driver. Thanks, Jonathan > 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>; > +};