From patchwork Thu Nov 30 17:41:14 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 748590 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1930156751; Thu, 30 Nov 2023 17:40:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="M79+WsM/" 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> Precedence: bulk X-Mailing-List: linux-arm-msm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Clean up the examples by adding newline separators, moving 'reg' properties after 'compatible' and dropping unused labels. Signed-off-by: Johan Hovold Acked-by: Krzysztof Kozlowski --- .../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>;