From patchwork Sat Oct 31 13:41:07 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 314664 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=-13.1 required=3.0 tests=BAYES_00,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_GIT 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 72466C56201 for ; Sat, 31 Oct 2020 13:44:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 48C0E20731 for ; Sat, 31 Oct 2020 13:44:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604151863; bh=3VVLUi4wlIzQzCDCMT93AnsiDsNg8FKNZYkMTif4bQk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=RgHn/BgKUq0Y1TMlIaaehSI+MwQlWJ+JeOMivcHPn0aXNsKzo4OgD5Vb/4WD3m1ej P7nkOiNYD6QEfMIbZYE1150Sy10BTphN6+63s7nYkBLDWG22283oc53q6BlJwCQEoq 8BELPi4iAUVMIGttbcMVLaV93i4Oumu2pbPFdczA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727785AbgJaNoW (ORCPT ); Sat, 31 Oct 2020 09:44:22 -0400 Received: from mail.kernel.org ([198.145.29.99]:43544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727461AbgJaNoW (ORCPT ); Sat, 31 Oct 2020 09:44:22 -0400 Received: from localhost.localdomain (cpc149474-cmbg20-2-0-cust94.5-4.cable.virginm.net [82.4.196.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 338F520723; Sat, 31 Oct 2020 13:44:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604151861; bh=3VVLUi4wlIzQzCDCMT93AnsiDsNg8FKNZYkMTif4bQk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XRjtbkYE5PgMSRNBOpjkVaXCz5tjbdi4ayP4cLQHzcLxl5+xtp06kcDU6uTSLZxoP oZCXannz/ZQvqTIigsCzyDRYbUlSdkWHvTZvH7/ngZfIxXGK6pQZE7ijoSHk7S3woF WoWqd8nYWqXN05nIDytSqq4d6Ge3qFWslXXqUpD8= From: Jonathan Cameron To: linux-iio@vger.kernel.org, Rob Herring , devicetree@vger.kernel.org Cc: Jonathan Cameron , Rob Herring , Manivannan Sadhasivam Subject: [PATCH v2 26/29] dt-bindings:iio:temperature:meas, tsys01 move to trivial-devices.yaml Date: Sat, 31 Oct 2020 13:41:07 +0000 Message-Id: <20201031134110.724233-27-jic23@kernel.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201031134110.724233-1-jic23@kernel.org> References: <20201031134110.724233-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org From: Jonathan Cameron The existing binding description brings little value and the similar meas,* parts are in trivial-devices.yaml so move this one there to join them. Signed-off-by: Jonathan Cameron Reviewed-by: Rob Herring Cc: Manivannan Sadhasivam Acked-by: Manivannan Sadhasivam --- .../bindings/iio/temperature/tsys01.txt | 19 ------------------- .../devicetree/bindings/trivial-devices.yaml | 2 ++ 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt b/Documentation/devicetree/bindings/iio/temperature/tsys01.txt deleted file mode 100644 index 0d5cc5595d0c..000000000000 --- a/Documentation/devicetree/bindings/iio/temperature/tsys01.txt +++ /dev/null @@ -1,19 +0,0 @@ -* TSYS01 - Measurement Specialties temperature sensor - -Required properties: - - - compatible: should be "meas,tsys01" - - reg: I2C address of the sensor (changeable via CSB pin) - - ------------------------ - | CSB | Device Address | - ------------------------ - 1 0x76 - 0 0x77 - -Example: - -tsys01@76 { - compatible = "meas,tsys01"; - reg = <0x76>; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 8d8eadbab473..cb4fd8f29675 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -144,6 +144,8 @@ properties: - meas,ms8607-humidity # Measurement Specialities temp and pressure part of ms8607 device - meas,ms8607-temppressure + # Measurement Specialties temperature sensor + - meas,tsys01 # Microchip differential I2C ADC, 1 Channel, 18 bit - microchip,mcp3421 # Microchip differential I2C ADC, 2 Channel, 18 bit