All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Stefan Dösinger" <stefandoesinger@gmail.com>
Cc: conor+dt@kernel.org, linux-phy@lists.infradead.org,
	lee@kernel.org, mfd@lists.linux.dev, vkoul@kernel.org,
	olteanv@gmail.com, devicetree@vger.kernel.org, robh@kernel.org,
	linux-clk@vger.kernel.org, neil.armstrong@linaro.org
Subject: Re: [PATCH v11 08/12] clk: zte: Add zx PLL support infrastructure
Date: Tue, 25 Aug 2026 21:35:54 +0000	[thread overview]
Message-ID: <20260825213554.C20161F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260826-zx29clk-v11-8-f8ad59c6426c@gmail.com>

> This patch adds code to decode and program PLL settings on ZTE's
> zx297520v3 SoC. The PLLs on this SoC are usually programmed to static
> values by the boot loader. The only situation where .set_rate matters is
> dpll, which is not programmed in some cases. The bootloader always sets
> fixed rates though: 624 MHz for mpll, 200 for gpll, 480 for upll.
> 
> Parsing the bootloader-programmed values allows the clock driver to fill
> the clock tree with appropriately clocked parent clocks instead of
> registering fixed clocks with hardcoded rates.
> 
> I only tested the code on zx297520v3. From looking at the hardcoded PLL
> values in the old zx296702 / zx296718 code I believe that these PLLs use
> the same encoding, so the code added by this patch should be reusable
> and the file has a relatively generic name pll-zx.c.
> 
> Reviewed-by: Brian Masney <bmasney@redhat.com>
> Signed-off-by: Stefan Dösinger <stefandoesinger@gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260826-zx29clk-v11-0-f8ad59c6426c@gmail.com?part=8


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Stefan Dösinger" <stefandoesinger@gmail.com>
Cc: conor+dt@kernel.org, linux-phy@lists.infradead.org,
	lee@kernel.org, mfd@lists.linux.dev, vkoul@kernel.org,
	olteanv@gmail.com, devicetree@vger.kernel.org, robh@kernel.org,
	linux-clk@vger.kernel.org, neil.armstrong@linaro.org
Subject: Re: [PATCH v11 08/12] clk: zte: Add zx PLL support infrastructure
Date: Tue, 25 Aug 2026 21:35:54 +0000	[thread overview]
Message-ID: <20260825213554.C20161F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260826-zx29clk-v11-8-f8ad59c6426c@gmail.com>

> This patch adds code to decode and program PLL settings on ZTE's
> zx297520v3 SoC. The PLLs on this SoC are usually programmed to static
> values by the boot loader. The only situation where .set_rate matters is
> dpll, which is not programmed in some cases. The bootloader always sets
> fixed rates though: 624 MHz for mpll, 200 for gpll, 480 for upll.
> 
> Parsing the bootloader-programmed values allows the clock driver to fill
> the clock tree with appropriately clocked parent clocks instead of
> registering fixed clocks with hardcoded rates.
> 
> I only tested the code on zx297520v3. From looking at the hardcoded PLL
> values in the old zx296702 / zx296718 code I believe that these PLLs use
> the same encoding, so the code added by this patch should be reusable
> and the file has a relatively generic name pll-zx.c.
> 
> Reviewed-by: Brian Masney <bmasney@redhat.com>
> Signed-off-by: Stefan Dösinger <stefandoesinger@gmail.com>

Sashiko has reviewed this patch and found no issues. It looks great!

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260826-zx29clk-v11-0-f8ad59c6426c@gmail.com?part=8


  reply	other threads:[~2026-08-25 21:35 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-25 21:23 [PATCH v11 00/12] ZTE zx297520v3 clock bindings and driver Stefan Dösinger
2026-08-25 21:23 ` Stefan Dösinger
2026-08-25 21:24 ` [PATCH v11 01/12] dt-bindings: clk: zte: Add zx297520v3 top clock and reset controller Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:27   ` sashiko-bot
2026-08-25 21:27     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 02/12] dt-bindings: clk: zte: Add zx297520v3 matrix " Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:29   ` sashiko-bot
2026-08-25 21:29     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 03/12] dt-bindings: clk: zte: Add zx297520v3 LSP " Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:28   ` sashiko-bot
2026-08-25 21:28     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 04/12] ARM: dts: zte: Declare zx297520v3 CRM device nodes Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:31   ` sashiko-bot
2026-08-25 21:31     ` sashiko-bot
2026-09-02 10:29   ` Stefan Dösinger
2026-09-02 10:29     ` Stefan Dösinger
2026-09-08 18:22   ` Krzysztof Kozlowski
2026-09-08 18:22     ` Krzysztof Kozlowski
2026-08-25 21:24 ` [PATCH v11 05/12] mfd: zx297520v3: Add a clock and reset MFD driver Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:31   ` sashiko-bot
2026-08-25 21:31     ` sashiko-bot
2026-09-10 16:17   ` Lee Jones
2026-09-10 16:17     ` Lee Jones
2026-09-10 19:14     ` Stefan Dösinger
2026-09-10 19:14       ` Stefan Dösinger
2026-08-25 21:24 ` [PATCH v11 06/12] clk: zte: Add Clock registration infrastructure Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:32   ` sashiko-bot
2026-08-25 21:32     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 07/12] clk: zte: Add regmap-based clocks Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:38   ` sashiko-bot
2026-08-25 21:38     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 08/12] clk: zte: Add zx PLL support infrastructure Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:35   ` sashiko-bot [this message]
2026-08-25 21:35     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 09/12] clk: zte: Introduce a driver for zx297520v3 top clocks Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:38   ` sashiko-bot
2026-08-25 21:38     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 10/12] clk: zte: Introduce a driver for zx297520v3 matrix clocks Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:36   ` sashiko-bot
2026-08-25 21:36     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 11/12] clk: zte: Introduce a driver for zx297520v3 LSP clocks Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:34   ` sashiko-bot
2026-08-25 21:34     ` sashiko-bot
2026-08-25 21:24 ` [PATCH v11 12/12] reset: zte: Add a zx297520v3 reset driver Stefan Dösinger
2026-08-25 21:24   ` Stefan Dösinger
2026-08-25 21:35   ` sashiko-bot
2026-08-25 21:35     ` sashiko-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260825213554.C20161F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=lee@kernel.org \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=mfd@lists.linux.dev \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=stefandoesinger@gmail.com \
    --cc=vkoul@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.