From patchwork Mon Sep 20 18:21:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12506173 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=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,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 380F9C43217 for ; Mon, 20 Sep 2021 18:23:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 249B6613D3 for ; Mon, 20 Sep 2021 18:23:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352456AbhITSZL (ORCPT ); Mon, 20 Sep 2021 14:25:11 -0400 Received: from smtp-relay-internal-0.canonical.com ([185.125.188.122]:51028 "EHLO smtp-relay-internal-0.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378090AbhITSWs (ORCPT ); Mon, 20 Sep 2021 14:22:48 -0400 Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 8E5A93FE05 for ; Mon, 20 Sep 2021 18:21:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632162080; bh=eGQQ7dYmcpFV9zW7MpsysSvE4mW3gJe5kyomQB9AukM=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=K/64nZ0PiwYpxiH9h2GRkJ4ZSbg3sQExAk94L6ZfJNd5kDjix5blH2JQsCTlps7jW T++7c1FKwu6dKg92LuSwbEeR50q4QUTykWtsYEyJyPk1IAyAd/+8uxpsD/uL1A1IPx wgrRWUUNsSInIorVBVTQbF4GEQ51+lRdTCgJH2ldK2dQpeZJGMXfHGO1ZZERPPCdOq l5tmRopdXvN7NK2LGd+r72b4at5l1e8qDJ+lvizDFZTXu62aMS0p+Ky7O0qx2q3b+i UdBro0T1Vz74LDi6g7YtviJtarMqkQNcYrHpo9IyvSHQFOavps/HWjGFbzgAC8cbfs m8hXklSjh5YsA== Received: by mail-wr1-f69.google.com with SMTP id c2-20020adfa302000000b0015e4260febdso5469661wrb.20 for ; Mon, 20 Sep 2021 11:21:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=eGQQ7dYmcpFV9zW7MpsysSvE4mW3gJe5kyomQB9AukM=; b=CVGNPpVIdQ8YONPJiYJn9BcdouMiQujpqonebPM5hfiAZBV1SK1J3A3WBqdXRbjcol PGlS5O2+Eb2iJmnSPEN8c03Q1gfh1g7+lJi343nCKwViyuZs3l/+8fENnxX8/K94ICmB DtYbuTuJXGANYVmZX0w6q7p7T7uEyspRCYkha8iaLOqpsMs39LbjZspMD9S+iqv8Goie iWTIcf0VXI4t1itl6t5exguS4rWrL2+U+M17voHUPD4/lYUTKxkVlXd/JO6CJoD9cVEk erJuREZFLts+MCHhBFOU8ztI9EBsU7qSrFyrM5On/M5fG3o2jdNz+ETukJfvcj4/HwQf PCVg== X-Gm-Message-State: AOAM532gknc4Nuk/5pC50HOwRALz2UeAwE+5G9oGP5e/NTr2leeLnRtu SJYnR4/r0EghDEU29G2Pw2uiE7KHs/t3WndZHY5wmiKTFIzKbrTWCADorMI/wY1c+apBiVLarh8 O6QOUbgRK9YmQ44qvtx8VP04vd04n+4vXRrIzl8xw X-Received: by 2002:a5d:46cb:: with SMTP id g11mr30487395wrs.60.1632162080275; Mon, 20 Sep 2021 11:21:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9QLB/vF0OW+no2KLoWsLNenmxvOnOmtn3xw4taGpu+PChddhW0z+WzdSWDWSPaX0pjC+NYQ== X-Received: by 2002:a5d:46cb:: with SMTP id g11mr30487376wrs.60.1632162080081; Mon, 20 Sep 2021 11:21:20 -0700 (PDT) Received: from kozik-lap.lan (lk.84.20.244.219.dc.cable.static.lj-kabel.net. [84.20.244.219]) by smtp.gmail.com with ESMTPSA id e5sm10515285wrd.1.2021.09.20.11.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 11:21:19 -0700 (PDT) From: Krzysztof Kozlowski To: Jean Delvare , Guenter Roeck , Rob Herring , Jiri Kosina , Jonathan Cameron , Krzysztof Kozlowski , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 1/6] dt-bindings: hwmon: lm70: move to trivial devices Date: Mon, 20 Sep 2021 20:21:09 +0200 Message-Id: <20210920182114.339419-1-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org The lm70 thermometer bindings are trivial, so like many other I2C/SPI temperature sensors can be integrated into trivial devices bindings. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- .../devicetree/bindings/hwmon/lm70.txt | 22 ------------------- .../devicetree/bindings/trivial-devices.yaml | 8 +++++++ 2 files changed, 8 insertions(+), 22 deletions(-) delete mode 100644 Documentation/devicetree/bindings/hwmon/lm70.txt diff --git a/Documentation/devicetree/bindings/hwmon/lm70.txt b/Documentation/devicetree/bindings/hwmon/lm70.txt deleted file mode 100644 index ea417a0d32af..000000000000 --- a/Documentation/devicetree/bindings/hwmon/lm70.txt +++ /dev/null @@ -1,22 +0,0 @@ -* LM70/TMP121/LM71/LM74 thermometer. - -Required properties: -- compatible: one of - "ti,lm70" - "ti,tmp121" - "ti,tmp122" - "ti,lm71" - "ti,lm74" - -See Documentation/devicetree/bindings/spi/spi-bus.txt for more required and -optional properties. - -Example: - -spi_master { - temperature-sensor@0 { - compatible = "ti,lm70"; - reg = <0>; - spi-max-frequency = <1000000>; - }; -}; diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/Documentation/devicetree/bindings/trivial-devices.yaml index 1eb4ce7dcdfd..183ee0da22c6 100644 --- a/Documentation/devicetree/bindings/trivial-devices.yaml +++ b/Documentation/devicetree/bindings/trivial-devices.yaml @@ -303,8 +303,13 @@ properties: - ti,hdc1050 # Temperature and humidity sensor with i2c interface - ti,hdc1080 + # Thermometer with SPI interface + - ti,lm70 + - ti,lm71 # Temperature sensor with 2-wire interface - ti,lm73 + # Thermometer with SPI interface + - ti,lm74 # Temperature sensor with integrated fan control - ti,lm96000 # I2C Touch-Screen Controller @@ -313,6 +318,9 @@ properties: - ti,tmp102 # Low Power Digital Temperature Sensor with SMBUS/Two Wire Serial Interface - ti,tmp103 + # Thermometer with SPI interface + - ti,tmp121 + - ti,tmp122 # Digital Temperature Sensor - ti,tmp275 # TI Dual channel DCAP+ multiphase controller TPS53676 with AVSBus