From mboxrd@z Thu Jan 1 00:00:00 1970 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=-11.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 8897EC11F69 for ; Wed, 30 Jun 2021 18:39:25 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 71AE5600EF for ; Wed, 30 Jun 2021 18:39:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234672AbhF3Slx (ORCPT ); Wed, 30 Jun 2021 14:41:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:40776 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234636AbhF3Slv (ORCPT ); Wed, 30 Jun 2021 14:41:51 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2A99261419; Wed, 30 Jun 2021 18:39:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625078362; bh=idOYvZck+DrSLfwpxZjyNucc8Z4zRCEV7i4OiE00mHw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=OKbcXhEYgw67/4s2FV9HOv4T8VnTrQKK3dsRGn+TQYIg3CFB5kqje78EJd4V9dwqs 9D8Crg9hgCntA8/lqGvBSHuUNgrsdIdfT1TAoVHDrYnCFJFcX+xMf19ZlC3hTAawbA 1NVtNNtUOC02KeVztVpkhd0B/tGlzKDANCi/X/IqpfUIHXVaaAv9hqn/V2bmMYu8cq K6sgzG3+2wrE7o5NC3WWEcytAnP1tFz4Fh463XuxwKEwmoW5xTDPSEvaPcmMtGyiEm 2P8BLWStjem4nNFxsGZ/XOf8U9tRG1VfjHKYt0xbjGjx0oRoGY5Z/e/CAw1F02oGi+ n6oXlha5fVxhw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210627223959.188139-4-martin.blumenstingl@googlemail.com> References: <20210627223959.188139-1-martin.blumenstingl@googlemail.com> <20210627223959.188139-4-martin.blumenstingl@googlemail.com> Subject: Re: [PATCH v3 3/3] clk: meson: regmap: switch to determine_rate for the dividers From: Stephen Boyd Cc: narmstrong@baylibre.com, jbrunet@baylibre.com, khilman@baylibre.com, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Martin Blumenstingl To: Martin Blumenstingl , linux-clk@vger.kernel.org, mturquette@baylibre.com Date: Wed, 30 Jun 2021 11:39:20 -0700 Message-ID: <162507836069.3331010.6408437361041793201@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-06-27 15:39:59) > This increases the maxmium supported frequency on 32-bit systems from > 2^31 (signed long as used by clk_ops.round_rate, maximum value: > approx. 2.14GHz) to 2^32 (unsigned long as used by > clk_ops.determine_rate, maximum value: approx. 4.29GHz). > On Meson8/8b/8m2 the HDMI PLL and it's OD (post-dividers) are > capable of running at up to 2.97GHz. So switch the divider > implementation in clk-regmap to clk_ops.determine_rate to support these > higher frequencies on 32-bit systems. >=20 > Reviewed-by: Jerome Brunet > Signed-off-by: Martin Blumenstingl > --- Applied to clk-next From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 150BEC11F65 for ; Wed, 30 Jun 2021 18:41:28 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BB930600EF for ; Wed, 30 Jun 2021 18:41:27 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BB930600EF Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-ID:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=SYsgRq1jgGJDBUPqcoHB9asJUpB8xjy34fmSPdt516Q=; b=VVsUlC7R98f4Oi GmNeShUp1KYWgtm2xG78vcK8ft235p7S2asXH6D0JCyyYrskWcBrCb9w8P5LdxdjtId/UvrlDaBsU Pj6BdGZ/e0Kn0LUa+w0wbdvOUKvXHuT5RzPLNrWUjXeE0vA4w/EGNq90toi9QJZ3uDI6hBh4jNKIl baeG2GpGUtpUO1r1qrpmzOo8mKW27BoVug3H0sy2UlKCNF1fEobJESyOyoyIP+tPhoqNN/79A817B nfYuLRWJD1mjZNIHB7LusPOt0mfhAf7v53j8hxG86/OgNTcf/QCasQuRUWhKrV4pRKPRM/jYTzL2+ K7J511JF/a4N5EJH5GhQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyf7m-00F0uU-Es; Wed, 30 Jun 2021 18:39:50 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyf7K-00F0mV-Hw; Wed, 30 Jun 2021 18:39:23 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2A99261419; Wed, 30 Jun 2021 18:39:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625078362; bh=idOYvZck+DrSLfwpxZjyNucc8Z4zRCEV7i4OiE00mHw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=OKbcXhEYgw67/4s2FV9HOv4T8VnTrQKK3dsRGn+TQYIg3CFB5kqje78EJd4V9dwqs 9D8Crg9hgCntA8/lqGvBSHuUNgrsdIdfT1TAoVHDrYnCFJFcX+xMf19ZlC3hTAawbA 1NVtNNtUOC02KeVztVpkhd0B/tGlzKDANCi/X/IqpfUIHXVaaAv9hqn/V2bmMYu8cq K6sgzG3+2wrE7o5NC3WWEcytAnP1tFz4Fh463XuxwKEwmoW5xTDPSEvaPcmMtGyiEm 2P8BLWStjem4nNFxsGZ/XOf8U9tRG1VfjHKYt0xbjGjx0oRoGY5Z/e/CAw1F02oGi+ n6oXlha5fVxhw== MIME-Version: 1.0 In-Reply-To: <20210627223959.188139-4-martin.blumenstingl@googlemail.com> References: <20210627223959.188139-1-martin.blumenstingl@googlemail.com> <20210627223959.188139-4-martin.blumenstingl@googlemail.com> Subject: Re: [PATCH v3 3/3] clk: meson: regmap: switch to determine_rate for the dividers From: Stephen Boyd Cc: narmstrong@baylibre.com, jbrunet@baylibre.com, khilman@baylibre.com, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Martin Blumenstingl To: Martin Blumenstingl , linux-clk@vger.kernel.org, mturquette@baylibre.com Date: Wed, 30 Jun 2021 11:39:20 -0700 Message-ID: <162507836069.3331010.6408437361041793201@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210630_113922_655994_88380DDB X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Quoting Martin Blumenstingl (2021-06-27 15:39:59) > This increases the maxmium supported frequency on 32-bit systems from > 2^31 (signed long as used by clk_ops.round_rate, maximum value: > approx. 2.14GHz) to 2^32 (unsigned long as used by > clk_ops.determine_rate, maximum value: approx. 4.29GHz). > On Meson8/8b/8m2 the HDMI PLL and it's OD (post-dividers) are > capable of running at up to 2.97GHz. So switch the divider > implementation in clk-regmap to clk_ops.determine_rate to support these > higher frequencies on 32-bit systems. > > Reviewed-by: Jerome Brunet > Signed-off-by: Martin Blumenstingl > --- Applied to clk-next _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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=-9.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham 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 02660C11F65 for ; Wed, 30 Jun 2021 18:39:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C2C8D61424 for ; Wed, 30 Jun 2021 18:39:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C2C8D61424 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Message-ID:Date:To:Cc:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=TGpqE8wVVvMgfEG/kX8d61ef06yFjN6IlO6jat3X+7o=; b=Vcstme0Tcle6Dz xkJN5Syqlk/z+y5kDNJw35T18ViCiJGfcbBPkpV5ZWUxJDpCgP7kRnoDAKWLEmbYpPIhY4qqKULvg wcnK1elWQRCfF3OIXo/LuNBKFl/rwXbQVPAkFOqDZLm5w2jIvWBXVB5PjU0GTJfdNPwvx+twg87aF 1/bAqZTdZK/H26elYdWMxXaQDARtfUPNg8MYCKxE4B3N6p2O4Six8zcU79DQzFaC/SOe1Y0DW6shb sLiN1KAk7kku46roCa+ikTGnOWV+hwj7Y1uTlZlvfg1OqxMkf2Ho3Q9QxcMDde4rcY7bqYtD/Gvxg YYG3Wk+/LnmzO+J8mz1w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyf7j-00F0tm-Am; Wed, 30 Jun 2021 18:39:47 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lyf7K-00F0mV-Hw; Wed, 30 Jun 2021 18:39:23 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2A99261419; Wed, 30 Jun 2021 18:39:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1625078362; bh=idOYvZck+DrSLfwpxZjyNucc8Z4zRCEV7i4OiE00mHw=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=OKbcXhEYgw67/4s2FV9HOv4T8VnTrQKK3dsRGn+TQYIg3CFB5kqje78EJd4V9dwqs 9D8Crg9hgCntA8/lqGvBSHuUNgrsdIdfT1TAoVHDrYnCFJFcX+xMf19ZlC3hTAawbA 1NVtNNtUOC02KeVztVpkhd0B/tGlzKDANCi/X/IqpfUIHXVaaAv9hqn/V2bmMYu8cq K6sgzG3+2wrE7o5NC3WWEcytAnP1tFz4Fh463XuxwKEwmoW5xTDPSEvaPcmMtGyiEm 2P8BLWStjem4nNFxsGZ/XOf8U9tRG1VfjHKYt0xbjGjx0oRoGY5Z/e/CAw1F02oGi+ n6oXlha5fVxhw== MIME-Version: 1.0 In-Reply-To: <20210627223959.188139-4-martin.blumenstingl@googlemail.com> References: <20210627223959.188139-1-martin.blumenstingl@googlemail.com> <20210627223959.188139-4-martin.blumenstingl@googlemail.com> Subject: Re: [PATCH v3 3/3] clk: meson: regmap: switch to determine_rate for the dividers From: Stephen Boyd Cc: narmstrong@baylibre.com, jbrunet@baylibre.com, khilman@baylibre.com, linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Martin Blumenstingl To: Martin Blumenstingl , linux-clk@vger.kernel.org, mturquette@baylibre.com Date: Wed, 30 Jun 2021 11:39:20 -0700 Message-ID: <162507836069.3331010.6408437361041793201@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210630_113922_655994_88380DDB X-CRM114-Status: UNSURE ( 8.02 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org Quoting Martin Blumenstingl (2021-06-27 15:39:59) > This increases the maxmium supported frequency on 32-bit systems from > 2^31 (signed long as used by clk_ops.round_rate, maximum value: > approx. 2.14GHz) to 2^32 (unsigned long as used by > clk_ops.determine_rate, maximum value: approx. 4.29GHz). > On Meson8/8b/8m2 the HDMI PLL and it's OD (post-dividers) are > capable of running at up to 2.97GHz. So switch the divider > implementation in clk-regmap to clk_ops.determine_rate to support these > higher frequencies on 32-bit systems. > > Reviewed-by: Jerome Brunet > Signed-off-by: Martin Blumenstingl > --- Applied to clk-next _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic