Received: by 2002:ac0:bc90:0:0:0:0:0 with SMTP id a16csp2293722img; Sun, 24 Mar 2019 05:05:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwRZuhtIl2nv08W/eUJSYv/z/pG+7Rcleoc9ewnpM+ayK0/L/WJqfgMa87yhfZgT0ThRWlr X-Received: by 2002:a63:3dc8:: with SMTP id k191mr1660244pga.286.1553429128360; Sun, 24 Mar 2019 05:05:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1553429128; cv=none; d=google.com; s=arc-20160816; b=wJkrcvZUZTKDFN4f9O4ulSSzPdX/u4ci+KOi9OvpWI9QBuYDdCqZS9FmUvGB+ydM4I S/ku5AgccP4bew3L4utzJF5P1bIcAL1QDrCoyn3YYrGSLeIZhSV7lr8rWj6bzEyD8tXO o2ykGc5Lot66zAnSW1r7ByVMslf6vpWNxP9Ia76NwfehKGevCO6iyuReUuKupnnTrnsT OXglUBDTx3X9llZ0lnBmqM6W3rZ8yn0YvjO8RmGKpzjgfL5ONGjU7mAq61/WhOXZIh4t hOZ5F7jlP+a6BDldHcIb6N8+U6c94VjvCwU036TLC04cls6GcRr8dsrwtj+QRf6nygKj xt/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HTdwTEXmYfYavdsa0+mx2M5+L0ru8h/SvrrqFQ1dEkc=; b=OcjfhREHag1rjI9cx1i6q+EsLN3+/uh0e6eDt1xI1DD4Ob5k5UTWBk+dgjdeKcULa0 axsDeJemTBScj8NZk99KCk4aIIncmjlaQFTNGnh/xwihDtDFjEB7mUfKC3PAv0gNVsM8 8w/oAHVN8aFWMFTMfsoT2dcayvf1vqOiU72Mbu6KNI1Ht/Kq886yC1V4qDcGaoWaFyQy +xBdAZVXsVHtuiIPNh/R2oqjshSeWR3aVrdunZbMXaY5KaHGIcBbKMMpmAb3ckW2O4kV p/ll7RM1eiHDkUwXWFOqFHOJUaNy29M6qCmRkyePTcV5TZVE2aTjamhb8VC7jsnvwCqU aeDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pBxT4zFd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si11189486pfc.201.2019.03.24.05.05.13; Sun, 24 Mar 2019 05:05:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=pBxT4zFd; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728711AbfCXMDL (ORCPT + 99 others); Sun, 24 Mar 2019 08:03:11 -0400 Received: from mail.kernel.org ([198.145.29.99]:44948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726160AbfCXMDL (ORCPT ); Sun, 24 Mar 2019 08:03:11 -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 24575222D1; Sun, 24 Mar 2019 12:03:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1553428990; bh=SP6sjF3Itg97ixCpRTFZP7MS5K7NcsGqRZ0iTfksgso=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=pBxT4zFd1duFKIfBCqNp1X+c99BBrA/4jptB+GMBG4sIIq0bxK7lpqCOnjGOxb/2M 3Yhc4O0HeHxk2vHbAY4KFxX0QNAU9nrpkUWMD6dP4ZOmWcu7dQZz7FXpxYq2kaSWhr mz05c/cVtZ9xzTVDYjEzV8nRVG+I2hveeUpHiMgU= Date: Sun, 24 Mar 2019 12:03:02 +0000 From: Jonathan Cameron To: Andreas Klinger Cc: devicetree@vger.kernel.org, linux-iio@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, afaerber@suse.de, arnd@arndb.de, davem@davemloft.net, gregkh@linuxfoundation.org, johan@kernel.org, khilman@baylibre.com, knaack.h@gmx.de, lars@metafoo.de, linux-kernel@vger.kernel.org, martin.blumenstingl@googlemail.com, mchehab+samsung@kernel.org, m.othacehe@gmail.com, nicolas.ferre@microchip.com, pmeerw@pmeerw.net, robh@kernel.org, songqiang1304521@gmail.com, treding@nvidia.com, techsupport@maxbotix.com Subject: Re: [PATCH v3 2/4] dt-bindings: maxbotix,mb1232: Add MaxBotix i2c ultrasonic rangers Message-ID: <20190324120302.55388208@archlinux> In-Reply-To: <20190317203526.4pcwo4gdrrng44v7@arbad> References: <20190317203526.4pcwo4gdrrng44v7@arbad> 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 17 Mar 2019 21:35:27 +0100 Andreas Klinger wrote: > Add doc for dt binding maxbotix,mb1232. This binding is for MaxBotix > I2CXL-MaxSonar ultrasonic rangers which share a common i2c interface. > > Signed-off-by: Andreas Klinger This seems pretty straight forward so I'll apply it to the togreg branch of iio.git and push out as testing. Still time for any feedback from Rob or others though before this goes out as non rebasing. Thanks, Jonathan > --- > .../bindings/iio/proximity/maxbotix,mb1232.txt | 31 ++++++++++++++++++++++ > 1 file changed, 31 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.txt > > diff --git a/Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.txt b/Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.txt > new file mode 100644 > index 000000000000..0e9df87eca1d > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/proximity/maxbotix,mb1232.txt > @@ -0,0 +1,31 @@ > +* MaxBotix I2CXL-MaxSonar ultrasonic distance sensor of type mb1202, > + mb1212, mb1222, mb1232, mb1242, mb7040 or mb7137 using the i2c interface > + for ranging > + > +Required properties: > + - compatible: "maxbotix,mb1202", > + "maxbotix,mb1212", > + "maxbotix,mb1222", > + "maxbotix,mb1232", > + "maxbotix,mb1242", > + "maxbotix,mb7040" or > + "maxbotix,mb7137" > + > + - reg: i2c address of the device, see also i2c/i2c.txt > + > +Optional properties: > + - interrupt-parent: Interrupt controller to use > + > + - interrupts: Interrupt used to announce the preceding reading > + request has finished and that data is available. > + If no interrupt is specified the device driver > + falls back to wait a fixed amount of time until > + data can be retrieved. > + > +Example: > +proximity@70 { > + compatible = "maxbotix,mb1232"; > + reg = <0x70>; > + interrupt-parent = <&gpio2>; > + interrupts = <2 IRQ_TYPE_EDGE_FALLING>; > +};