Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6917AC433ED for ; Tue, 13 Apr 2021 12:05:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4340F613AE for ; Tue, 13 Apr 2021 12:05:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238364AbhDMMFg (ORCPT ); Tue, 13 Apr 2021 08:05:36 -0400 Received: from phobos.denx.de ([85.214.62.61]:38420 "EHLO phobos.denx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237609AbhDMMFf (ORCPT ); Tue, 13 Apr 2021 08:05:35 -0400 X-Greylist: delayed 62452 seconds by postgrey-1.27 at vger.kernel.org; Tue, 13 Apr 2021 08:05:35 EDT Received: from [IPv6:::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 DEBA281A04; Tue, 13 Apr 2021 14:05:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1618315514; bh=1cx7IY1niXydXktkCXAsPUmSNShSji22fkH1N/eoSfY=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=cNs09aDP0xo4Kjn2mQ15olg6nAOvl59ycxnQg5bG9ETzyEfkiQd4m/G1ujp8hiBSr tqZInlfSRqFME734Pjf+CCR0CnU3BK2289+ygxvWJCbkc6UKLWiFpwcTrx7wPKsj5m uygL5ziQjKCvl/yyh1Ra+HUtGGqDS7CV97ODF74rOGXgvtoGntZk3yXfWLkS7Y2hFj A8YZFC9u14oRK8KPdxw1waWTt4DA3AkYNHo2BloCO8AqOik5AvAZ1LID5+sxWvjQ2/ uCG4OLqQrolT0r6V3R+tLNXBDit/h9PgT4127tIi3qmX16XTqAXSb7e55SX6ml1l39 lUBwOV6QR0Ksg== Subject: Re: [PATCH 0/7] ARM: dts: stm32: clk: Switch ETHRX clock parent from ETHCK_K to MCO2 on DHCOM SoM To: Alexandre TORGUE , linux-arm-kernel@lists.infradead.org Cc: Christophe Roullier , Gabriel Fernandez , Patrice Chotard , Patrick Delaunay , Stephen Boyd , linux-clk@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Stephen Boyd References: <20210408185731.135511-1-marex@denx.de> <2c410c1b-2a1d-b291-a128-c5d5979be1ef@denx.de> <340d32f1-3afb-2159-fa94-70a45aecd88c@foss.st.com> From: Marek Vasut Message-ID: <5a7ac087-4506-df7f-e692-c663d7b61703@denx.de> Date: Tue, 13 Apr 2021 14:05:13 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.9.0 MIME-Version: 1.0 In-Reply-To: <340d32f1-3afb-2159-fa94-70a45aecd88c@foss.st.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.102.4 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org On 4/13/21 9:48 AM, Alexandre TORGUE wrote: > Hi Marek Hello Alexandre, > On 4/12/21 8:44 PM, Marek Vasut wrote: >> On 4/12/21 10:09 AM, Alexandre TORGUE wrote: >>> Hi Marek >> >> Hello Alex, >> >> [...] >> >>>> All the above still only discusses the clock part of the problem. >>>> Even if >>>> the clock cyclic dependencies could be solved, it would be necessary to >>>> resolve legacy dwmac st,eth-clk-sel and st,eth-ref-clk-sel DT >>>> properties >>>> and avoid DT ABI break. >>> >>> Thanks for those clear explanations and for this series. As >>> discussed, this approach looks good to me as it doesn't break our >>> current strategy for dwmac clock integration. I don't know if those >>> cyclic redundancies will be fixed one day but we can have a look on >>> dwmac DT properties (the gain to change them, the effort to keep the >>> backward compatibility, code readability, ...). >>> >>> Your DT patches looks good. I'll merge them soon. >> +CC Stephen ; the DT patches depend on the clock driver changes. Would >> it make sense to pick the clock patches through the same tree or how >> should that be handled ? > > In this situation, I prefer to wait that Stephen takes clock patches in > his tree. Then I'll take DT ones in mine. (I assume that taking only > clock patches will not break mp1 boot or Ethernet usage). That's fine by me, thanks !