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 2132EC46467 for ; Mon, 2 Jan 2023 23:06:20 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:Cc:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=MmYsP5v6UeNX1t8sW5N45atVwJmFC0nWkUozXcsX/z0=; b=EbACXP5C9/hDrz DqDBzXZBtFL9s2jxb3DmNlMYOB4z4KILgxenzi0jpf5jpPjD+FlZ+7nrrIWrk+B0f1YZsHfqWRSi3 73yzJieyykpeHJa17dVLnl9DE4rOhYoxTSteF0VJwMyo5gwGLqKwE8xC7ipnJgRgAFYQLySIE0ZbT vguzvHMjTiyp770VKQWati0XLJYEWLNVVTXL9aicrfbXqBNzV0SWI0BoVwDJ0d8gLOkED+rUAqDOR Txa7BaLnaGSPI1aEeBpy+5SkgyEtiu0ygF6ToSF9Y1WflkAVNcQhCDhMi4fkAL7wpV7w/l/jim3tY r4Lv/Pc6wQDo61VvbOAw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCTrp-00EjsG-Q4; Mon, 02 Jan 2023 23:05:17 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pCTrX-00Ejn0-4O for linux-arm-kernel@lists.infradead.org; Mon, 02 Jan 2023 23:05:04 +0000 Received: from [127.0.0.1] (p578adb1c.dip0.t-ipconnect.de [87.138.219.28]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 353B485248; Tue, 3 Jan 2023 00:04:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1672700691; bh=Dt6Bn0ykiFiQ6yaIgtrTmcFZQMlrk4/kuZ5biJWYY24=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=sPT1S+LOuwcrE5khvePPYkCHbXHyD/Dd/c9XFWVSqxYqwvV0sTp2Xov6uU3bUNkev SxVqxMs/wTpOQrbWP0EPMz5zGFT4harnLB2PKUbZFyr0jXZmL86x7VykMHHk9tQzhu DgXyenpdp7iyfOcEGN3JxRRy5HxtPncIGJmhLl3PU6ktHCdtkloFRFEuN9uaUUCZXB wgEbTc3lO+NVbF343PZTpJUZ78rPq7DyrQLGWf6JqUufsdHqxVrXY3EVaXpW6hgTCi nib/3u7QQF6grxr1hg64+kt3qcdCMYkjL/yOVCRV5RtveK9xAA3VPGi07lzBYbysdS dRTfdBWnkVUkg== Message-ID: <73979439-2e41-c4ea-02e0-d382f7ae1459@denx.de> Date: Tue, 3 Jan 2023 00:04:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [RFC PATCH v2 00/11] clk: imx8mn: setup clocks from the device tree Content-Language: en-US To: Dario Binacchi , linux-kernel@vger.kernel.org Cc: angelo@amarulasolutions.com, michael@amarulasolutions.com, tommaso.merciai@amarulasolutions.com, Chen-Yu Tsai , linux-amarula@amarulasolutions.com, anthony@amarulasolutions.com, jagan@amarulasolutions.com, Abel Vesa , Adam Ford , Fabio Estevam , Krzysztof Kozlowski , Li Jun , Lucas Stach , Markus Niebel , Michael Turquette , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , Stephen Boyd , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org References: <20230101175740.1010258-1-dario.binacchi@amarulasolutions.com> From: Marek Vasut In-Reply-To: <20230101175740.1010258-1-dario.binacchi@amarulasolutions.com> X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230102_150501_114609_E9BC622C X-CRM114-Status: GOOD ( 20.33 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 1/1/23 18:57, Dario Binacchi wrote: > The idea for this series was born back from Dublin (ELCE 2022) after > having attended the talk entitled "Updating and Modernizing Clock > Drivers" held by Chen-Yu Tsai and the availability of a board with > imx8mn SOC. > > This series aims to setup all imx8mn's clocks from the device tree and > remove the legacy setup code with hardwired parameters. > > I am well aware that the series lacks patches for the DT bindings. The > effort up to this point has been important and so I thought I'd ask for > feedback from the community before proceeding to implement them. If it > is positive I will add the DT binding patches starting from version 2. > > The series has been tested on the BSH SystemMaster (SMM) S2 board: > https://www.apertis.org/reference_hardware/imx8mn_bsh_smm_s2pro_setup I might be wrong, but I vaguely recall AT91 (?) had this kind of massive clock tree description in DT and they then switched to much simpler clock description where the clock topology is encoded in the driver instead (like what iMX does right now). It might be worth having a look at that and the reasoning around that conversion. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel