Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 64A88C636CC for ; Thu, 16 Feb 2023 15:20:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229724AbjBPPUb (ORCPT ); Thu, 16 Feb 2023 10:20:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229587AbjBPPUa (ORCPT ); Thu, 16 Feb 2023 10:20:30 -0500 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1DE7F6183 for ; Thu, 16 Feb 2023 07:20:28 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:4605:3635:9491:c6bc]) by xavier.telenet-ops.be with bizsmtp id MrLR2900J3wKl5501rLRBu; Thu, 16 Feb 2023 16:20:25 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1pSg3F-009BUr-T8; Thu, 16 Feb 2023 16:20:24 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1pSg3c-005tX6-Jw; Thu, 16 Feb 2023 16:20:24 +0100 From: Geert Uytterhoeven To: Michael Turquette , Stephen Boyd Cc: linux-renesas-soc@vger.kernel.org, linux-clk@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/2] clk: renesas: R-Car V3M/V3H: Add Z2 clocks Date: Thu, 16 Feb 2023 16:20:17 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org Hi all, This patch series adds support for the Z2 (Cortex-A53 System CPU) clocks on the Renesas R-Car V3M and V3H SoCs. These clocks use a fixed SYS-CPU divider. Note that the BSP went to great lengths to describe them as programmable Z clocks, like on most other R-Car Gen3 SoCs, but add quirks to the Z clock driver to use a fixed divider when running on R-Car V3M or V3H. I chose the simpler way... According to R-Car Series, 3rd Generation Hardware User’s Manual Rev. 2.30 and earlier, the SYS-CPU dividers on R-Car V3M and V3H are fixed dividers. Furthermore, the Frequency control register C, which is used on other SoCs to control the SYS-CPU divider, is documented not to exist on these SoCs (but empirical evidence shows that it does exist, and that the Z2FC field works as expected (tested on Eagle and Condor)). I intend to queue this series in renesas-clk-for-v6.4. Thanks for your comments! Geert Uytterhoeven (2): clk: renesas: r8a77970: Add Z2 clock clk: renesas: r8a77980: Add Z2 clock drivers/clk/renesas/r8a77970-cpg-mssr.c | 1 + drivers/clk/renesas/r8a77980-cpg-mssr.c | 1 + 2 files changed, 2 insertions(+) -- 2.34.1 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds