From patchwork Mon Aug 21 14:03:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Botka X-Patchwork-Id: 13359472 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id CE6C5EE4993 for ; Mon, 21 Aug 2023 14:04:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:In-Reply-To:References:Message-Id :MIME-Version:Subject:Date:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VDEJ06IZ6kwcl2HSZFI8V+VHu/L5NPDRX0Jta8+gBNM=; b=laivK3A29cD7eT AWqrqJ6y6KjAjAa/fZsPixD+MOkYggW5WhERyMCpQlfq/PbFQJwsMXDj8sytg+JSlhLOgP87J/cxs BvW3ND64QGlO++QEb5saajcDqnxEkrBpfTJS10BzD1XWAmd3eXFK7e5/yeqCNKYdlztsxdyIsIwR0 IkPNVAANuGi/+a3PfJKgE7Bpu16voFd8zbBUXZ9jVWhlmbOghzdQShjwi93kzBsLoqzUKNk7zZ/+a kes3xYw1hvC6FregmfaH+6A2U+V/yYwhA+C+4UYKDFCuzOiZMntHiojJ2fbqZyBeWmwpYkFNreujh rE7oXEmB5EhF/5jH/eYA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qY5Vl-00E8cm-0H; Mon, 21 Aug 2023 14:04:05 +0000 Received: from relay07.th.seeweb.it ([5.144.164.168]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qY5Vh-00E8YD-2m for linux-arm-kernel@lists.infradead.org; Mon, 21 Aug 2023 14:04:03 +0000 Received: from [192.168.2.137] (bband-dyn221.178-41-211.t-com.sk [178.41.211.221]) (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 m-r2.th.seeweb.it (Postfix) with ESMTPSA id BECC93F311; Mon, 21 Aug 2023 16:03:49 +0200 (CEST) From: Martin Botka Date: Mon, 21 Aug 2023 16:03:46 +0200 Subject: [PATCH v2 1/3] dt-bindings: thermal: sun8i: Add binding for H616 THS controller MIME-Version: 1.0 Message-Id: <20230821-ths-h616-v2-1-cda60d556798@somainline.org> References: <20230821-ths-h616-v2-0-cda60d556798@somainline.org> In-Reply-To: <20230821-ths-h616-v2-0-cda60d556798@somainline.org> To: Vasily Khoruzhick , Yangtao Li , "Rafael J. Wysocki" , Daniel Lezcano , Amit Kucheria , Zhang Rui , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: linux-pm@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Andre Przywara , Alan Ma , Luke Harrison , Marijn Suijten , AngeloGioacchino Del Regno , Konrad Dybcio , Martin Botka , Martin Botka , Krzysztof Kozlowski X-Mailer: b4 0.12.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1692626628; l=1803; i=martin.botka@somainline.org; s=20230811; h=from:subject:message-id; bh=l21PID8iaAkiKdEpLZurpAUU9ndeGPQaeIKZKXJ1CS0=; b=IqUdgDy8DQg9wxm1KzNxjVO2EDEd4LSYb4HWhQAdC/acgWC505Er5C+fvxzOAfnsUN0zq7Xih INteHDhM02sC/7q+X1iW9a/AsCGEFnK4MWoGiARUh0HQwk0wP4kiYCO X-Developer-Key: i=martin.botka@somainline.org; a=ed25519; pk=aTCd3jmwU8GrJidWg3DSKLpdVMcpFzXzCSLXLR6NtWU= X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230821_070402_068109_4D5FD822 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This controller is similar to the H6, but covers four sensors and uses slightly different calibration methods. Acked-by: Krzysztof Kozlowski Reviewed-by: Andre Przywara Signed-off-by: Martin Botka --- .../bindings/thermal/allwinner,sun8i-a83t-ths.yaml | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml index fbd4212285e2..7e96104d8ae0 100644 --- a/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml +++ b/Documentation/devicetree/bindings/thermal/allwinner,sun8i-a83t-ths.yaml @@ -20,6 +20,7 @@ properties: - allwinner,sun50i-a100-ths - allwinner,sun50i-h5-ths - allwinner,sun50i-h6-ths + - allwinner,sun50i-h616-ths clocks: minItems: 1 @@ -63,6 +64,7 @@ allOf: enum: - allwinner,sun50i-a100-ths - allwinner,sun50i-h6-ths + - allwinner,sun50i-h616-ths then: properties: @@ -97,16 +99,12 @@ allOf: const: 1 - if: - properties: - compatible: - contains: - enum: - - allwinner,sun8i-h3-ths - - allwinner,sun8i-r40-ths - - allwinner,sun50i-a64-ths - - allwinner,sun50i-a100-ths - - allwinner,sun50i-h5-ths - - allwinner,sun50i-h6-ths + not: + properties: + compatible: + contains: + enum: + - allwinner,sun8i-a83t-ths then: required: