Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp25763335rwd; Mon, 3 Jul 2023 00:13:09 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJCflwL0yZ3lsnshTzFGHMU89+rD5ntX+hvM8s+70x5ki0P14fxVs9Ze3PTJy7NOzP6ZA5 X-Received: by 2002:a05:620a:4587:b0:765:5f40:426a with SMTP id bp7-20020a05620a458700b007655f40426amr11383700qkb.47.1688368388958; Mon, 03 Jul 2023 00:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688368388; cv=none; d=google.com; s=arc-20160816; b=tVvcixblJ6KtFB8ToyaR5AMUiggznK6sS+lfikJHd/tCYLWKfjg9kGfBGjJTPn7d7n g4dvEb+9MF4p3pb5yE8d153Cv3NNFNsP8Vw8ZMqXh0Saak5ts0gy17NHgaL3iHW5a5ln ba6BkqW16nqaGM/1K9Wh6mW+RNhPI/as0jL5KzrB/SW8wqP0DNUNJtrBmF/rTy/BaIOK l9G50HALUdCnhLNEG05xV+Ki2AB5HfnNBB6RYWNbWBBBElo1wP++TXsgPteByVT/n138 QWkPPhQeaN461PuiESmx4TtH4o1YDmzS+sTbV23sRlMHzN31TkdOsFPs4DfEGnfvvLgq Ke1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:references :in-reply-to:subject:to:from:date:message-id:dkim-signature; bh=5CKnSSqyTDFHeLhyh7Tnd/pscfMyyfZL0dQps8rZGB0=; fh=xevbD5tNsEPruzbPAIyVzqJ2LHedoQ8bS4eedNcGkSQ=; b=FZ8TFAwRVj8op7fyNUYUrFfowdBjPiKafW6wcI4KOdn+a52+YMBF9I8jz7F9hV+Tmr BMTVavDssO2pZfXDdWJ89qC+okKfFjXinY47vAq+x92kzebVcb6qsGI9JqgA2XhvbNlf ezm0H8nl8VY+K8TXt/VVoXKQpaAIF3XMIbU9/y0woIUmO6t2OBz1UNscHQSBBHagmN4s tBPOKMEKqzJksuy9wA+bbhtGLV3ZIb+6MRgubPID6UfKCAHDNIIiriCKf2IWUhvMWFNd z1Tk3XacjtztPErHlmSjFMMmv0EwTekAaVq3Mq5oP4MhzPyysppIvRS/RsrHNTMZ7RpD Q8Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C4LMK8am; 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 y38-20020a056a00182600b0067fea30cd05si11176896pfa.79.2023.07.03.00.12.55; Mon, 03 Jul 2023 00:13:08 -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=C4LMK8am; 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 S230367AbjGCGsj (ORCPT + 99 others); Mon, 3 Jul 2023 02:48:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbjGCGsg (ORCPT ); Mon, 3 Jul 2023 02:48:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18EB7E44; Sun, 2 Jul 2023 23:48:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id ABB2C60DBF; Mon, 3 Jul 2023 06:48:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7F039C433C7; Mon, 3 Jul 2023 06:48:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688366902; bh=FsU8Ftt54VNvE0ki2nHxYxKZTQIN3r5LayDaz9lGT90=; h=Date:From:To:Subject:In-Reply-To:References:Cc:From; b=C4LMK8amVSKjvUmKoGdN/GvHAySuidid9nw+aZyIJ7IN8h/c5n1iSPTHxoJepVumf /ijk95N+ArSlsqT2uLZdyqvCEqj31UMQEAKrVlVsrpuzBjenL6LR/rRRB7Uw2Lp6yE Lmc13Q5AnLPfPUxY1kfCB+IO2eS56VYTec34ddbkgBrMGqNTRj7vtjb/LJwr6kWwxH mHhBQOyw/Z9ZXAJj7P/32qhDBhs/LVh1WeeYspBImSJNwOCt5T7zYHT4efOfVK8qi1 aIbKO/Jwwt+a7ujXbZMmR4eHjT/4WwaE+FyfOl3s5JWFxWiZoypdBgFsDu+0CBBG1j vlV77VUDnL8qA== Message-ID: <1d08e72e9ce227d4fc88d9656d35645f.mripard@kernel.org> Date: Mon, 03 Jul 2023 06:48:18 +0000 From: "Maxime Ripard" To: "Frank Oltmanns" Subject: Re: [PATCH v3 3/8] clk: sunxi-ng: Add feature to find closest rate In-Reply-To: <20230702-pll-mipi_set_rate_parent-v3-3-46dcb8aa9cbc@oltmanns.dev> References: <20230702-pll-mipi_set_rate_parent-v3-3-46dcb8aa9cbc@oltmanns.dev> Cc: linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@lists.linux.dev, "Andre Przywara" , "Chen-Yu Tsai" , "Jernej Skrabec" , "Maxime Ripard" , "Michael Turquette" , "Roman Beranek" , "Samuel Holland" , "Stephen Boyd" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Sun, 2 Jul 2023 19:55:22 +0200, Frank Oltmanns wrote: > The default behaviour of clocks in the sunxi-ng driver is to select a > clock rate that is closest to but less than the requested rate. > > Add the CCU_FEATURE_CLOSEST_RATE flag, which can be used to allow clocks > to find the closest rate instead. > > [ ... ] Acked-by: Maxime Ripard Thanks! Maxime