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 45E78C43458 for ; Thu, 2 Jul 2026 09:57:32 +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=M1zRUkhfs32a5m GVRNDEeU+35/RhQW1d1HzmOmAbmQIxa4ypQv4VqzuL/eWMr5fpqzjZFkQrgluZh8ulAoRUgjYE61u A7BPy6/x8GDbQDziiJ9GY0C5CUZmMhYgj+s42x52Os/h1IGMaKYEbvQqV82aLaGURSl6k/ooBB5/s eq8kPPc6b5C+zoQi+lw37kJpRDeSmGW8c4OvdUGcnrl0lYzWZ3sVgueJw2ZzNPQz/FLcVoUKAGlR/ dSuasmQ0uaoRxhx1dso42dqBCcOKctWNdhbPoNKi2rHVD2tza6/KGnN9sv5AKH/xv59LCwnGnozml WXMDT46Ii7lBrWOx3PIg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfEAk-000000046iS-2iVp; Thu, 02 Jul 2026 09:57:30 +0000 Received: from tor.source.kernel.org ([172.105.4.254]) by bombadil.infradead.org with esmtps (Exim 4.99.1 #2 (Red Hat Linux)) id 1wfEAf-000000046bM-0d9H; Thu, 02 Jul 2026 09:57:25 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 4AE5860172; Thu, 2 Jul 2026 09:57:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id DB560C2BCC6; Thu, 2 Jul 2026 09:57:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1782986243; bh=KQ2jlEW1eOaS76algkR9vPolQCqOkVsbm0MXBmfkdXw=; h=From:Date:Subject:References:In-Reply-To:To:Cc:Reply-To:From; b=pPnvnEdpzP1CxLdJvI3mwxjKHmVXX85qvncSSWXumFIjkTCUpgbXOF3G7Q1qfYk6X HKyDNvYl/bpNWqxp7gMk4zHHnD5qtLvnsj/AxVvGs1TurTedsliKxlxKkze9eATAsA ph4v2iOeLqCQgEtW8f5wsQXOxER0gz81gPxH5xRzUZ53OctfDUNinX/k96UWE+eBrj FbrusUPbj2B9Z6KwJRYXUUimqZoftGkagjQC4moOlPrxw28jKP/g36W7OB3LD2CBxA XUERAAXlJHSiI8kpInIQVjyoxscPpPWOwegTmotyJAGXtS6auiMy9NmzVzo1WuaskW s0C5GhIPofCrw== 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 BBE37C43602; Thu, 2 Jul 2026 09:57:22 +0000 (UTC) From: Ronald Claveau via B4 Relay Date: Thu, 02 Jul 2026 11:55:54 +0200 Subject: [PATCH v8 1/8] dt-bindings: mfd: khadas: Add new compatible for Khadas VIM4 MCU MIME-Version: 1.0 Message-Id: <20260702-add-mcu-fan-khadas-vim4-v8-1-244feee91a36@aliel.fr> References: <20260702-add-mcu-fan-khadas-vim4-v8-0-244feee91a36@aliel.fr> In-Reply-To: <20260702-add-mcu-fan-khadas-vim4-v8-0-244feee91a36@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=owGbwMvMwCWm1SvKXP3cUInxtFoSQ5ab6XeX7dHr73Ks/G34SLh81+fDB/YGXGv71HqjwI3d7 lbHwi0GHaUsDGJcDLJiiiz9cy1PvLt89MzXPeopMHNYmUCGMHBxCsBEbqgy/NPruln4kpvl5RfT cwVT516em7TF98eBEx9zRA6sj06MSoxn+MOxK3/+v5CZHGvqj/FfPmZyYMfGoP7/P0/znAy09nK 9VM0HAA== 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-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