Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4149133yba; Tue, 9 Apr 2019 12:13:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqxRsUdO1CE+NOXrN6U9QBxFxqZO3UyZMrZpkhCwsXZHS/7YO9Y3z+ThSQwxF6lJIns90ksi X-Received: by 2002:a62:70c6:: with SMTP id l189mr39064973pfc.139.1554837182072; Tue, 09 Apr 2019 12:13:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554837182; cv=none; d=google.com; s=arc-20160816; b=VdSZ4TNFYdAa9WqUS2YWo/omd0PxUJwqSq0j+MfmG5PqG3ipN98WC7GInoso6GlHcx F0KFZiuxuPMv+gfqIMyyPn5KBD+APaQmtHGoOj+NmkyNhb8x/2UIPWqcNV436/XW32On 4KoG3r0sgqhPhDjs6jMeyBX7PvylpNOiTdDZqSPR7gP99QuDIidQZInk87rY033HPUip H7fqthqV4f/4OT2Vf7P2wbvJlt95sgdllwPdq/scsNltOvWDq5+MHB31f0o1oQ/HscAT +nZOaF4neDNItEKrEhdC8arGSRbDnEcgjUXrS2mGZ/GNCajtOlNc89EyXPFSYFOVxM/J YDlA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date; bh=pbctUexA03HsZNkv2LgiZOAjD+jnqj/8v8K4LnTzwEE=; b=rZSwMLhhUQOsGc3p9w3kS/8hfPHlcAtfJM5LyZ9yItAugfycqtuW/ItL7+k5z95p9X tR+/9tuRoy0rB6fHTTBI20ifx0sf54XNwfUY2g3gG3rgElX/mPUYoQa/NE08i2F9iI9X OQRRaIUoMnB54levKql877yqFn1WsgR5iInsZgH/wTrnQC2V4P6E9s2s1JIqu/NgXd93 hs720MetmKIHzkwYIMVu3Agye38Zh4+UDYDoGy/MXkrai8mzvzX2PgQeggBPpo3JZqxL kvIDTAptWqneZsIKKSgr3dVoUAIRG0v5CdbKbJm/EwmjecSrfwasLIdXMzInrfIu2u27 /ILg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g69si4099426pgc.408.2019.04.09.12.12.46; Tue, 09 Apr 2019 12:13:02 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726920AbfDITLV (ORCPT + 99 others); Tue, 9 Apr 2019 15:11:21 -0400 Received: from mout.kundenserver.de ([212.227.17.24]:44423 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726497AbfDITLV (ORCPT ); Tue, 9 Apr 2019 15:11:21 -0400 Received: from localhost ([2.171.41.193]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MfZ9C-1ggoK83GMS-00g2KU; Tue, 09 Apr 2019 21:10:56 +0200 Date: Tue, 9 Apr 2019 21:10:55 +0200 From: Andreas Klinger To: jic23@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com Cc: knaack.h@gmx.de, lars@metafoo.de, pmeerw@pmeerw.net, songqiang1304521@gmail.com, robh@kernel.org, m.othacehe@gmail.com, linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/3] devantech-srf04.yaml: add Maxbotix ultrasonic iio proximity sensors Message-ID: <20190409191054.va6y2l5lyhyoo5p4@arbad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) X-Provags-ID: V03:K1:p1NqKgFr89i3dKH9K5oUkFO5Im4IcAVaAra/mTLITGBfWBekWkN jJsnO8i9Z/EeSt5ozmCNVXqjK6T4VLxb2wGhz4aRxR+/DZCE/LafvYRSQFaxFvv0zA9aOy6 fk+CTEQPLV5nS2MDgZgFQ3RetfaAowWP98crSjjR4hvR0nZu0ft2PhjWB5crVrShaTxLWNh YAoh73LNsJmu9CwmfcASg== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:SBxbRLpUIns=:+yqKsjmR38CQ3XPYj3JT9x JMyrgxsa0VSs87kpDoCquMXz/gLDiPSHE4kNAkDhZOqI0Xrm4uEWisla02Z9dM3WncA4d7BPt aF/4RQyuaYW6tbvYAW7Pcz//4/QIMrUpDvFuRdit6uTVIGnSyp3CFzzJfxRMdkpuO0lJo9ZDb NzqAOV4AncVZQgMK52Y6ar9U2ISwTDaCFwtG9Z+cue03z9tLYhlx+DOw6ttKxB/Dzj5ki+53r zJfOCZQuDCYxoOE7j9e3+/x/PLFr8erq4uMtyGJQgzI85HnebGjR41mFFJWz1uNPN2u+qHk7b nULVEK2vrABmTQiQFgp0UfZOhOyBfhsaALdFIL+MQVXkU9iSqJnYzf6Zc1Gl6A5/32ZhyM3W8 Xgl8DfaaGh0cFInzDXwFPAjgNpaySRvg9aeCFkEBSRA//2DV4QDorTTsuhwxoAS7pMGeO8S15 mol6eTiqOtloKNvMCv4MFunUZF2zO77vDCAC6zYmh7FliqQJ+NZ3dr4lYINhzJKwYbNgBKGjQ MZW0hJrSpmKB1blGmNnD3mzT7VLdoXawSMaoCgePDwe0XgQn9/5rI70nMZm/OKoea4FC+n8O+ P5m5cXdzd4UMggBGNhbvmAaj8udPHIe3lLc41vjylV7UWz0K1tMuyHDEzXnNbXT/TvgB0HDwM DtKNGbNhjDnczYpygUXeKZvxpVDDYX4oCoICxXI/NjhxFfbp1SPmWUY6quYckAMQeszcJURwU BZ1RDKqRqRt95ZjsPY3FMif/PICKrgK6Gdurrg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org add compatibles for Maxbotix ultrasonic iio sensor types to yaml documentation Signed-off-by: Andreas Klinger --- .../bindings/iio/proximity/devantech-srf04.yaml | 25 ++++++++++++++-------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml b/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml index e7aab785c97d..4e80ea7c1475 100644 --- a/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml +++ b/Documentation/devicetree/bindings/iio/proximity/devantech-srf04.yaml @@ -4,7 +4,7 @@ $id: http://devicetree.org/schemas/iio/proximity/devantech-srf04.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# -title: Devantech SRF04 ultrasonic range finder +title: Devantech SRF04 and Maxbotix mb1000 ultrasonic range finder maintainers: - Andreas Klinger @@ -16,19 +16,28 @@ description: | - echo-gpio is held high by the sensor after sending ultrasonic burst until it is received once again - Specifications about the driver can be found at: + Specifications about the devices can be found at: http://www.robot-electronics.co.uk/htm/srf04tech.htm + http://www.maxbotix.com/documents/LV-MaxSonar-EZ_Datasheet.pdf + properties: compatible: - items: - - const: devantech,srf04 + enum: + - devantech,srf04 + - maxbotix,mb1000 + - maxbotix,mb1010 + - maxbotix,mb1020 + - maxbotix,mb1030 + - maxbotix,mb1040 trig-gpios: description: - Definition of the GPIO for the triggering (output) This GPIO is set - for about 10 us by the driver to tell the device it should initiate - the measurement cycle. + Definition of the GPIO for the triggering (output) + This GPIO is set for about 10 us by the driver to tell the device it + should initiate the measurement cycle. + See Documentation/devicetree/bindings/gpio/gpio.txt for information + on how to specify a consumer gpio. maxItems: 1 echo-gpios: @@ -40,8 +49,6 @@ properties: trip. It needs to be an GPIO which is able to deliver an interrupt because the time between two interrupts is measured in the driver. - See Documentation/devicetree/bindings/gpio/gpio.txt for information - on how to specify a consumer gpio. maxItems: 1 required: -- 2.11.0