[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMhs-H_GjHU+r33oeytXiyu+bgGTrGL8Ck=DbsMYnqC-XBNYYw@mail.gmail.com>
Date: Sat, 17 Jun 2023 07:06:15 +0200
From: Sergio Paracuellos <sergio.paracuellos@...il.com>
To: yangshiji66@...look.com
Cc: arinc.unal@...nc9.com, devicetree@...r.kernel.org,
john@...ozen.org, krzysztof.kozlowski+dt@...aro.org,
linux-clk@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mips@...r.kernel.org, matthias.bgg@...il.com,
mturquette@...libre.com, p.zabel@...gutronix.de,
robh+dt@...nel.org, sboyd@...nel.org, tsbogend@...ha.franken.de
Subject: Re: [PATCH v3 2/9] clk: ralink: add clock and reset driver for MTMIPS SoCs
Hi Shiji Yang!
On Sat, Jun 17, 2023 at 6:51 AM <yangshiji66@...look.com> wrote:
>
> Thank you for taking care of these old amazing SoCs. When I ported these
> patches to OpenWrt, I found some issues.
Thanks for testing this!
>
> >+
> >+static const struct of_device_id mtmips_of_match[] = {
> >+ {
> >+ .compatible = "ralink,rt2880-sysc",
> >+ .data = &rt2880_clk_data,
> >+ },
> >+ {
> >+ .compatible = "ralink,rt3050-sysc",
> >+ .data = &rt3050_clk_data,
> >+ },
> >+ {
> >+ .compatible = "ralink,rt3052-sysc",
> >+ .data = &rt3052_clk_data,
> >+ },
> >+ {
> >+ .compatible = "ralink,rt3352-sysc",
> >+ .data = &rt3052_clk_data,
>
> It seems that there should be `.data = &rt3352_clk_data,`?
Good catch! Thanks!
>
> >+ },
> >+ {
> >+ .compatible = "ralink,rt3883-sysc",
> >+ .data = &rt3352_clk_data,
> >+ },
>
> And there should be `.data = &rt3883_clk_data,`?
True.
>
> >+ {
> >+ .compatible = "ralink,rt5350-sysc",
> >+ .data = &rt5350_clk_data,
> >+ },
> >+ {
> >+ .compatible = "ralink,mt7620a-sysc",
> >+ .data = &mt7620_clk_data,
> >+ },
> >+ {
> >+ .compatible = "ralink,mt7620-sysc",
> >+ .data = &mt7620_clk_data,
> >+ },
> >+ {
>
> I am confused about the difference between `ralink,mt7620-sysc` and
> `ralink,mt7620a-sysc`. Do you mean mt7620n?
> https://www.mediatek.com/products/home-networking/mt7620n-a
There is no real difference. As you can see both of them use the same
'mt7620_clk_data' but since both compatible strings already exist
somewhere I introduced both of them.
>
> >+ .compatible = "ralink,mt7628-sysc",
> >+ .data = &mt76x8_clk_data,
> >+ },
> >+ {
> >+ .compatible = "ralink,mt7688-sysc",
> >+ .data = &mt76x8_clk_data,
> >+ },
> >+ {}
> >+};
> >+
>
> Thanks,
> Shiji Yang
Thomas, I am going to send v4 with all Reviewed-by and Acked-by tags
added as well as this two minor stuff fixed.
Thanks,
Sergio Paracuellos
Powered by blists - more mailing lists