Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp828247rwl; Wed, 5 Apr 2023 08:13:39 -0700 (PDT) X-Google-Smtp-Source: AKy350afJvxuSsAlTUy3+bmPW8/bdF1An0vVaKfttbN7aYSR5NDP3k31nIdZm1F4Wf6s4q/8a5AT X-Received: by 2002:a17:903:24e:b0:1a3:cd4c:8d08 with SMTP id j14-20020a170903024e00b001a3cd4c8d08mr7519440plh.38.1680707619400; Wed, 05 Apr 2023 08:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680707619; cv=none; d=google.com; s=arc-20160816; b=apU9JU1OOtAMHWzzr7fVE8UxZmphRoV263mnlsAL0katFuF1BjxQkQ0+0GGqmXx3e6 6taFKm0RIwpl3sOU6RAyoVL+CE1jA0noiHiko019Qpho6UXbE4fNSbHRYUyHUweoiMs5 iMJsW89E8NOaqQsqDHELazQ5JsfP22C5Bm8L8intCOsNSzhyvDfSZjfQxfCPnXExJubB U6x2R6nSJOWniU7fW3+J8oWgyA+dMPRpQQ5JR/FC+orZrWAepe2Hw3K0qULwbzHled9v URImmD6oKNAQW9AJBYXIfNeNoJY5nhaU4fBdPii2R6VP+qUTDTGwyJU2b4YIBSB5NaZl qF/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rJ3M+zYS15q5Quad0wzrZG7xL5+9ADdP5E4EpauPQDA=; b=zDCmOLaqHpb3dBxFYmGlTpqT40VnMi7frJcBX37HTZUcMBdoQ/kgDKfG2ecPoUoWwO RiphZ3+AqaqJGEfbaX/wGYvf7kyOkYr+lBktfo1pfzneJ/NgZ+ohMNJdSctvqkiolF0d 3sb/QOZQUT9Q2hR8s4PWScZI5CA6YQJP/5Nvyb7YXWP0BM2HLT0PY1Ax7kPUFzpZ7KNB qXKKQTAcBXEmkQY05SN1lL1SRryMnWTrKW7pJD0o0SNoEdGp25dMrF5UoB/7lv4PB2ws S/bOxzkCggyGKYMH59hwMFQinJuwuDEGcr1Gfw83+nX5aG+XZMlRmQwgPclmVvA0+K02 uDeQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uwvoLG9M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a170902e94500b001a1a252c4b1si12166934pll.13.2023.04.05.08.13.26; Wed, 05 Apr 2023 08:13:39 -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=pass header.i=@kernel.org header.s=k20201202 header.b=uwvoLG9M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238578AbjDEPNF (ORCPT + 99 others); Wed, 5 Apr 2023 11:13:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238730AbjDEPMl (ORCPT ); Wed, 5 Apr 2023 11:12:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AECC97EC0; Wed, 5 Apr 2023 08:10:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id CA53F625CE; Wed, 5 Apr 2023 15:10:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 604D1C433D2; Wed, 5 Apr 2023 15:09:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680707405; bh=rJ3M+zYS15q5Quad0wzrZG7xL5+9ADdP5E4EpauPQDA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=uwvoLG9Mg6dizDLr402j7UdbsqsQxuYjteYBhYwhrJlAsrbTC9nd6DQo1IzXxCIaN 9U72nBXMiZahaLCTdTcDIyoRUQ+ocS5hUtOmf5c/huPkH9rNDWmoozW7pynZHzH+D0 BGkdmKh+F8uLhLLPmXVxsc28WnJBRX2V3SfGP8T4wKvdqas3AfRJERK4rgMzIwhb2E qUgFyspMctrP+YLPss7RMpYkfaXUxCSqnJxvkR2qxW/mhhhcEOUM7AD8vA30RzOHfq MNkaCuaeprkDAK/eetegajbSH5jkLfbeRNdoBlc7xa5It9mB4L6J4Y1vI1mBg8lIkR DpSUyJSUzAZBg== Date: Wed, 5 Apr 2023 16:09:49 +0100 From: Mark Brown To: Maxime Ripard Cc: Michael Turquette , Stephen Boyd , Andreas =?iso-8859-1?Q?F=E4rber?= , Manivannan Sadhasivam , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Max Filippov , Charles Keepax , Richard Fitzgerald , Maxime Coquelin , Alexandre Torgue , Luca Ceresoli , David Lechner , 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 , 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 Subject: Re: [PATCH v3 63/65] ASoC: tlv320aic32x4: pll: Switch to determine_rate Message-ID: <6b83dd87-3819-4db4-bd07-92487a1df09d@sirena.org.uk> References: <20221018-clk-range-checks-fixes-v3-0-9a1358472d52@cerno.tech> <20221018-clk-range-checks-fixes-v3-63-9a1358472d52@cerno.tech> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bXPsTMNAHQ2iLa6U" Content-Disposition: inline In-Reply-To: <20221018-clk-range-checks-fixes-v3-63-9a1358472d52@cerno.tech> X-Cookie: 1 bulls, 3 cows. X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, 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 --bXPsTMNAHQ2iLa6U Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Apr 04, 2023 at 12:11:53PM +0200, Maxime Ripard wrote: > The driver does implement round_rate() though, which means that we can > change the rate of the clock, but we will never get to change the > parent. > However, It's hard to tell whether it's been done on purpose or not. > Since we'll start mandating a determine_rate() implementation, let's > convert the round_rate() implementation to a determine_rate(), which > will also make the current behavior explicit. And if it was an > oversight, the clock behaviour can be adjusted later on. Similar comments to the other patch, I'm pretty sure this is just surprising design on the part of the clock API and we should just allow reparenting. --bXPsTMNAHQ2iLa6U Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmQtjzwACgkQJNaLcl1U h9AOwgf9ErN1u2S7sQlFKj2SeLpE5lRKnNP6D1ooc6560nzhA27lBtrYHbRW8SJl T+kbhVrNtrlNbq+4ODnnfurtCWZnzgv4x6SDSb4ifzjckcCo4hjqHk9kcGQk/0Cw pe5S6KjNiGE3LWSWa85iqnAHH8XPVms/VcjAtDbLdiXBqV0fBmvKHpKkqpQ2IKiJ CPVabkZYMXj4Qh+tGAScos2ZPgNI6nG1euebgm1iPDvutLxcxU8RVHA++BVKNa62 /ijunLrZY+U2Msq+RZQGuSWr7TfdD1DUhxhdnTG4Hjm4Q3r0KaWeixGyICYY6TyC r4CUzpWuZDn+9YNx2ETW7ACv6ayuMg== =P5db -----END PGP SIGNATURE----- --bXPsTMNAHQ2iLa6U--