Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp483941rdb; Thu, 30 Nov 2023 09:41:26 -0800 (PST) X-Google-Smtp-Source: AGHT+IEA0gNZxfBh2RFGujnjuYO/YTVhXvRTqJ2ZlpIuQJ6lSg1m4CoVlR2WBvMTwKdz3x4Rd4oA X-Received: by 2002:a05:6a21:6d86:b0:18c:fc4:df21 with SMTP id wl6-20020a056a216d8600b0018c0fc4df21mr28319322pzb.5.1701366085644; Thu, 30 Nov 2023 09:41:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701366085; cv=none; d=google.com; s=arc-20160816; b=HPYtFyyqbwa6bNu2POWro2jnff9fFEa09rq5jk6ZDhih4EI2xzBx1pdZpdZkjyeGbI et9jKAxGqRuFlHjjZOgbg/MCX+Sf+vpjKuApjP5x6XWHfjiU1l3ZtwL+XBpg3cf58t0W AOnzpg2lT1C3Wsm24FBI0FSI/KKj1g6EMWbKRPldA13VXIy0qIun+WTraOmY4GgJsUw2 KjQsuly8ixmUGjPwgC3krAJnLL3Ayc9f0ODE8zC3/Xdb2ChFlPmmeGag6MLE08Ney5oP lAxQkGEBQZu8J6S26Z72vJakFeilGxOstDqk2KMTo1lCy90+3AEPXfrhcDh6pAE4jFdd judw== 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=tt9lgMntxbLpzmHv4Sh5ciYLGf9h4IyxzgJ7eknkLsk=; fh=bT7kLNx+y/5Hdke67u+nK7nTazXos+GmFXtxjlUwJzI=; b=fSr8kSXBTPYKpyLA7CM1lsqxrc3Tr+umAF6OSujcWwfzxaXLi2qVKjs05BTrisw2qJ DtGhR83iFbg0Tr5tNfI834fL2Hf44FCsOs/4DInpcIP1DvTdHTX1P2Dt48SGQGulgBUV kYSQXK12Y1Zb3zNPR7h+Q5s0u9X9B1BBMxTRQwVSvQXM/KyZ2keEtMMdHKadeLUd/7K0 QvUAYGNlWXSYZaPn3a4Wiw0nNNNUuYP/JFKsSuZYdtQv1SwoXdpAVNaWLb9CIkcfhwZj sZmyVDOw6QOm5zjZVqeT60YLiHXRv1sZDe9QFMwlLxyzqJahDJ2ocTKrLm/qqu8amf86 cMBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="M79+WsM/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id e4-20020a656884000000b005bdbdc71c90si1633272pgt.282.2023.11.30.09.41.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Nov 2023 09:41:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="M79+WsM/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 573B080D31D7; Thu, 30 Nov 2023 09:41:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346593AbjK3Rks (ORCPT + 99 others); Thu, 30 Nov 2023 12:40:48 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235222AbjK3Rkm (ORCPT ); Thu, 30 Nov 2023 12:40:42 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 03DA4197 for ; Thu, 30 Nov 2023 09:40:48 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97332C433C8; Thu, 30 Nov 2023 17:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701366047; bh=jAU9LyE9qOmNmDtbM/yGTVJiYQtX+NmGuCgP5XALJqc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=M79+WsM/f4FQhLfylak1l6W0dPgKRWNRwwbbt5NHftApztar6J5bPVF5ZWKLwAFGU ZL9Wiima4R174zoCDOAk0LKeg4wdwEYujLWPXDC/Zh/83A78h77I506ifKnTsCtOEn Z9kOlbG4Gf0FVY1GgagPXk1159xCblpw+rq5WvWlMNqIqnMKpEydNJ1UR1unUSZj4y MEw4JPxCcNu8N8EENG4U4Q7oxM/04v/voo7U5VL5lostbX80mG+Oxzfjm8ViPfA6YZ MEk+wlxdfXt3fCcKj3wCVC6cxHRgVGeMAXZKetiohMu58cD70WengG15M5FIhj2b8O Xe8jhhiuotKxw== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r8l2P-0003Py-0k; Thu, 30 Nov 2023 18:41:21 +0100 From: Johan Hovold To: Daniel Lezcano , "Rafael J. Wysocki" Cc: Andy Gross , Bjorn Andersson , Konrad Dybcio , Zhang Rui , Lukasz Luba , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 2/2] dt-bindings: thermal: qcom-spmi-adc-tm5/hc: clean up examples Date: Thu, 30 Nov 2023 18:41:14 +0100 Message-ID: <20231130174114.13122-3-johan+linaro@kernel.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231130174114.13122-1-johan+linaro@kernel.org> References: <20231130174114.13122-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 30 Nov 2023 09:41:03 -0800 (PST) Clean up the examples by adding newline separators, moving 'reg' properties after 'compatible' and dropping unused labels. Signed-off-by: Johan Hovold --- .../bindings/thermal/qcom-spmi-adc-tm-hc.yaml | 5 +++-- .../devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml index 82f8f25885c0..7541e27704ca 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm-hc.yaml @@ -118,9 +118,10 @@ examples: pmic { #address-cells = <1>; #size-cells = <0>; + pm8998_adc: adc@3100 { - reg = <0x3100>; compatible = "qcom,spmi-adc-rev2"; + reg = <0x3100>; #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; @@ -131,7 +132,7 @@ examples: }; }; - pm8998_adc_tm: adc-tm@3400 { + adc-tm@3400 { compatible = "qcom,spmi-adc-tm-hc"; reg = <0x3400>; interrupts = <0x2 0x34 0x0 IRQ_TYPE_EDGE_RISING>; diff --git a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml index 02347cee6c6f..d9d2657287cb 100644 --- a/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml +++ b/Documentation/devicetree/bindings/thermal/qcom-spmi-adc-tm5.yaml @@ -171,9 +171,10 @@ examples: pmic { #address-cells = <1>; #size-cells = <0>; + pm8150b_adc: adc@3100 { - reg = <0x3100>; compatible = "qcom,spmi-adc5"; + reg = <0x3100>; #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; @@ -187,7 +188,7 @@ examples: }; }; - pm8150b_adc_tm: adc-tm@3500 { + adc-tm@3500 { compatible = "qcom,spmi-adc-tm5"; reg = <0x3500>; interrupts = <0x2 0x35 0x0 IRQ_TYPE_EDGE_RISING>; @@ -212,9 +213,10 @@ examples: pmic { #address-cells = <1>; #size-cells = <0>; + pmk8350_vadc: adc@3100 { - reg = <0x3100>; compatible = "qcom,spmi-adc7"; + reg = <0x3100>; #address-cells = <1>; #size-cells = <0>; #io-channel-cells = <1>; @@ -235,7 +237,7 @@ examples: }; }; - pmk8350_adc_tm: adc-tm@3400 { + adc-tm@3400 { compatible = "qcom,spmi-adc-tm5-gen2"; reg = <0x3400>; interrupts = <0x0 0x34 0x0 IRQ_TYPE_EDGE_RISING>; -- 2.41.0