From: Brian Masney <bmasney@redhat.com>
To: Pengpeng Hou <pengpeng@iscas.ac.cn>
Cc: Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org,
Marek Vasut <marex@denx.de>
Subject: Re: [RFC PATCH] clk: si521xx: Align si52147 OF data with the I2C id table
Date: Mon, 6 Jul 2026 13:04:22 -0400 [thread overview]
Message-ID: <akvgFuy0xFbM8PE4@redhat.com> (raw)
In-Reply-To: <20260624055810.49310-1-pengpeng@iscas.ac.cn>
+ Marek
On Wed, Jun 24, 2026 at 01:58:10PM +0800, Pengpeng Hou wrote:
> The si52147 match data is used to derive the number and mapping of
> registered DIFF clock providers. The I2C id table uses
> SI521XX_OE_MAP(0x17, 0xf8), while the OF compatible for the same chip
> currently uses SI521XX_OE_MAP(0x15, 0xf8).
>
> Use the same provider topology for the OF match as for the I2C id match
> so the same chip identity does not expose a different clock provider set
> depending on the match path.
>
> Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Fixes: edc12763a3a29 ("clk: si521xx: Clock driver for Skyworks Si521xx I2C PCIe clock generators")
> ---
> drivers/clk/clk-si521xx.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/clk/clk-si521xx.c b/drivers/clk/clk-si521xx.c
> index 4ed4e1a5f4f2..f167fd63c504 100644
> --- a/drivers/clk/clk-si521xx.c
> +++ b/drivers/clk/clk-si521xx.c
> @@ -375,7 +375,7 @@ MODULE_DEVICE_TABLE(i2c, si521xx_id);
> static const struct of_device_id clk_si521xx_of_match[] = {
> { .compatible = "skyworks,si52144", .data = (void *)SI521XX_OE_MAP(0x5, 0xc0) },
> { .compatible = "skyworks,si52146", .data = (void *)SI521XX_OE_MAP(0x15, 0xe0) },
> - { .compatible = "skyworks,si52147", .data = (void *)SI521XX_OE_MAP(0x15, 0xf8) },
> + { .compatible = "skyworks,si52147", .data = (void *)SI521XX_OE_MAP(0x17, 0xf8) },
I see the mismatch between the two tables. Do you know which one of the
two is correct?
Brian
prev parent reply other threads:[~2026-07-06 17:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-06-24 5:58 [RFC PATCH] clk: si521xx: Align si52147 OF data with the I2C id table Pengpeng Hou
2026-07-06 17:04 ` Brian Masney [this message]
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=akvgFuy0xFbM8PE4@redhat.com \
--to=bmasney@redhat.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marex@denx.de \
--cc=mturquette@baylibre.com \
--cc=pengpeng@iscas.ac.cn \
--cc=sboyd@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.