From patchwork Wed Jan 18 17:22:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 45393 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2465972wrn; Wed, 18 Jan 2023 09:31:27 -0800 (PST) X-Google-Smtp-Source: AMrXdXvXgIRQhgD3gRzpMeJa1xv2OwuUcQM9vgiwc2tMeCplK9RC9AQJOvJIk8TaRL7Nq1FSahUe X-Received: by 2002:a17:90a:6886:b0:226:ff8e:8bcb with SMTP id a6-20020a17090a688600b00226ff8e8bcbmr8631062pjd.42.1674063087467; Wed, 18 Jan 2023 09:31:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674063087; cv=none; d=google.com; s=arc-20160816; b=QlOtBsACZPrYlAe4npxjx5HYlJXdqno3HhNhUAJmG8jTyDjMTADyKNNux2si+bg0Lt ofH7L/5uj2h9ZeAlxTWLGu3wpLDkdLlk8IH3rUMTju1MoFzQv+nfaiYNPCZlP6oDjH2n eVFvCgWyYHGjkc3ujrFHxFytWh9fv0y/vaMp6AKuKVKi4X0nBXOW0nQk3ZKrbiqWkY2Z sk89LNs3lNdGL0oSN4/qsvsDaK+H9mlnoneOetNfIBh7KAF+Nir4bvT3Gqdj+XFdJx8u pDbUTlW21G8kC4tm3GteY23DbN17w9mJsb6AtjBN493LaTAqy7MEMvWNxnslcCh7YKaH AC4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=QTHrIMlF4V0ckFLxeB8DR9WhaVsZX5PbMH6MIzdQoL0=; b=CeBKn9yMRwTsEsadUNmSYq2U9LnSpauvErreN7J95jNghEgvnziSeQwKJAcuopvj8z loMamvNZd2n0NYnUJpPV8CrS3PbGQQBk9UFzLHj2hpY5eYG9cucXlemfZHEzn8EI0bMM EfrtLzj7DGLjJ/Up3kzXXBHgTx9t21uF+qxCFVtVH7ccpjxOrvvEFJTgC8YDssySz0R8 xL0sSY/UwvGTgesS8a+GElPWZj/WVchg/MF3DW0ZUHntG+me6umgW/djAWs6/Jp5bFR/ 3hpK3zWdRATgq/XI2quFxBoC1/z/Nk6C1IWXPW1sZ6JOOP5bYUi28Wtkdvd5PzxtXYLG IpJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OIPxQXah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on4-20020a17090b1d0400b00229d64c32dfsi852168pjb.15.2023.01.18.09.31.16; Wed, 18 Jan 2023 09:31:27 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=OIPxQXah; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229824AbjARRXH (ORCPT + 99 others); Wed, 18 Jan 2023 12:23:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230007AbjARRW5 (ORCPT ); Wed, 18 Jan 2023 12:22:57 -0500 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11B5E56EE7 for ; Wed, 18 Jan 2023 09:22:55 -0800 (PST) Received: by mail-wm1-x32a.google.com with SMTP id q8so13439198wmo.5 for ; Wed, 18 Jan 2023 09:22:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=QTHrIMlF4V0ckFLxeB8DR9WhaVsZX5PbMH6MIzdQoL0=; b=OIPxQXahRqIyc5S3hnGhKnpU7KIAvICxeR/SBr7HP2wZIIz4A9gnLFxLRxkHKn03aD goy0kke/murf5dzTgMiZrklMxeeAlCQO+rLg553Dho2NwigPzGTo6wTf7eMDkxPDDKXO 1WyY9nS75tuJlM/cW7yNuVcMLK3KzY+z98jLzpWIKSP8Zf3m3eUDUTS0bw9avJGdVsMK co131aVlmKeyoBU991VDl+S3DsSGDhA6CboymqEvmLiy6Cqlhf3rzaSTa6DPrSiC8Bwt dQ62n5lydam+cz4AW26aoLKUcVw9rwZWh5tN93Y7fMZv+6PlsuPMXRb2CfysyPTf30jk JiJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QTHrIMlF4V0ckFLxeB8DR9WhaVsZX5PbMH6MIzdQoL0=; b=ZLA7F1xg9FDjwrUoXP7T0796qMPaNq4BsKix+w772B3lB26TZpJdyFH7WPqT7dlMv5 jnya10gD2+mWGernAhTpN/nzSOpqfMizlWRLHAR/ZQa1ILOOPDf7zEFJEWtPBMckqWUA XwkoKS0tzH3IM3azhH4Qv966mAqSJ27tJxM3tWuAbc/plUqPpbwJysfSgVpMgzskL90N MFfYb4yz2uwWJmEFkoZb5htSoETFNd1hRfJnR3xKPb5LsTwt1YYtuL4jGjqmYxcozv/h EyAEFxe4YNdJguj1CNVO0XX6PiWvAbrgu+uJXS9cCxx+6uTINH0HHUiMvztz0HG04KSu 4ETg== X-Gm-Message-State: AFqh2kr6JfHLmM8/1gcogKGL8kG35+XFKIXK7721ZcRTyaR58Thny58D x7oYDcbSzc+yrtZ7ui0AN/K8Gw== X-Received: by 2002:a05:600c:1d12:b0:3da:ff82:f627 with SMTP id l18-20020a05600c1d1200b003daff82f627mr7760045wms.25.1674062573622; Wed, 18 Jan 2023 09:22:53 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id v20-20020a05600c215400b003d358beab9dsm2434746wml.47.2023.01.18.09.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 09:22:52 -0800 (PST) From: Krzysztof Kozlowski To: Michael Hennerich , Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , =?utf-8?q?Nuno_S?= =?utf-8?q?=C3=A1?= , Robert Marko , Luka Perkov , Alexandru Tachici , Akshay Gupta , Kun Yi , Supreeth Venkatesh , Jonathan Cameron , Linus Walleij , Eric Tremblay , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 1/2] dt-bindings: hwmon: adi,ltc2992: correct unit address in example Date: Wed, 18 Jan 2023 18:22:36 +0100 Message-Id: <20230118172237.349111-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755382376056693182?= X-GMAIL-MSGID: =?utf-8?q?1755382376056693182?= lower-case hex is expected for unit addresses: adi,ltc2992.example.dts:22.24-38.15: Warning (i2c_bus_reg): /example-0/i2c/ltc2992@6F: I2C bus unit address format error, expected "6f" Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Add Rb tag 2. Reorder patches to silence warnings. --- Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml index 64a8fcb7bc46..ec984248219e 100644 --- a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml +++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml @@ -59,12 +59,12 @@ examples: #address-cells = <1>; #size-cells = <0>; - ltc2992@6F { + ltc2992@6f { #address-cells = <1>; #size-cells = <0>; compatible = "adi,ltc2992"; - reg = <0x6F>; + reg = <0x6f>; channel@0 { reg = <0x0>; From patchwork Wed Jan 18 17:22:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 45397 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2466836wrn; Wed, 18 Jan 2023 09:32:46 -0800 (PST) X-Google-Smtp-Source: AMrXdXu4LOj8Ka0Pw5HSUCC+q0DuUkoL2Pxxv/oczEmmsmslxpU4BoE8oyYLeZJDEuozZEbWvs/r X-Received: by 2002:a05:6a20:441:b0:b8:9f05:5216 with SMTP id b1-20020a056a20044100b000b89f055216mr6956308pzb.57.1674063166245; Wed, 18 Jan 2023 09:32:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674063166; cv=none; d=google.com; s=arc-20160816; b=OBZ2MDbJbOlCwoyJ3ndpWjEFVgTlS2/5Gf/zGYcjerWcikRYvu64KrFxmrPWrZdKSp g1CO1G7Fgeh7071vCu3zYN3K0FdfVBaRvtigaRIYPo+EkCq0g/EnSr7U24jXh1jhgp9M AB4VCfh53T470oVHUDb0fDXRHn10wzcwPfi4hKxEWK3OmHnK0dAxpqTF9xZxXSjftn45 NWAb97h41xN/iHA38qbjUspBZJwslVskjekG9jm2PoZ9jfO1lE8OcbgE9Df8beTAkSDZ A2bUFoPlpeD04A5xYh0VJ4PDeZZK4LHWDNMFdE3YwwWGOumdYVh3xDCYRqT9Q7I+mmmf RglQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=n+gj3se4pN0NCgAKzskCuVUp0VZtTYvIF7fGegJc9t0=; b=nm6O6RyE7K0JsYdXUDgrupXQ/CPSM2ii0NAaZmquAw2mizbN1a/WXEespiMV3YaPQA +zhu4X/wjH7fP7mdSz6IT3P/5z3LxaTRxWGhoPtySaUAB+T1VrkwbqI36/2MWMX5UIWa zmjQyyNkdKtxO423DHB01lu5WPVoRYkDR8a9vBkHI01pUJM0d+97AdijemTdjbED2SEj R29ORC1runDF1Ha56B28HSoS9nYCrgL5dp6GhvL3NYp7IaOuS/XCmoqeXdGWAR0usX6p 8WkVn8r2BGd8lLSHqeQO4UYjmSCPYC5gVNqtiVn3tGDdBoI2LUNLg+FWXmCDaPsJfaYL jlkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KaC505MF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s11-20020a65584b000000b004d0cc1e509asi1860013pgr.863.2023.01.18.09.32.33; Wed, 18 Jan 2023 09:32:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KaC505MF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230097AbjARRXL (ORCPT + 99 others); Wed, 18 Jan 2023 12:23:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229813AbjARRW7 (ORCPT ); Wed, 18 Jan 2023 12:22:59 -0500 Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85131577E1 for ; Wed, 18 Jan 2023 09:22:57 -0800 (PST) Received: by mail-wm1-x332.google.com with SMTP id m5-20020a05600c4f4500b003db03b2559eso2093422wmq.5 for ; Wed, 18 Jan 2023 09:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=n+gj3se4pN0NCgAKzskCuVUp0VZtTYvIF7fGegJc9t0=; b=KaC505MFSY2T3hAxPpSqcf9ogLUxeffzBBOsCnq2K+zDyXd/K8RhNkvmoAwv46QzZ1 apK0ULkOkiyLlUk2a4FlYbu7ddcparRDwlYt4qXxoMH02Eo/CkH5xY6/xr0NAx5calMu rGyQL03zT30FxeLzrhpacT8u03W04Gx87ZSeJtseBHGhMXIDrau3DOO1Bhb/b6kpTG4X fEvY75hFiuaYeYHQGUMQnSc5cFJe30GydwINuy7gS4OgxTH1ibuB7cfZ+25/lYtjrlqr lfVaEWts/v1o9YjU0OiqaCB0DO5mEhY4alhUtXrAnNonQqTdwwWboORRlSBrp03FnTXJ v7Jw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=n+gj3se4pN0NCgAKzskCuVUp0VZtTYvIF7fGegJc9t0=; b=HpRfjb7SnoP5Y7iCS+ExoKZyZZAssDW9hiqJ9nbr5U/BQXLSth9O8CvBeznnhVaqVm vhZ/qMejYHPk2RvROYa01lCjwgi5G3Ue3x360cmEhnuHYt9M4dadT0CFiVl6VAE8P101 mw7pjXQ5HJhJBJNJKVG2ACMw5vRGiC8FFCj9WfOKY13LSR7aiK9sPnkvGONhnajVZBzv pZ0u+qYlpkc1PNvh7VE28aTM9Uy5L0q1wXBY4LlEaEugHfMQEuyMfMXGkgnqRwZFpvuW c4mZLECgPObuYb491agWG+DgaQX6JC70H0MqVbQ/6D0WPslukamQfHq0+KR3bo/QbL8G fgcw== X-Gm-Message-State: AFqh2koyAzkhs3p8FLstwsVe1zx8Thb9n08M4xwlqEWO92ZNnqr09GE/ QazRGHqHF+lrXXptCYBel8eGhg== X-Received: by 2002:a05:600c:502c:b0:3db:30d:deac with SMTP id n44-20020a05600c502c00b003db030ddeacmr7364875wmr.1.1674062576053; Wed, 18 Jan 2023 09:22:56 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id v20-20020a05600c215400b003d358beab9dsm2434746wml.47.2023.01.18.09.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Jan 2023 09:22:55 -0800 (PST) From: Krzysztof Kozlowski To: Michael Hennerich , Jean Delvare , Guenter Roeck , Rob Herring , Krzysztof Kozlowski , =?utf-8?q?Nuno_S?= =?utf-8?q?=C3=A1?= , Robert Marko , Luka Perkov , Alexandru Tachici , Akshay Gupta , Kun Yi , Supreeth Venkatesh , Jonathan Cameron , Linus Walleij , Eric Tremblay , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski , Rob Herring Subject: [PATCH v2 2/2] dt-bindings: hwmon: correct indentation and style in examples Date: Wed, 18 Jan 2023 18:22:37 +0100 Message-Id: <20230118172237.349111-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230118172237.349111-1-krzysztof.kozlowski@linaro.org> References: <20230118172237.349111-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755382458745452577?= X-GMAIL-MSGID: =?utf-8?q?1755382458745452577?= Fix mixed indentation to 4-spaces, remove unnecessary suffix from i2c node name and use lower-case hex. No functional impact. Signed-off-by: Krzysztof Kozlowski Reviewed-by: Rob Herring --- Changes since v1: 1. Add Rb tag 2. Reorder patches to silence warnings. --- .../bindings/hwmon/adi,adm1177.yaml | 12 ++--- .../bindings/hwmon/adi,adm1266.yaml | 6 +-- .../bindings/hwmon/adi,axi-fan-control.yaml | 20 ++++----- .../bindings/hwmon/adi,ltc2947.yaml | 20 ++++----- .../bindings/hwmon/adi,ltc2992.yaml | 26 +++++------ .../devicetree/bindings/hwmon/amd,sbrmi.yaml | 6 +-- .../devicetree/bindings/hwmon/amd,sbtsi.yaml | 6 +-- .../devicetree/bindings/hwmon/iio-hwmon.yaml | 8 ++-- .../bindings/hwmon/national,lm90.yaml | 44 +++++++++---------- .../bindings/hwmon/ntc-thermistor.yaml | 2 +- .../bindings/hwmon/nuvoton,nct7802.yaml | 16 +++---- .../devicetree/bindings/hwmon/ti,tmp513.yaml | 22 +++++----- .../bindings/hwmon/ti,tps23861.yaml | 16 +++---- 13 files changed, 102 insertions(+), 102 deletions(-) diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml index d794deb08bb7..ca2b47320689 100644 --- a/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1177.yaml @@ -52,16 +52,16 @@ examples: - | #include #include - i2c0 { + i2c { #address-cells = <1>; #size-cells = <0>; pwmon@5a { - compatible = "adi,adm1177"; - reg = <0x5a>; - shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */ - adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ - adi,vrange-high-enable; + compatible = "adi,adm1177"; + reg = <0x5a>; + shunt-resistor-micro-ohms = <50000>; /* 50 mOhm */ + adi,shutdown-threshold-microamp = <1059000>; /* 1.059 A */ + adi,vrange-high-enable; }; }; ... diff --git a/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml b/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml index 43b4f4f57b49..4f8e11bd5142 100644 --- a/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml +++ b/Documentation/devicetree/bindings/hwmon/adi,adm1266.yaml @@ -39,13 +39,13 @@ additionalProperties: false examples: - | - i2c0 { + i2c { #address-cells = <1>; #size-cells = <0>; adm1266@40 { - compatible = "adi,adm1266"; - reg = <0x40>; + compatible = "adi,adm1266"; + reg = <0x40>; }; }; ... diff --git a/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml b/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml index f2f99afb3a3b..0cf3ed6212a6 100644 --- a/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml +++ b/Documentation/devicetree/bindings/hwmon/adi,axi-fan-control.yaml @@ -49,15 +49,15 @@ additionalProperties: false examples: - | fpga_axi: fpga-axi { - #address-cells = <0x2>; - #size-cells = <0x1>; - - axi_fan_control: axi-fan-control@80000000 { - compatible = "adi,axi-fan-control-1.00.a"; - reg = <0x0 0x80000000 0x10000>; - clocks = <&clk 71>; - interrupts = <0 110 0>; - pulses-per-revolution = <2>; - }; + #address-cells = <0x2>; + #size-cells = <0x1>; + + axi_fan_control: axi-fan-control@80000000 { + compatible = "adi,axi-fan-control-1.00.a"; + reg = <0x0 0x80000000 0x10000>; + clocks = <&clk 71>; + interrupts = <0 110 0>; + pulses-per-revolution = <2>; + }; }; ... diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml index bf04151b63d2..152935334c76 100644 --- a/Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml +++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2947.yaml @@ -87,15 +87,15 @@ additionalProperties: false examples: - | spi { - #address-cells = <1>; - #size-cells = <0>; - - ltc2947_spi: ltc2947@0 { - compatible = "adi,ltc2947"; - reg = <0>; - /* accumulation takes place always for energ1/charge1. */ - /* accumulation only on positive current for energy2/charge2. */ - adi,accumulator-ctl-pol = <0 1>; - }; + #address-cells = <1>; + #size-cells = <0>; + + ltc2947_spi: ltc2947@0 { + compatible = "adi,ltc2947"; + reg = <0>; + /* accumulation takes place always for energ1/charge1. */ + /* accumulation only on positive current for energy2/charge2. */ + adi,accumulator-ctl-pol = <0 1>; + }; }; ... diff --git a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml index ec984248219e..dba74f400bc2 100644 --- a/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml +++ b/Documentation/devicetree/bindings/hwmon/adi,ltc2992.yaml @@ -55,26 +55,26 @@ additionalProperties: false examples: - | - i2c1 { + i2c { #address-cells = <1>; #size-cells = <0>; ltc2992@6f { - #address-cells = <1>; - #size-cells = <0>; + #address-cells = <1>; + #size-cells = <0>; - compatible = "adi,ltc2992"; - reg = <0x6f>; + compatible = "adi,ltc2992"; + reg = <0x6f>; - channel@0 { - reg = <0x0>; - shunt-resistor-micro-ohms = <10000>; - }; + channel@0 { + reg = <0x0>; + shunt-resistor-micro-ohms = <10000>; + }; - channel@1 { - reg = <0x1>; - shunt-resistor-micro-ohms = <10000>; - }; + channel@1 { + reg = <0x1>; + shunt-resistor-micro-ohms = <10000>; + }; }; }; ... diff --git a/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml b/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml index 7598b083979c..353d81d89bf5 100644 --- a/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml +++ b/Documentation/devicetree/bindings/hwmon/amd,sbrmi.yaml @@ -41,13 +41,13 @@ additionalProperties: false examples: - | - i2c0 { + i2c { #address-cells = <1>; #size-cells = <0>; sbrmi@3c { - compatible = "amd,sbrmi"; - reg = <0x3c>; + compatible = "amd,sbrmi"; + reg = <0x3c>; }; }; ... diff --git a/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml b/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml index 446b09f1ce94..75088244a274 100644 --- a/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml +++ b/Documentation/devicetree/bindings/hwmon/amd,sbtsi.yaml @@ -42,13 +42,13 @@ additionalProperties: false examples: - | - i2c0 { + i2c { #address-cells = <1>; #size-cells = <0>; sbtsi@4c { - compatible = "amd,sbtsi"; - reg = <0x4c>; + compatible = "amd,sbtsi"; + reg = <0x4c>; }; }; ... diff --git a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml index e1ccbd30e0eb..c54b5986b365 100644 --- a/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml +++ b/Documentation/devicetree/bindings/hwmon/iio-hwmon.yaml @@ -31,7 +31,7 @@ additionalProperties: false examples: - | - iio-hwmon { - compatible = "iio-hwmon"; - io-channels = <&adc 1>, <&adc 2>; - }; + iio-hwmon { + compatible = "iio-hwmon"; + io-channels = <&adc 1>, <&adc 2>; + }; diff --git a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml index e1719839faf0..7b9d48d6d6da 100644 --- a/Documentation/devicetree/bindings/hwmon/national,lm90.yaml +++ b/Documentation/devicetree/bindings/hwmon/national,lm90.yaml @@ -198,30 +198,30 @@ examples: }; - | i2c { - #address-cells = <1>; - #size-cells = <0>; - - sensor@4c { - compatible = "adi,adt7481"; - reg = <0x4c>; #address-cells = <1>; #size-cells = <0>; - channel@0 { - reg = <0x0>; - label = "local"; - }; - - channel@1 { - reg = <0x1>; - label = "front"; - temperature-offset-millicelsius = <4000>; - }; - - channel@2 { - reg = <0x2>; - label = "back"; - temperature-offset-millicelsius = <750>; + sensor@4c { + compatible = "adi,adt7481"; + reg = <0x4c>; + #address-cells = <1>; + #size-cells = <0>; + + channel@0 { + reg = <0x0>; + label = "local"; + }; + + channel@1 { + reg = <0x1>; + label = "front"; + temperature-offset-millicelsius = <4000>; + }; + + channel@2 { + reg = <0x2>; + label = "back"; + temperature-offset-millicelsius = <750>; + }; }; - }; }; diff --git a/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml b/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml index 6a1920712fb9..3d0146e20d3e 100644 --- a/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml +++ b/Documentation/devicetree/bindings/hwmon/ntc-thermistor.yaml @@ -131,7 +131,7 @@ additionalProperties: false examples: - | - thermistor0 { + thermistor { compatible = "murata,ncp18wb473"; io-channels = <&gpadc 0x06>; pullup-uv = <1800000>; diff --git a/Documentation/devicetree/bindings/hwmon/nuvoton,nct7802.yaml b/Documentation/devicetree/bindings/hwmon/nuvoton,nct7802.yaml index 2f0620ecccc9..cd8dcd797031 100644 --- a/Documentation/devicetree/bindings/hwmon/nuvoton,nct7802.yaml +++ b/Documentation/devicetree/bindings/hwmon/nuvoton,nct7802.yaml @@ -123,23 +123,23 @@ examples: #size-cells = <0>; channel@0 { /* LTD */ - reg = <0>; + reg = <0>; }; channel@1 { /* RTD1 */ - reg = <1>; - sensor-type = "voltage"; + reg = <1>; + sensor-type = "voltage"; }; channel@2 { /* RTD2 */ - reg = <2>; - sensor-type = "temperature"; - temperature-mode = "thermal-diode"; + reg = <2>; + sensor-type = "temperature"; + temperature-mode = "thermal-diode"; }; channel@3 { /* RTD3 */ - reg = <3>; - sensor-type = "temperature"; + reg = <3>; + sensor-type = "temperature"; }; }; }; diff --git a/Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml b/Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml index 1502b22c77cc..fde5225ce012 100644 --- a/Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml +++ b/Documentation/devicetree/bindings/hwmon/ti,tmp513.yaml @@ -77,15 +77,15 @@ additionalProperties: false examples: - | i2c { - #address-cells = <1>; - #size-cells = <0>; - - tmp513@5c { - compatible = "ti,tmp513"; - reg = <0x5C>; - shunt-resistor-micro-ohms = <330000>; - ti,bus-range-microvolt = <32000000>; - ti,pga-gain = <8>; - ti,nfactor = <0x1 0xF3 0x00>; - }; + #address-cells = <1>; + #size-cells = <0>; + + tmp513@5c { + compatible = "ti,tmp513"; + reg = <0x5c>; + shunt-resistor-micro-ohms = <330000>; + ti,bus-range-microvolt = <32000000>; + ti,pga-gain = <8>; + ti,nfactor = <0x1 0xf3 0x00>; + }; }; diff --git a/Documentation/devicetree/bindings/hwmon/ti,tps23861.yaml b/Documentation/devicetree/bindings/hwmon/ti,tps23861.yaml index 3bc8e73dfbf0..bce68a326919 100644 --- a/Documentation/devicetree/bindings/hwmon/ti,tps23861.yaml +++ b/Documentation/devicetree/bindings/hwmon/ti,tps23861.yaml @@ -40,12 +40,12 @@ additionalProperties: false examples: - | i2c { - #address-cells = <1>; - #size-cells = <0>; - - tps23861@30 { - compatible = "ti,tps23861"; - reg = <0x30>; - shunt-resistor-micro-ohms = <255000>; - }; + #address-cells = <1>; + #size-cells = <0>; + + tps23861@30 { + compatible = "ti,tps23861"; + reg = <0x30>; + shunt-resistor-micro-ohms = <255000>; + }; };