Re: [PATCH v3 5/5] clk: en7523: add support for Airoha AN7583 clock
From: Christian Marangi
Date: Fri Nov 07 2025 - 03:01:26 EST
On Fri, Nov 07, 2025 at 08:44:14AM +0100, Krzysztof Kozlowski wrote:
> On Thu, Nov 06, 2025 at 08:59:32PM +0100, Christian Marangi wrote:
> > +
> > +static int an7583_clk_hw_init(struct platform_device *pdev,
> > + const struct en_clk_soc_data *soc_data,
> > + struct clk_hw_onecell_data *clk_data)
> > +{
> > + struct device *dev = &pdev->dev;
> > + struct regmap *map, *clk_map;
> > + void __iomem *base;
> > + int err;
> > +
> > + map = syscon_regmap_lookup_by_phandle(dev->of_node, "airoha,chip-scu");
>
> NAK, undocumented ABI.
>
> We talked about this last time and you just ignored entire discussion.
> Nothing in the changelog explains why this stayed, why our discussion
> was resolved like this.
>
> I already complained about very poor changelog and lack of lore links
> and this just adds on top of it.
>
>
Hi Krzysztof,
profoundly sorry for this, the old patch slipped in for this commit and
I already have the new revision ready.
This will change following how it's done with an7581 that doesn't use
this airoha-chip.
map = syscon_regmap_lookup_by_compatible("airoha,an7583-chip-scu");
if (IS_ERR(map))
return PTR_ERR(map);
After better analyzing the structure is almost the same of an7581 with
only the thermal a bit different.
I hope this clarify the concern we had long time ago, not trying to
ignore stuff, just trying to respin and make progress.
--
Ansuel