From patchwork Mon Sep 20 18:19:13 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12506169 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 AC17CC4332F for ; Mon, 20 Sep 2021 18:21:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 93C6061A7C for ; Mon, 20 Sep 2021 18:21:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378092AbhITSWs (ORCPT ); Mon, 20 Sep 2021 14:22:48 -0400 Received: from smtp-relay-internal-1.canonical.com ([185.125.188.123]:46802 "EHLO smtp-relay-internal-1.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1377367AbhITSUr (ORCPT ); Mon, 20 Sep 2021 14:20:47 -0400 Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) (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-1.canonical.com (Postfix) with ESMTPS id 284AE3FE01 for ; Mon, 20 Sep 2021 18:19:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1632161959; bh=8LE4EIzxd0T+JDVOM82ADVNZZun+tXpi3OMlHIizBP0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=eVoqcBF1GD5kyq/Wcy7EmPth0z9XE2VzkSppp4il5GtLtdIxm3fIoXR7dDIVho+Zq dYpKwhFX2/pYM0YwdNWvt4Cj2IIfxI+gPJtUoxmyTyNGu0Ifw4hE2kZxTOBzCkJpmC DKiUgZDvl1EyTIfnVwffCtb98ej78Diue76vgndFekPYYdYp3+hY7J2/AgWmc0Gsag AHDDalBT7NwOb0Fqiswd7IdqXT+3m5b0r4Mz53FU2N+bkDly8bE+qxYbqgs9Vvq3qB jVUwqr5w8uibKoYfMV1ovPfpvLADfa337G/oEmroLhLrJojSRyK7SFrhRKKqDSAEz6 X9nw+TFY6Bxuw== Received: by mail-wr1-f70.google.com with SMTP id h5-20020a5d6885000000b0015e21e37523so6791726wru.10 for ; Mon, 20 Sep 2021 11:19:19 -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:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=8LE4EIzxd0T+JDVOM82ADVNZZun+tXpi3OMlHIizBP0=; b=m6jML4oY1QuB65DrugrQBaV3aDlgkU5dZ8keiAnEKkASMWKrMnWhVDmdstdZS338T3 JXiOugYGDvVdeskEBM2p1dHnN2MXxw4cB4QGo3Xa7Qz13vkWzm9oSs1hDUQNPViYUSPz b3raEqaG8ho2D+0yMVPAqa/6rBAHsmkHPbITV5hRU8ULiwi25FyYpwZ1R4jWHneFqdUM WW8GGKT/vZ/2bafF2+MbX0r2K+Zp3dzbuszY9fu0yS1cEVRuO46N4vIf9Ii3LVgba+Rw Ijcwq0wBCEF5sYHObiu++GdvkCXh58V2ZIM4p/JiKS5QlKiGiku1tIt3eNK0UgL2Kh1s 5NVw== X-Gm-Message-State: AOAM530roL3hK+0p09Clf9rAZrsGdQXxgZGxIXrXrPNOfl7CNRf3dfwh qaLWyjmqBFO/1BH7w3t01KlZsQUg1NtfqTBWB0Y0YJFBqslsf4pZo7oR6Tb05OvZtISLKt7NgSo M0yUTFFbDftDEq/itfkqwSjhdG0GFUX5/BszeZijR X-Received: by 2002:a5d:46c7:: with SMTP id g7mr29646440wrs.316.1632161958895; Mon, 20 Sep 2021 11:19:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyNJJwddFB3b21EgLGMrF3yJtWKG5vCNW9/ixrWYfXCGuslD2w3YlxVBQxVqbRl07dIFSGBNA== X-Received: by 2002:a5d:46c7:: with SMTP id g7mr29646431wrs.316.1632161958775; Mon, 20 Sep 2021 11:19:18 -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 i27sm253134wmb.40.2021.09.20.11.19.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Sep 2021 11:19:18 -0700 (PDT) From: Krzysztof Kozlowski To: Jean Delvare , Guenter Roeck , Rob Herring , Jonathan Cameron , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 2/2] dt-bindings: hwmon: lm90: do not require VCC supply Date: Mon, 20 Sep 2021 20:19:13 +0200 Message-Id: <20210920181913.338772-2-krzysztof.kozlowski@canonical.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210920181913.338772-1-krzysztof.kozlowski@canonical.com> References: <20210920181913.338772-1-krzysztof.kozlowski@canonical.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-hwmon@vger.kernel.org The LM90-like sensors usually need VCC supply, however this can be hard-wired to the board main supply (like in SiFive HiFive Unmatched RISC-V board). Original bindings made VCC supply as required but in practice several other boards skipped it. Make it optional. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. New patch --- Documentation/devicetree/bindings/hwmon/national,lm90.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml index e712117da3df..6e1d54ff5d5b 100644 --- a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml +++ b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml @@ -55,7 +55,6 @@ properties: required: - compatible - reg - - vcc-supply additionalProperties: false