From patchwork Fri Jul 12 13:16:24 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yannick Fertre X-Patchwork-Id: 13731773 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 44BCDC3DA4D for ; Fri, 12 Jul 2024 13:18:14 +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:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=GPNNdFG7/0l0CF7aIlpKbgMiRxXwV7FSN15i1F01Eo4=; b=GGfUov4LfzFRSB MXKeiO8fRhGZUCGdEDvQ2RxSKFMZ3ePl1RpfM5Jk3FsKcHviDUV4evh9e4EB1a4ptyK3gGAqoyni3 LErOylsAmo//mZudeNe4rRZu71otLq57FIlweaH1Ut0YBUBexhhf402QKMvKjrmwKmildvP3zMDTp bnCbIaCWjbZGXx9l+umaAhrVcHZ5YvDKp+pU2YxZgANhmHmeI/y4GmWts03j7b5x0NGvMgt8GIbcu DnraSuF3Jkax+iiXcLPh61X1w0PHrTZq0iKdYyveE01MeQBrX3EpB0r86WByKas2ufzHHvCTdLZ+Z V+xxTTGyzZ136m0dPBKg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSG9w-000000007Wh-3JzB; Fri, 12 Jul 2024 13:18:00 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sSG9e-000000007Tj-3LzX for linux-arm-kernel@lists.infradead.org; Fri, 12 Jul 2024 13:17:44 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 46C8X9Vj004034; Fri, 12 Jul 2024 15:17:28 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to; s=selector1; bh=GPNNdFG7/0l0CF7aIlpKbg MiRxXwV7FSN15i1F01Eo4=; b=x559r/oengxe8fA9Gxt2xYzs2RTPLZiAxGcCKP i4WTo+O7D9N+Hb+n3MB4DS/JwuQUxl7xz9sslfRzDJi+bXhxse8yv44ubCDiEZhF oG2BW/V0zektHpuMb+rET1zI7rL6+EgvoMWRWrGkSmVk45vSNhcmN2+Ft0NKYwsQ 86GzbibjScvDRz/knnwvADVUop6aiu02VTuN4OmDi3WfQwnKTSfipdom3rGG9NEt tKzzFBkxzYfEk2jP9/MD1BuFQZ7lxZk+0JjZKDK6F4V/RXZ/LIEvroNdoXDKTaBN zE3fdvDlpeEKnVyrP0vkBa0kR0mOXGAQ0CJTwqpVGTH4M1sQ== 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 406whg9qj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 12 Jul 2024 15:17:28 +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 9F5224002D; Fri, 12 Jul 2024 15:17:24 +0200 (CEST) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id EA15F20D3F5; Fri, 12 Jul 2024 15:16:26 +0200 (CEST) Received: from localhost (10.252.16.177) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.37; Fri, 12 Jul 2024 15:16:26 +0200 From: Yannick Fertre To: Yannick Fertre , Raphael Gallais-Pou , Philippe Cornu , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , , , , , Subject: [PATCH] dt-bindings: display: st,stm32-ltdc: Document stm32mp25 compatible Date: Fri, 12 Jul 2024 15:16:24 +0200 Message-ID: <20240712131624.98898-1-yannick.fertre@foss.st.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Originating-IP: [10.252.16.177] X-ClientProxiedBy: SHFCAS1NODE1.st.com (10.75.129.72) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.28.16 definitions=2024-07-12_09,2024-07-11_01,2024-05-17_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240712_061743_157343_700B4D42 X-CRM114-Status: GOOD ( 10.13 ) 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 Add "st,stm32mp25-ltdc" compatible for SOC MP25. This new SOC introduces new clocks (bus, ref & lvds). Bus clock was separated from lcd clock. New sources are possible for lcd clock (lvds / ref). Signed-off-by: Yannick Fertre --- .../bindings/display/st,stm32-ltdc.yaml | 29 +++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml b/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml index d6ea4d62a2cf..680669c44b80 100644 --- a/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml +++ b/Documentation/devicetree/bindings/display/st,stm32-ltdc.yaml @@ -12,7 +12,9 @@ maintainers: properties: compatible: - const: st,stm32-ltdc + enum: + - st,stm32-ltdc + - st,stm32mp25-ltdc reg: maxItems: 1 @@ -24,7 +26,9 @@ properties: minItems: 1 clocks: - maxItems: 1 + minItems: 1 + items: + description: Lcd Clock clock-names: items: @@ -42,6 +46,27 @@ properties: - for internal dpi input of the MIPI DSI host controller. Note: These 2 endpoints cannot be activated simultaneously. + +allOf: + - if: + properties: + compatible: + contains: + enum: + - st,stm32mp25-ltdc + then: + properties: + clocks: + items: + - description: bus clock + - description: reference clock + - description: lvds clock + clock-names: + items: + - const: bus + - const: ref + - const: lvds + required: - compatible - reg