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=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable 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 C695EC33CAE for ; Tue, 14 Jan 2020 02:23:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9FEB52080D for ; Tue, 14 Jan 2020 02:23:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=konsulko.com header.i=@konsulko.com header.b="qn5SCN4f" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729524AbgANCX7 (ORCPT ); Mon, 13 Jan 2020 21:23:59 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:33942 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729518AbgANCX6 (ORCPT ); Mon, 13 Jan 2020 21:23:58 -0500 Received: by mail-lj1-f193.google.com with SMTP id z22so12499702ljg.1 for ; Mon, 13 Jan 2020 18:23:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=RngI/Es/Qfv7y5Ge7m8PhS9bJ7Hxe1qMCW26BomnGME=; b=qn5SCN4fMCiZNKNEAzqKGBSqNtB2uYv50n4E1SwiNTULDbUQkIu4OCIVw05iOvI47S YH4Z/2y+6GA6UxKpq33TWGdmrwRbLjMelPgOKqp9PD/KzBW5jqGsCv/YYu4HuBCx/IHf 4MbnNrcv6POIZRGRIHsbw1UuYQugLOsl6SM4g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=RngI/Es/Qfv7y5Ge7m8PhS9bJ7Hxe1qMCW26BomnGME=; b=V9YSGsnFCtV9wKBRKUHbUQya7KawgpwQQJ2AVdoBfWb6k9rWxliJtNHfb2jGQayZBi P0lj/QDHEOyoZECrCOqhxtOTOKhy2/Wir3P5ICfArgyQPBsyPXDc/GEecg2qi1nBbfIj gsILgV+b2v+w0ULLNrlkjcbdfzXfWJFKP9TB39UxIHce88dAXvDpULd/lFiP6pUCBD+O bwpTjOwVu0U7ky8Yj4RLZcORDW2uBVY3qrkATzRBnnSxSioRL9AZ2CEge/FyAHKlJ1KH yXe4AT7hFnMAo0h3A3tUpshqeWBVlTtfafh8tFjsORZUHariQGgDf3Cy20UB1qtlyX55 RcSQ== X-Gm-Message-State: APjAAAV6H3RGmd2LGtuNanPpv4XAAlUWp1QYh9uu9JsdIBS3t0B/Xz/E 4iEszpGI2jW6S2j15FTBxwsNIQ== X-Google-Smtp-Source: APXvYqy/LSb0cXlg6ty01xizQCWD6n5uUy374gAm98qfcrY1LRH5rLurWFaxScs0giU6s9fJjSoB/Q== X-Received: by 2002:a2e:9804:: with SMTP id a4mr12254443ljj.10.1578968636292; Mon, 13 Jan 2020 18:23:56 -0800 (PST) Received: from taos.konsulko.bg (lan.nucleusys.com. [92.247.61.126]) by smtp.gmail.com with ESMTPSA id r26sm6388648lfm.82.2020.01.13.18.23.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Jan 2020 18:23:55 -0800 (PST) From: Matt Ranostay To: linux-iio@vger.kernel.org Cc: jic23@vger.kernel.org, Matt Ranostay , devicetree@vger.kernel.org Subject: [PATCH v2 3/3] dt-bindings: iio: chemical: consolidate atlas-sensor docs Date: Tue, 14 Jan 2020 04:23:48 +0200 Message-Id: <20200114022348.8676-4-matt.ranostay@konsulko.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200114022348.8676-1-matt.ranostay@konsulko.com> References: <20200114022348.8676-1-matt.ranostay@konsulko.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Since Atlas Scientific device support only varies from the compatible string is ideal all the respective docs are merged into a single doc named atlas,sensor.txt Cc: devicetree@vger.kernel.org Signed-off-by: Matt Ranostay --- .../bindings/iio/chemical/atlas,ec-sm.txt | 21 ------------ .../bindings/iio/chemical/atlas,orp-sm.txt | 21 ------------ .../bindings/iio/chemical/atlas,ph-sm.txt | 21 ------------ .../bindings/iio/chemical/atlas,sensor.txt | 34 +++++++++++++++++++ 4 files changed, 34 insertions(+), 63 deletions(-) delete mode 100644 Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt delete mode 100644 Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt delete mode 100644 Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt create mode 100644 Documentation/devicetree/bindings/iio/chemical/atlas,sensor.txt diff --git a/Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt b/Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt deleted file mode 100644 index f4320595b851..000000000000 --- a/Documentation/devicetree/bindings/iio/chemical/atlas,ec-sm.txt +++ /dev/null @@ -1,21 +0,0 @@ -* Atlas Scientific EC-SM OEM sensor - -http://www.atlas-scientific.com/_files/_datasheets/_oem/EC_oem_datasheet.pdf - -Required properties: - - - compatible: must be "atlas,ec-sm" - - reg: the I2C address of the sensor - - interrupts: the sole interrupt generated by the device - - Refer to interrupt-controller/interrupts.txt for generic interrupt client - node bindings. - -Example: - -atlas@64 { - compatible = "atlas,ec-sm"; - reg = <0x64>; - interrupt-parent = <&gpio1>; - interrupts = <16 2>; -}; diff --git a/Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt b/Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt deleted file mode 100644 index af1f5a9aa4da..000000000000 --- a/Documentation/devicetree/bindings/iio/chemical/atlas,orp-sm.txt +++ /dev/null @@ -1,21 +0,0 @@ -* Atlas Scientific ORP-SM OEM sensor - -https://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf - -Required properties: - - - compatible: must be "atlas,orp-sm" - - reg: the I2C address of the sensor - - interrupts: the sole interrupt generated by the device - - Refer to interrupt-controller/interrupts.txt for generic interrupt client - node bindings. - -Example: - -atlas@66 { - compatible = "atlas,orp-sm"; - reg = <0x66>; - interrupt-parent = <&gpio1>; - interrupts = <16 2>; -}; diff --git a/Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt b/Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt deleted file mode 100644 index 79d90f060327..000000000000 --- a/Documentation/devicetree/bindings/iio/chemical/atlas,ph-sm.txt +++ /dev/null @@ -1,21 +0,0 @@ -* Atlas Scientific pH-SM OEM sensor - -http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf - -Required properties: - - - compatible: must be "atlas,ph-sm" - - reg: the I2C address of the sensor - - interrupts: the sole interrupt generated by the device - - Refer to interrupt-controller/interrupts.txt for generic interrupt client - node bindings. - -Example: - -atlas@65 { - compatible = "atlas,ph-sm"; - reg = <0x65>; - interrupt-parent = <&gpio1>; - interrupts = <16 2>; -}; diff --git a/Documentation/devicetree/bindings/iio/chemical/atlas,sensor.txt b/Documentation/devicetree/bindings/iio/chemical/atlas,sensor.txt new file mode 100644 index 000000000000..518327dc71e2 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/chemical/atlas,sensor.txt @@ -0,0 +1,34 @@ +* Atlas Scientific OEM sensors + +Datasheets: + + http://www.atlas-scientific.com/_files/_datasheets/_oem/DO_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_oem/EC_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_oem/ORP_oem_datasheet.pdf + http://www.atlas-scientific.com/_files/_datasheets/_oem/pH_oem_datasheet.pdf + +Required properties: + + - compatible: must be one of : + "atlas,do-sm", + "atlas,ec-sm", + "atlas,orp-sm", + "atlas,ph-sm" + + - reg: the I2C address of the sensor + +Optional properties: + + - interrupts: the sole interrupt generated by the device + + Refer to interrupt-controller/interrupts.txt for generic interrupt client + node bindings. + +Example: + +atlas@66 { + compatible = "atlas,orp-sm"; + reg = <0x66>; + interrupt-parent = <&gpio1>; + interrupts = <16 2>; +}; -- 2.20.1