From mboxrd@z Thu Jan 1 00:00:00 1970 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 4993ECD4F3C for ; Sat, 16 May 2026 17:18:36 +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:Reply-To: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:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jjN/8KwzrivsLlccsrdeaHtGAQCEM96+RJ7wodLfpTY=; b=ZVsltxmisWrxiY Q8rJGD9rNkcTGTulrL+1GQV+rrL6Iy75dWdOYY8bWpElnMDdksos+3TAyECgWWhjLjI+ykn/0uDLK nWAI8qS/p5qIe2iRztiUqxc2KyNAr5v1xIFchvKUtR7mglX841nJRxFXpTSkOx5GmiEQ1oJjt8KJg qlqN0saz6nT2Tq2nkTtN+Mu5qD8XI9buesfkeCsM8NZ6HJj6aDs9R/atYEzp0fNSxBTxMoAZddnyR DHR/z4W4TxCnGj9GZc8WSldG5BjbPVYkDupz08iNWMqCk0MmXt72iw9c7VNtmBbGBR4wBBF2xgVSY 1Hv4roae1dH2ttP6IOew==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wOIem-0000000B5bE-2Y0G; Sat, 16 May 2026 17:18:32 +0000 Received: from sea.source.kernel.org ([2600:3c0a:e001:78e:0:1991:8:25]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wOIed-0000000B5TV-2p2n; Sat, 16 May 2026 17:18:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sea.source.kernel.org (Postfix) with ESMTP id 4012244317; Sat, 16 May 2026 17:18:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 0BE7CC2BCC7; Sat, 16 May 2026 17:18:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1778951902; bh=KQ2jlEW1eOaS76algkR9vPolQCqOkVsbm0MXBmfkdXw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=f7IRgHVMAr6LYFOcuACeKSyfKbR+gvec+Z6m2nhCkYC9LxpNQvsq/rFhvqwnmlSXS j/i7Sx4kFkgJxK/wNq/ElrMUagB4vWohbv9IsqkqwEUZCUGwgwkcP0TkldxnhVzjCQ SYOoEqIww40ByBVw8J0HUv6BX1Si4CnjeO2q01BltAv3bF8SLHYOfMGLk1Wj5IwjN+ a0DC09voLpT5zOc1oS+6ESkE9XQ3qxOFdPab7zYYjWmdLs82EjSbNOsIWgJws9jIXH UQaoxBz20/0qKeK9HmFsTpSA4BDY1ftd3BPfGxYxUV8XnOaVXQNglT2zJngh8yMXV+ Wq7lN0fHDSZIQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id ED9F8CD4F3C; Sat, 16 May 2026 17:18:21 +0000 (UTC) From: Ronald Claveau via B4 Relay Date: Sat, 16 May 2026 19:17:01 +0200 Subject: [PATCH v6 1/8] dt-bindings: mfd: khadas: Add new compatible for Khadas VIM4 MCU MIME-Version: 1.0 Message-Id: <20260516-add-mcu-fan-khadas-vim4-v6-1-cccc9b61f465@aliel.fr> References: <20260516-add-mcu-fan-khadas-vim4-v6-0-cccc9b61f465@aliel.fr> In-Reply-To: <20260516-add-mcu-fan-khadas-vim4-v6-0-cccc9b61f465@aliel.fr> To: Neil Armstrong , Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andi Shyti , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Beniamino Galvani , "Rafael J. Wysocki" , Daniel Lezcano , Zhang Rui , Lukasz Luba , Liam Girdwood , Mark Brown Cc: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org, Ronald Claveau , Conor Dooley X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=openpgp-sha256; l=1479; i=linux-kernel-dev@aliel.fr; h=from:subject:message-id; bh=eCKy2chdqFWw8sHr2BRKBa6cnfiYWQdTnn103pMuJ+4=; b=owGbwMvMwCWm1SvKXP3cUInxtFoSQxbHsotaN+osbkya8Odm5qkHogoL5rxT1tLdtr5/rsp2z gyOFstJHaUsDGJcDLJiiiz9cy1PvLt89MzXPeopMHNYmUCGMHBxCsBEFiYx/OFbVJeWnXT+wjm7 +bLOtt/2Oua26K8R/n3I7OBuDvEozjpGhsbDs7OVJ+65/2vi9cBVj7Z1Z9dnqdQ6u0m7Rq+ZlGq fyQUA X-Developer-Key: i=linux-kernel-dev@aliel.fr; a=openpgp; fpr=DFD863F61375BF917F0012173953305EF1D0EC3E X-Endpoint-Received: by B4 Relay for linux-kernel-dev@aliel.fr/default with auth_id=744 X-Original-From: Ronald Claveau X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.9.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20260516_101823_756522_73CB6BDC X-CRM114-Status: UNSURE ( 8.30 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: linux-kernel-dev@aliel.fr Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org From: Ronald Claveau The Khadas VIM4 MCU register is slightly different from previous boards' MCU. This board also features a switchable power source for its fan. Acked-by: Conor Dooley Signed-off-by: Ronald Claveau --- Documentation/devicetree/bindings/mfd/khadas,mcu.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Documentation/devicetree/bindings/mfd/khadas,mcu.yaml b/Documentation/devicetree/bindings/mfd/khadas,mcu.yaml index 084960fd5a1fd..1f135618e3b6f 100644 --- a/Documentation/devicetree/bindings/mfd/khadas,mcu.yaml +++ b/Documentation/devicetree/bindings/mfd/khadas,mcu.yaml @@ -18,6 +18,7 @@ properties: compatible: enum: - khadas,mcu # MCU revision is discoverable + - khadas,vim4-mcu # Different MCU variant, not discoverable "#cooling-cells": # Only needed for boards having FAN control feature const: 2 @@ -25,10 +26,27 @@ properties: reg: maxItems: 1 + fan-supply: + description: Phandle to the regulator that powers the fan. + $ref: /schemas/types.yaml#/definitions/phandle + required: - compatible - reg +allOf: + - if: + properties: + compatible: + contains: + const: khadas,vim4-mcu + then: + required: + - fan-supply + else: + properties: + fan-supply: false + additionalProperties: false examples: -- 2.49.0 _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic