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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_PASS,URIBL_BLOCKED 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 39472C43381 for ; Sun, 24 Mar 2019 18:07:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id F127F21741 for ; Sun, 24 Mar 2019 18:07:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553450822; bh=uiBXlOmwp39VH8o5OSFRICLedS+X7fpXWLyg3aKyuFU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:List-ID:From; b=uHda2jZQqjLEEqv7VbK3hkbbAv0kk3WGySZvEpwFnE/ZRXZY1Uj7H+w5V7K/ezbCH d2qEhuGQXbYvForgqaNNdRow/GjBJ4svxvPb69MbbcgH58RULNMy/C4SXaXH+AiHCw +fnMhxJq4Dt2/Uycm1AXsZBzeq+7h3phZUQv8DCU= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727163AbfCXSHB (ORCPT ); Sun, 24 Mar 2019 14:07:01 -0400 Received: from mail.kernel.org ([198.145.29.99]:46956 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726347AbfCXSHB (ORCPT ); Sun, 24 Mar 2019 14:07:01 -0400 Received: from archlinux (cpc91196-cmbg18-2-0-cust659.5-4.cable.virginm.net [81.96.234.148]) (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 29BA22147C; Sun, 24 Mar 2019 18:06:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553450820; bh=uiBXlOmwp39VH8o5OSFRICLedS+X7fpXWLyg3aKyuFU=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=0Jy7D6luk0S311rkrq5YKAPdpoQ/cLo7CWjTDsPK2GZNsozD3YCVM5g9oPk7Rxv7T GWIqC5j6hUPKiOhaec+FN81P3/FcP9bmXze0aOuPSpxYha5nBquffnChz9pjiGA32r OEp0gEoPDbR1iXwirX02svg+XM51f1wWvgWB07C8= Date: Sun, 24 Mar 2019 18:06:54 +0000 From: Jonathan Cameron To: "H. Nikolaus Schaller" Cc: Rob Herring , Mark Rutland , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , linux-iio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org, kernel@pyra-handheld.com Subject: Re: [PATCH 2/2] dt-bindings: iio: add Bosch BMG160 gyroscope sensor Message-ID: <20190324180654.44289894@archlinux> In-Reply-To: <1664da2e7a9cb687eece1f27501d275219bcc4ed.1552922054.git.hns@goldelico.com> References: <1664da2e7a9cb687eece1f27501d275219bcc4ed.1552922054.git.hns@goldelico.com> X-Mailer: Claws Mail 3.17.3 (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: linux-iio-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org On Mon, 18 Mar 2019 16:14:15 +0100 "H. Nikolaus Schaller" wrote: > Define bindings for "bosch,bmg160" and "bosch,bmi055_gyro". > > Signed-off-by: H. Nikolaus Schaller Simple binding so applied to the togreg branch of iio.git and pushed out as testing. Still time for a devicetree ack (or to pull it ;) if anyone has time to look. Thanks, Jonathan > --- > .../bindings/iio/gyroscope/bmg160.txt | 20 +++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/gyroscope/bmg160.txt > > diff --git a/Documentation/devicetree/bindings/iio/gyroscope/bmg160.txt b/Documentation/devicetree/bindings/iio/gyroscope/bmg160.txt > new file mode 100644 > index 000000000000..78e18a1e9c1d > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/gyroscope/bmg160.txt > @@ -0,0 +1,20 @@ > +* Bosch BMG160 triaxial rotation sensor (gyroscope) > + > +Required properties: > + > + - compatible : should be "bosch,bmg160" or "bosch,bmi055_gyro" > + - reg : the I2C address of the sensor (0x69) > + > +Optional properties: > + > + - interrupts : interrupt mapping for GPIO IRQ, it should by configured with > + flags IRQ_TYPE_EDGE_RISING > + > +Example: > + > +bmg160@69 { > + compatible = "bosch,bmg160"; > + reg = <0x69>; > + interrupt-parent = <&gpio6>; > + interrupts = <18 (IRQ_TYPE_EDGE_RISING)>; > +};