Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1011331rwl; Wed, 5 Apr 2023 10:33:35 -0700 (PDT) X-Google-Smtp-Source: AKy350YhpPzGRm+0SLfU48r7/Z5zkgOX5D+Qtk2r7yjAwMtkXGV+hEH1q0c0iG1Go2/YFkW9UBhE X-Received: by 2002:a17:906:2559:b0:947:55ad:dd00 with SMTP id j25-20020a170906255900b0094755addd00mr3479481ejb.26.1680716015140; Wed, 05 Apr 2023 10:33:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680716015; cv=none; d=google.com; s=arc-20160816; b=bqAhvjXArxmkMTLR6mCgaRJrk3OUY2WYGxRcE2tQ8tecscE4vEWs/2TytsEdixJSKp Oo+0aetEDrULdLGnHeG7FTQz4tzD3qvI2P34WjtgmvKYWvX34rRNcBTk3JE7Wydxojf0 4ua5m35q0wPSsJnoV9Naomq7wLdQ5tHRtfQgoubrbWai49FmcleOTn2cwx0WzexJdl37 ofEXBb9xW52H3HblZIjzZfo+HI3j1CDvtI48CFUI7u/ntThMrQ1l2UdfO20xpyB3bTSI NY7ZGYSAaYHTuE7JhFFEUzYVhVz2YmU/B6jlo5bpKAzXnd9Qy01yBEZQdu6Y77AH5fyd nBjg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=PEOSsUi8JIMvoW7QnnkpkkJijxo4IUuMnZ9vv3EjUhQ=; b=s2cuCcMYiiAloxvWI7+baSnzKZ0BipkgJVMVD1wo1AlRB+/08JtInLQUkMLMbR4Vva Bc7i4BMKGYGBr5m5CssrLMjmE6UHnvJCNs1jlxwTZBK65oUCNgHAAKjj+2XyRNiSYNg3 UbbGlrefbSE0VAGM6CkKO93Bh6mpm0pWRKbfjlM2RMRJK2FySYHN/gQU319w+eY6esbp cdF3AGeYOcN3ouyN0InG1B4sg7fsGQ+GuuGcm5Ar4NuRH6yzRhtA744VzUgUtRj/ZlBt DiBOPmXaT5qt68rXvFOyGjUz4PVidJxx2llGZZcJzMOgsYrOZnx4qUgNiYWQrL3h4sV5 1CGw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=PlcvWllV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id td9-20020a1709078c8900b00949562bae74si2293230ejc.321.2023.04.05.10.33.07; Wed, 05 Apr 2023 10:33:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=PlcvWllV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233333AbjDER2R (ORCPT + 99 others); Wed, 5 Apr 2023 13:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45006 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231140AbjDER2Q (ORCPT ); Wed, 5 Apr 2023 13:28:16 -0400 Received: from vern.gendns.com (vern.gendns.com [98.142.107.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8A1534C31; Wed, 5 Apr 2023 10:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date:Message-ID:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=PEOSsUi8JIMvoW7QnnkpkkJijxo4IUuMnZ9vv3EjUhQ=; b=PlcvWllVCZZLIxn7TA0uYZOD2i 8Timk2idYv+lLO3yZJhWhHPsl92ZREHTEkcZ2uj1e53hz36DkB/efojzcWFV0Na8cR9Qj+10qLhOH ta3+36sHegS1o46TQyP99X9cQQUBT/Z1QMqvJ9krER9Ob1/RWq++SuzdzpDHI3Xhy5MHfqna5eIZw +3KCwr3As0xZzcRdS0d74nyj+RIivO7MbcvRaGz8ll694eT/OgE8InMgGs8kJwhgkR/6hUQpNlGNz Za3hBrO3EltLq0JnttfLThWdO07VZ32OqVzWbWH2mgZNY1LmC2nLtlkLnHo1jx4ghOCQVGFpuJj4L hqCUbhxg==; Received: from ip98-183-112-29.ok.ok.cox.net ([98.183.112.29]:48320 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1pk5gX-00020w-28; Wed, 05 Apr 2023 12:08:34 -0400 Message-ID: <9d163cc7-d7ee-55e8-c01d-a1d4b3b19877@lechnology.com> Date: Wed, 5 Apr 2023 11:07:56 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v3 54/65] clk: da8xx: clk48: Switch to determine_rate Content-Language: en-US To: Maxime Ripard Cc: Michael Turquette , Stephen Boyd , =?UTF-8?Q?Andreas_F=c3=a4rber?= , Manivannan Sadhasivam , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Max Filippov , Charles Keepax , Richard Fitzgerald , Maxime Coquelin , Alexandre Torgue , Luca Ceresoli , Sekhar Nori , Abel Vesa , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Matthias Brugger , Geert Uytterhoeven , Dinh Nguyen , Peter De Schrijver , Prashant Gaikwad , Thierry Reding , Jonathan Hunter , Ulf Hansson , Linus Walleij , David Airlie , Daniel Vetter , Vinod Koul , Kishon Vijay Abraham I , Alessandro Zummo , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , Paul Cercueil , Orson Zhai , Baolin Wang , Chunyan Zhang , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, AngeloGioacchino Del Regno , linux-arm-kernel@lists.infradead.org, linux-actions@lists.infradead.org, patches@opensource.cirrus.com, linux-stm32@st-md-mailman.stormreply.com, linux-mediatek@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-phy@lists.infradead.org, linux-rtc@vger.kernel.org, linux-sunxi@lists.linux.dev, alsa-devel@alsa-project.org, linux-mips@vger.kernel.org References: <20221018-clk-range-checks-fixes-v3-0-9a1358472d52@cerno.tech> <20221018-clk-range-checks-fixes-v3-54-9a1358472d52@cerno.tech> <04f5d305-9992-bcdc-cd54-111eb8254155@lechnology.com> <3nyoulu5eba6eyo644crhbtog63jh7vockbp7dz6mxquj2omsn@j56kn6vkbktg> From: David Lechner In-Reply-To: <3nyoulu5eba6eyo644crhbtog63jh7vockbp7dz6mxquj2omsn@j56kn6vkbktg> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/5/23 10:22 AM, Maxime Ripard wrote: > Hi David, > > On Wed, Apr 05, 2023 at 10:03:24AM -0500, David Lechner wrote: >> On 4/4/23 5:11 AM, Maxime Ripard wrote: >>> The TI DA8xx USB0 clk48 clocks implements a mux with a set_parent >>> hook, but doesn't provide a determine_rate implementation. >>> >>> This is a bit odd, since set_parent() is there to, as its name implies, >>> change the parent of a clock. However, the most likely candidate to >>> trigger that parent change is a call to clk_set_rate(), with >>> determine_rate() figuring out which parent is the best suited for a >>> given rate. >>> >> >> As mentioned in my previous review, parent is selected by device >> tree and should never be changed after init. > > Great minds think alike then, because the driver implements exactly > that, either before or after that patch. > > That patch makes the current behaviour explicit but doesn't change it in > any way. > > So I guess that means that I can add your Acked-by on the three patches > you reviewed with the same message? > > Maxime Yes, preferably with a simplified commit message. Acked-by: David Lechner