Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp243544pxt; Fri, 6 Aug 2021 00:30:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxF4S5rM35lZcC2gHQnILw6Td6ceF++OZDrYUx+5DwM5zyjFO89gGEOgS0Px8LCiP9Y+H1P X-Received: by 2002:a92:6503:: with SMTP id z3mr685875ilb.258.1628235009846; Fri, 06 Aug 2021 00:30:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628235009; cv=none; d=google.com; s=arc-20160816; b=mGD8l0fj+ZZ/6k8Lm7zeq9IOIgGpVeRTK1SW7lmVV+sEWUqESoAuETZAy4ut0RtkV1 hkXXCWrmicn4kaI5u0q5bhLU0UdOI0P0jYeotqfA294ZYVpMPB1hFlD85sesVm+SxL8X dnrMXbwu1VuqrK6EqdR2MnWrXDb4FTG9qqiYZHvhvCNkHFYGFATi7vjjXEyf/5Z09+Yr 2AMi9ycEBQJ5Tau0rHqF22OpGg9GOdZE0CYwOHc1k7EBsA1OUgMyxzsluc1eJdpfmIM6 j4lcBA1vuS/V0sHIxE3T2jEXgl8/Lq2EeuwmstLJh6UiaZwGKhiO7o3Tq12CLNPwq1uz tAkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=cZWXeNfKB+516Uk3yS8cebYSUBZ3yLUsh4a3ISh4MSE=; b=CxePXC7tC/vrqwITWKyD6uEPxOwgqP3gdCiE3b33rriFmoqNIYt2+WzIORjB301+Yv ka+FYma97h/1/QAtj+anY9Uj6aKG80Xq64r0O+Vk1FykGfOHFUygPXyUkWMQTPLZLRUU 4CwwTg1+5x1F+5AmLZP0uJW1pvepxuVPoKyEF+jINF+OFciX71M0EmxT3hVbdlS7Gx1h 7ylDRVwcWyOZ/XREe3ePFtFQV8bRevAsxHzK5t/wYUCDuvt2B8ySS4dqPAF3ifrXX3Qo uep2xvAWQgU65OR5c7BqRjIxxIDNQkea1yaW4y4XbogDozJAfvI3Mxbjq9rAGh8ZyeGR SAuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X1Q+P737; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p16si7903563ilj.162.2021.08.06.00.29.48; Fri, 06 Aug 2021 00:30:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=X1Q+P737; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S243129AbhHFBK0 (ORCPT + 99 others); Thu, 5 Aug 2021 21:10:26 -0400 Received: from mail.kernel.org ([198.145.29.99]:55996 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236758AbhHFBK0 (ORCPT ); Thu, 5 Aug 2021 21:10:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 4D291610E7; Fri, 6 Aug 2021 01:10:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628212211; bh=cZWXeNfKB+516Uk3yS8cebYSUBZ3yLUsh4a3ISh4MSE=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=X1Q+P737/kIojTY1y7StFtkruO1s/rjTOVibz01fmmGSbxhuHd/Jk+yckXXPs6m+h Gufc7gWnV26U6oUruweSqq/ArhAmy1DfHVKs8Mn2cY1hKB9qRudYq5h4KDlNAFcll8 sgsxg4JtkbJHotp0BunBvZ8pKKKj5d1mimxlZD/MEdtj7DlD2y5p7fVMwuImvxr0Q/ lH73rjVfB/kLf05BKx3SZCysVxW+kxu1m6qKoe7YL1nepQ1ouBrWSxffnaBgtfE/L7 P07jwn/ITE7JqGQn7DaTPyYCn6fHdOzbTmsPb2V8eYxGNFSmLVrd7lNjuaCV4MgFUo s2Azrwvamitqg== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210702225145.2643303-2-martin.blumenstingl@googlemail.com> References: <20210702225145.2643303-1-martin.blumenstingl@googlemail.com> <20210702225145.2643303-2-martin.blumenstingl@googlemail.com> Subject: Re: [PATCH v1 1/6] clk: divider: Implement and wire up .determine_rate by default From: Stephen Boyd Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Martin Blumenstingl To: Martin Blumenstingl , linux-clk@vger.kernel.org Date: Thu, 05 Aug 2021 18:10:10 -0700 Message-ID: <162821221001.19113.3440053309060770787@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Martin Blumenstingl (2021-07-02 15:51:40) > .determine_rate is meant to replace .round_rate. The former comes with a > benefit which is especially relevant on 32-bit systems: since > .determine_rate uses an "unsigned long" (compared to a "signed long" > which is used by .round_rate) the maximum value on 32-bit systems > increases from 2^31 (or approx. 2.14GHz) to 2^32 (or approx. 4.29GHz). >=20 > Implement .determine_rate in addition to .round_rate so drivers that are > using clk_divider_{ro_,}ops can benefit from this by default. Keep the > .round_rate callback for now since some drivers rely on > clk_divider_ops.round_rate being implemented. >=20 > Signed-off-by: Martin Blumenstingl > --- Applied to clk-next