From: Christian Marangi <ansuelsmth@gmail.com>
To: Brian Masney <masneyb@kernel.org>
Cc: Stephen Boyd <sboyd@kernel.org>,
Brian Masney <bmasney+clk@redhat.com>,
Jerome Brunet <jbrunet+clk@baylibre.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Philipp Zabel <p.zabel@pengutronix.de>,
Felix Fietkau <nbd@nbd.name>,
linux-clk@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v16 8/8] clk: en7523: add support for Airoha AN7583 clock
Date: Mon, 30 Nov 2026 19:05:26 +0100 [thread overview]
Message-ID: <6b0dbaea.5aca4ead.21b531.be65@mx.google.com> (raw)
In-Reply-To: <179606185862.326272.7277880566063492121.b4-review@b4>
On Mon, Nov 30, 2026 at 01:04:18PM -0500, Brian Masney wrote:
> Hi Christian,
>
> > Add support for Airoha AN7583 clock and reset.
> >
> > Airoha AN7583 SoC have the same register address of EN7581 but implement
> > different bits and additional base clocks. Also reset are different with
> > the introduction of 2 dedicated MDIO line and drop of some reset lines.
> >
> > Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
> > ---
> > +static int an7583_clk_hw_init(struct platform_device *pdev,
> > + struct clk_hw_onecell_data *clk_data)
> > +{
> > + struct en_clk_priv *priv = platform_get_drvdata(pdev);
> > + struct device *dev = &pdev->dev;
> > + struct regmap *map;
> > + void __iomem *base;
> > + u32 val;
> > + int ret;
> > +
> > + map = syscon_regmap_lookup_by_phandle(dev->of_node, "airoha,chip-scu");
> > + if (IS_ERR(map))
> > + return PTR_ERR(map);
> > +
> > + base = devm_platform_ioremap_resource(pdev, 0);
> > + if (IS_ERR(base))
> > + return PTR_ERR(base);
> > +
> > + priv->base = base;
> > +
> > + en7581_register_clocks(dev, clk_data, map, base);
>
> The feedback from Sashiko is valid about the missing return check here.
> I looked through the other commits and everything else looks good.
>
Thanks for the quick feedback. I was waiting just that so send the last
revision. I'm already on it and I will push in the next few minutes.
--
Ansuel
prev parent reply other threads:[~2026-11-30 18:05 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-30 1:24 [PATCH v16 0/8] clk: add support for Airoha AN7583 clock Christian Marangi
2026-11-30 1:24 ` [PATCH v16 1/8] dt-bindings: clock: airoha: Document support for " Christian Marangi
2026-11-30 1:25 ` [PATCH v16 2/8] clk: en7523: use devm variant for clk_hw_register and fixed clock Christian Marangi
2026-11-30 1:25 ` [PATCH v16 3/8] clk: en7523: don't call PCI clk OPs for early unprepare Christian Marangi
2026-11-30 1:25 ` [PATCH v16 4/8] clk: en7523: protect concurrent access to reset and PCI register Christian Marangi
2026-11-30 1:25 ` [PATCH v16 5/8] clk: en7523: convert to full clk_hw implementation for en7581 Christian Marangi
2026-11-30 1:25 ` [PATCH v16 6/8] clk: en7523: add support for .set_rate " Christian Marangi
2026-11-30 1:25 ` [PATCH v16 7/8] clk: en7523: generalize register clocks function Christian Marangi
2026-11-30 1:25 ` [PATCH v16 8/8] clk: en7523: add support for Airoha AN7583 clock Christian Marangi
2026-11-30 1:35 ` sashiko-bot
2026-11-30 18:04 ` Brian Masney
2026-11-30 18:05 ` Christian Marangi [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=6b0dbaea.5aca4ead.21b531.be65@mx.google.com \
--to=ansuelsmth@gmail.com \
--cc=bmasney+clk@redhat.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jbrunet+clk@baylibre.com \
--cc=krzk+dt@kernel.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masneyb@kernel.org \
--cc=nbd@nbd.name \
--cc=p.zabel@pengutronix.de \
--cc=robh@kernel.org \
--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.