From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.70.19 ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass; t=1796200721; b=ortGR1DptyI1mQaREBgs9eIIV+8kOzBOPqMqwwi9tYfCaIXgpVd/JA7h9UFsNlV50SaT nKb1C6K8jN5Y1UH8OTPdIR0VDB/C6k6IUsvcGz/s/W0aVlOxNQ0QLgOpHXZhPD7dba1zB ZfojqkGrh/RxcNeobqB15Mh47XrShDm1S833RwUzB6GAPgx9Cm0oZgahGXObsZ5NMT/wa r0XrYfJM9Dh2/wP5vdklr4ugTWDEy4Ls904VBxQu2VPOAP4iUgHNTrPf1zOnzMqhdNrnz CT2ZRqdVRf33fOU+0vFAdOnfZOUCk/t3sYdZ+ZBVnKZvpC4SQuSfFXhhEt6ayaO3aug== ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796200721; h=DMARC-Filter:DKIM-Signature:Received:Received: X-MS-Exchange-Authentication-Results:Received-SPF:Received:Received: Received:Message-ID:Date:MIME-Version:User-Agent:Subject:To:CC: References:Content-Language:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:X-Originating-IP:X-ClientProxiedBy: X-EOPAttributedMessage:X-MS-PublicTrafficType: X-MS-TrafficTypeDiagnostic:X-MS-Office365-Filtering-Correlation-Id: X-MS-Exchange-SenderADCheck:X-MS-Exchange-AntiSpam-Relay: X-Microsoft-Antispam:X-Microsoft-Antispam-Message-Info: X-Forefront-Antispam-Report: X-MS-Exchange-AntiSpam-MessageData-ChunkCount: X-MS-Exchange-AntiSpam-MessageData-0:X-OriginatorOrg: X-MS-Exchange-CrossTenant-OriginalArrivalTime: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-Id: X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: X-MS-Exchange-CrossTenant-AuthSource:X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-FromEntityHeader: X-MS-Exchange-Transport-CrossTenantHeadersStamped; bh=Y6jdPIWCwRJYpWzLz9mGjewXG2It3IPrHWTmlPO+dXs=; b=ShemGgzOjh4QZQ3fTMrEcsOb9XovmxGMvfwEV2rKKGC/IRy5M73EmSjdZKCAeeoRakGf 0LavsVoobmIvnzYGPgPeTKMByugxtOsDWWD0IRmdxz104oGErv/XR0KE81pIRGILjIyTQ BuZtI7abH4ut3kUkOTdM4IdFIkDGvoSx9gk3+5/QnNSC3Xaa4xDqOpXOZ39xOk7QL4a3q WLuyhKRozr7SoXW71o5iFd1DRy++48gTqfmmqV2L0gEyAPM3H4nOrI21hw0H+tlCdLxPy m67xMIVYL8WeqQSKQIggnFQ7FJLodnW6CiwhOqRBrTG3m8Cwq5acgEn6meEhaIOZfww== ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dmarc=pass header.from=foss.st.com; spf=pass smtp.mailfrom=foss.st.com; dkim=pass header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=JcdbZJ0k; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.70.19 Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011019.outbound.protection.outlook.com [52.101.70.19]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32D93606A332; Wed, 2 Dec 2026 08:38:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 32D93606A332 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=foss.st.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=foss.st.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=foss.st.com header.i=@foss.st.com header.a=rsa-sha256 header.s=selector2 header.b=JcdbZJ0k ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=boq1QmNRps9n7lY5AFyQ1wOX8G8yZPIVpE5o2Wv0x6RfkX4jiFFxg4sgFhUrGtFWr1NjXeeAQ60U4vPwsgBlQZ4Dn+XZWffcvArN5GmtiBwXPpP/zDPuseHAdrBq7V7ciKlX730HN8BI2LdZaiuS7q/EOl8UvIDna34SDXATj41OLtjHnlsSt+ggyUEv80jg4uWe/sO1cjxwIW2sxmlO4eixBzfWdvlLgTmySF6c2lXeDYbJXojIntElHv0Mg6ItMV9IuqLl6JOvsr38kX5yWSRqkFhVEiA9eXwQCiqH/XDAa/e058vhh7LLtb/JNTMhM5ZM8f5fVWa4Pu7LOaAtlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Y6jdPIWCwRJYpWzLz9mGjewXG2It3IPrHWTmlPO+dXs=; b=Z0zsoGy7FjNeBOvdqBwwIX3Q8mwo0emfZOYEs8p0RbN4eSZY4zOwo6MLAIr0IjsU2t7X8YbR2B+7bFuXcDYpNcY05DcPkeTAPgJFG+mN2nALYHifEB/q2p+S7+lJ/HfWJfePZfJuaGzKpZWBCnT3vZo/XpSmOZsVmURjpziZEZ6yghtLflxyZYqORdvUVcroimFIyjoCwTE3efett9+xiVPJY9/8elpK3pyXaMcbMrKbXRVlHsYKbWFqYukBMtsu/Snxz84xf+LPChb+WNZcddq0EFuVYavE+pogANbcJYA7mOsqBkdathpxqDrXx2se0ru2IwvC8KnOxLNRJyBgcg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=fail (sender ip is 164.130.1.59) smtp.rcpttodomain=kernel.org smtp.mailfrom=foss.st.com; dmarc=fail (p=none sp=none pct=100) action=none header.from=foss.st.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Y6jdPIWCwRJYpWzLz9mGjewXG2It3IPrHWTmlPO+dXs=; b=JcdbZJ0khK+ore8HeEJ7iU26E4ThLC5agov1LjV7coCgL1KYuVCS0FslTquulrFmQzVahq8w7XaKv1EMrvsmck2NSKh89bgrbAX9KWXqIwjSVoSyRYyKKnN0FCIsBWDtUGsC0rmNERsyibobkyWzv2e7anUQ45/oaE5HU/XPTI5llVP/h1urxV2SKPkeGLn8hHjQUkeZgTQwHKwDZiiFv3sNDBONunQDx07R7T15VCCtrdMWnEO528XzkyKMW6DuxWohK8zLsYW2Er01E8D9z3vHscYElSrNAf+1f/CFuNkQqgWEqWhgavtWtMJKQTH1L6ez94jQDSkZiolJM0ZXXQ== Received: from GVZP280CA0003.SWEP280.PROD.OUTLOOK.COM (2603:10a6:150:273::16) by AMBPR10MB9526.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:736::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.709.4; Wed, 2 Dec 2026 08:38:32 +0000 Received: from WA1PEPF000099CE.eurprd04.prod.outlook.com (2603:10a6:150:273:cafe::b) by GVZP280CA0003.outlook.office365.com (2603:10a6:150:273::16) with Microsoft SMTP Server (version=TLS1_3, cipher=TLS_AES_256_GCM_SHA384) id 15.21.639.14 via Frontend Transport; Wed, 2 Dec 2026 08:38:32 +0000 X-MS-Exchange-Authentication-Results: mx.microsoft.com 1; spf=fail (sender IP is 164.130.1.59) smtp.mailfrom=foss.st.com; dkim=none (message not signed) header.d=none;dmarc=fail action=none header.from=foss.st.com; Received-SPF: Fail (protection.outlook.com: domain of foss.st.com does not designate 164.130.1.59 as permitted sender) receiver=protection.outlook.com; client-ip=164.130.1.59; helo=smtpO365.st.com; Received: from smtpO365.st.com (164.130.1.59) by WA1PEPF000099CE.mail.protection.outlook.com (10.167.242.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.688.5 via Frontend Transport; Wed, 2 Dec 2026 08:38:32 +0000 Received: from STKDAG1NODE2.st.com (10.75.128.133) by smtpo365.st.com (10.250.44.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 09:39:38 +0100 Received: from [10.252.9.7] (10.252.9.7) by STKDAG1NODE2.st.com (10.75.128.133) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.56; Wed, 2 Dec 2026 09:38:30 +0100 Message-ID: Date: Wed, 2 Dec 2026 09:38:29 +0100 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 0/5] clk: stm32: Add the STM32MP2 SYSCFG LTDC pixel clock mux To: Brian Masney CC: Stephen Boyd , Brian Masney , Jerome Brunet , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Maxime Coquelin , Alexandre Torgue , Christophe Roullier , , "Dario Binacchi" , , , , , , Krzysztof Kozlowski References: <20261201-ups_mp25_clk_syscfg-v5-0-aaf559bf6c15@foss.st.com> <179614106114.410917.589914279362224901.b4-review@b4> Content-Language: en-US From: Gabriel FERNANDEZ In-Reply-To: <179614106114.410917.589914279362224901.b4-review@b4> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: STKCAS1NODE1.st.com (10.75.128.134) To STKDAG1NODE2.st.com (10.75.128.133) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: WA1PEPF000099CE:EE_|AMBPR10MB9526:EE_ X-MS-Office365-Filtering-Correlation-Id: ccdd347b-bcf9-4425-17f2-08df504fa5cd X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|23010399003|36860700016|1800799024|376014|7416014|4143699003|11063799006|18002099003|22082099003|3023799007|13003099007|10067099003|56012099006|261026140227099003|261028144727099003|261022113327099003|261021121427099003|261022105027099003|261026121527099003|261021123027099003|261102123227099003; X-Microsoft-Antispam-Message-Info: P705li43Ai/vD+hikbtJGmKBIAtO0Y+J1S/fmc28NBiRr3jI/wsnz9M2Ocx8Upm01kyDr4Hw5NVP5X7ADA2gK7LgFp2R50JtzMH2I57AWQDxgJUtShbd83RIesy4vOSvDNgRoZxYTruE+BTI0RZ+DmMahL1FQjTM+b2rprNflmQ4+He+fDwlNuzgHOryVcqsMdO2nW0xiKPDvObIQ4nmu1jiGGuJacCb8Phxl3rsJNzea+DMGQ6u+G/6RCBJRQVKSKIRaTUJKpbUh4BWgbzKeOE8SVRHMWPBvOcw8G9Q6AjpuAiMbNBWGNZ62AFRqFHkq9dChsBA62eJZWfFvuup3Ou+DPpj50ULBYRbM1uoRzPtmiB2LF4s1gbrB+1qe5+dG+2RW6gecS9vUewyBHEiqZDilhKOxM0WPx9jN3l+sdGmlEreU6UKayPLT1Shf/lKvMIAdizKCySIJne3svStCc3LqisTYU1HAbcArB/Y6lJZVmPPwfkMteNLo43ZB+u3br/G9xhtRkghaTwisSmRjglrgJ2kao1kcZROqijYNqmeRvfBJRes/WatSp9TJLX9id4kFDSXM5Sm7JYUBASJmQyIuB2pBjc+VsWkagH/72q7/3npkQAopObY+MIbP45aJ71tSA9s2E3Kntos3tkNRJ1YAfHUEsmTP6M0B2BRjRs= X-Forefront-Antispam-Report: CIP:164.130.1.59;CTRY:IT;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:smtpO365.st.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(23010399003)(36860700016)(1800799024)(376014)(7416014)(4143699003)(11063799006)(18002099003)(22082099003)(3023799007)(13003099007)(10067099003)(56012099006)(261026140227099003)(261028144727099003)(261022113327099003)(261021121427099003)(261022105027099003)(261026121527099003)(261021123027099003)(261102123227099003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: fnAXSzO1AuxsDEvkZ4rcwmyMW6ZXLu/S16iC+rS+tMR+cEy5B//iCRzbjN4SQ+RDQOLptx3wQfliZWrPTB15EjnpebMUqTVqClZaVIMJ6Nq2hD+7/evmippJlS9zDJMCw1CIgZN7at77TVcQ0HItwMfuFTf62ZkPP0iwt8LFjV1Jv0bZzSV3tDIfBgdi1fCpP3tsOdw4XFPdAbPSm2GelSyHCe3qjKYAb2GfqWQRrVjKFVUBEWbMXe/yr/Vc+OS22CYpAYHGWvhKjC38jjAAM1FJv3Ozr9HOqvbHFDr+hNp3yMCjxSzNRdoto9dYzx3vzeggFfOaUxHmoF4FGdGayRTwtTs8v7Y7fDk/oSdb5+gFRxMIQJf14zLZds5j7CbDdWU2laizEFOKxyd1jssu2gbQACJpFJYtz6E99j/CNJ4A2EG9tINZRyg3ppqNZg36 X-OriginatorOrg: foss.st.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Dec 2026 08:38:32.3107 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ccdd347b-bcf9-4425-17f2-08df504fa5cd X-MS-Exchange-CrossTenant-Id: 75e027c9-20d5-47d5-b82f-77d7cd041e8f X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=75e027c9-20d5-47d5-b82f-77d7cd041e8f;Ip=[164.130.1.59];Helo=[smtpO365.st.com] X-MS-Exchange-CrossTenant-AuthSource: WA1PEPF000099CE.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMBPR10MB9526 Hi Brian, On 12/1/26 17:04, Brian Masney wrote: >> On STM32MP23x and STM32MP25x, the LTDC pixel clock is selected in the >> SYSCFG DISPLAYCLKCR register among the LTDC kernel clock (RGB output), >> the LVDS PHY pixel clock (reset value) and the DSI PHY byte lane clock. >> The SYSCFG node is already described as the provider of this clock, used >> as the LTDC "ref" clock, but no driver registers it, so the RGB output >> can't be used. >> >> This series adds a clock driver for this mux. It is based on the RFC >> sent by Dario [1] and on the driver delivered in the ST downstream >> kernel. >> >> The SYSCFG node remains the clock provider ('#clock-cells = <0>'), and >> the inputs of the mux are described by its "clocks" property. They are >> only described on STM32MP235 and STM32MP255, which have the LVDS and the >> DSI and whose LTDC uses this clock, with new SoC specific SYSCFG >> compatibles. As the SYSCFG node is bound to the STM32MP2 SYSCFG driver, >> the clock driver is an auxiliary driver, whose device is created by the >> SYSCFG driver. The LTDC "ref" clock is left unchanged. >> >> As the SYSCFG node is a syscon, the syscon core attaches its first >> clock to the SYSCFG regmap, i.e. the LTDC kernel clock on STM32MP235 and >> STM32MP255: this clock is kept prepared, with its parents, and enabled >> around each register access. The SYSCFG registers don't need it, but >> this has no functional impact. The LTDC kernel clock is listed first as >> it is always provided by the RCC, while the LVDS may be disabled, which >> would defer all the SYSCFG users. >> >> v3 avoided this by registering the SYSCFG regmap from the SYSCFG >> driver, but the syscon users could create it before, all the more as >> fw_devlink defers the SYSCFG probe until its clocks are available. As >> doing it reliably would require an early initcall, this patch is >> dropped. Please let me know if you would prefer this approach. >> >> Changes compared to the RFC [1]: >> - parents described by clocks/clock-names instead of global names >> - auxiliary device created on STM32MP23x too >> - SoC devicetrees updated, Engicam board patches dropped >> >> [1] https://lore.kernel.org/all/20261028135915.2665857-1-dario.binacchi@amarulasolutions.com/ >> >> Signed-off-by: Gabriel Fernandez > What's the merge strategy for this? Does it all need to go in together? No, there is no build or bisect dependency between the patches, so they can go through two trees without an immutable branch: - Patches 1 and 2 (binding and clk driver) are for the clk tree. The   clk driver is standalone: it only depends on SOC_STM32MP2, which is   already upstream, and it binds on the "stm32mp2_syscfg.clk"   auxiliary device. As long as that device is not created, the driver   is just never probed. - Patches 3, 4 and 5 (SYSCFG driver and DTS) will be taken by   Alexandre Torgue through the stm32 tree. Patch 3 only creates the   auxiliary device, and only when the SYSCFG node has a "clocks"   property, which is only the case with the DTS of patches 4 and 5.   Without the clk driver, the device simply stays unbound. Do you agree with Alexandre’s approach ? Gabriel > > Brian >