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 616CECA0EE4 for ; Sat, 23 Aug 2025 06:36:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:CC:To:In-Reply-To:References :Message-ID:Content-Transfer-Encoding:Content-Type: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=63KYvJNL4tqb9W50rpUtT3l2hlYXYEYhSRYlan6wZT8=; b=Ru3jkmRCx0X3px3VuF2bOjocod 6ylSqsr2OZuzvqXeQHFpxFFauuaksG1e+Tkh29dyBwol06g8dcW5aOanAQofkiOACfaEtjMFUWijS SDK2KhQmo1JqL334xsugeXbdhHUitOdgkhO8htsx6oYMm4Q9QT6HcMHaICioeAe8PxXH4JD26sTbb dh+JNIQHe5I4oCwSuWd3mjq9WH9BX2Ek4Oy3aMh1u/Y6Ce9D4U7UZM87YjiVxkTKXsuCeZXCWMfV3 9P4pYzD/ZmpuB6+C5IHsyevPPSoUaSr88PXRebXW/KN1Q8uIfpP115oR2nPoq7AOdAivs423bZXIF EdbpGYmw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uphrL-000000046R0-0LsE; Sat, 23 Aug 2025 06:36:15 +0000 Received: from desiato.infradead.org ([2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1upSuc-00000002rFa-20LL for linux-arm-kernel@bombadil.infradead.org; Fri, 22 Aug 2025 14:38:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=CC:To:In-Reply-To:References: Message-ID:Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Date: From:Sender:Reply-To:Content-ID:Content-Description; bh=63KYvJNL4tqb9W50rpUtT3l2hlYXYEYhSRYlan6wZT8=; b=pkEVhgqqRocyrQkhyclwHWew9w 1wSo3433fa2SfecME8bZDU9XFMDN56tObWm1+Aggt8X76YaXrCJ24elRRFdaTSEBHxEXBnZJJMFOY mG1PNHMy2BqiV8GKp4dNu7krCF3LPw9TPgpq+6z8aaLAk4Ks5JBrEbLnFJDBK0yQO92WrrWHDvYIK 8lxRRacV56PG6wlwQ3dnXUqavWSbC0ZquBrcPoeZJSHRtIf27cns/oceahtcexCbKasliQu6URJiZ OCBRNhJBdyfQTfjlfutcnK4VmkjJEEX3zn1nT6wiVIfBeUQuwyq+4Qcg0z6u6Tua21ad65xC9WfV2 d3AsREJw==; Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by desiato.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1upSuZ-00000000xAB-2IYg for linux-arm-kernel@lists.infradead.org; Fri, 22 Aug 2025 14:38:37 +0000 Received: from pps.filterd (m0369458.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 57MEXa4U015372; Fri, 22 Aug 2025 16:38:25 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=selector1; bh= 63KYvJNL4tqb9W50rpUtT3l2hlYXYEYhSRYlan6wZT8=; b=qQv5DmjAUqAibjCL GOkys2hAZhKjsw5d1NH+1IcCH+++Cuu7g4A4+gp3DAeZfn2sm4je6sN5nYxAkhnC gmfdX7iYQb2TKjnhuARixBh6JnQzrvNg62EvbarBWevzWMEd1xsmMr4R0ih26UVK 62uO330NYmdYWeAHjpwaEdfy9jDHHe3GBKgWLlxvzuiLP/983pheGJFiA3t4J7Z/ zMxHFtwbsJZEk110nLiDtZ0MxJgwXKHBE4szqwUoXFXMhm5TdHVcAKe0osaUE9gL qZYlUzMI0dJhKk+Mw1fxCnmOFU3Hxduh7qYW1fD9ENcQaiA3C3W5DTC2bXgGSr2E PliL1A== Received: from beta.dmz-ap.st.com (beta.dmz-ap.st.com [138.198.100.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 48nj3v8jg2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 22 Aug 2025 16:38:25 +0200 (MEST) Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 8D84540047; Fri, 22 Aug 2025 16:36:50 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node2.st.com [10.75.129.70]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D04F6726F12; Fri, 22 Aug 2025 16:35:52 +0200 (CEST) Received: from localhost (10.130.74.180) by SHFDAG1NODE2.st.com (10.75.129.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Fri, 22 Aug 2025 16:35:52 +0200 From: Raphael Gallais-Pou Date: Fri, 22 Aug 2025 16:34:15 +0200 Subject: [PATCH v5 06/13] dt-bindings: arm: stm32: add required #clock-cells property MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <20250822-drm-misc-next-v5-6-9c825e28f733@foss.st.com> References: <20250822-drm-misc-next-v5-0-9c825e28f733@foss.st.com> In-Reply-To: <20250822-drm-misc-next-v5-0-9c825e28f733@foss.st.com> To: Yannick Fertre , Philippe Cornu , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Rob Herring , "Krzysztof Kozlowski" , Conor Dooley , "Maxime Coquelin" , Alexandre Torgue , Catalin Marinas , Will Deacon , Christophe Roullier CC: , , , , X-Mailer: b4 0.14.2 X-Originating-IP: [10.130.74.180] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE2.st.com (10.75.129.70) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-08-22_04,2025-08-20_03,2025-03-28_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250822_153835_823086_C5ACF30C X-CRM114-Status: UNSURE ( 9.72 ) 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 On STM32MP25 SoC, the syscfg peripheral provides a clock to the display subsystem through a multiplexer. Since it only provides a single clock, the cell value is 0. Doing so allows the clock consumers to reach the peripheral and gate the clock accordingly. Reviewed-by: Rob Herring (Arm) Reviewed-by: Yannick Fertre Signed-off-by: Raphael Gallais-Pou --- .../bindings/arm/stm32/st,stm32-syscon.yaml | 31 +++++++++++++++------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml index ed97652c84922813e94b1818c07fe8714891c089..95d2319afe235fa86974d80f89c9deeae2275232 100644 --- a/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml +++ b/Documentation/devicetree/bindings/arm/stm32/st,stm32-syscon.yaml @@ -36,20 +36,31 @@ properties: clocks: maxItems: 1 + "#clock-cells": + const: 0 + required: - compatible - reg -if: - properties: - compatible: - contains: - enum: - - st,stm32mp157-syscfg - - st,stm32f4-gcan -then: - required: - - clocks +allOf: + - if: + properties: + compatible: + contains: + enum: + - st,stm32mp157-syscfg + - st,stm32f4-gcan + then: + required: + - clocks + - if: + properties: + compatible: + const: st,stm32mp25-syscfg + then: + required: + - "#clock-cells" additionalProperties: false -- 2.25.1