[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <xsvd6wfty5qq5k3c5rzhuyclef5fy2e2lc4fgwo2sa56qchjeh@ooeq4mtxqncl>
Date: Mon, 10 Feb 2025 18:13:07 +0100
From: Thorsten Scherer <T.Scherer@...elmann.de>
To: Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, Woojung Huh <woojung.huh@...rochip.com>,
UNGLinuxDriver@...rochip.com, Andrew Lunn <andrew@...n.ch>,
Vladimir Oltean <olteanv@...il.com>, "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Simon Horman <horms@...nel.org>,
Rasmus Villemoes <linux@...musvillemoes.dk>, kernel@...gutronix.de
Subject: Re: [PATCH] net: dsa: microchip: KSZ8563 register regmap alignment
to 32 bit boundaries
Hello,
On Fri, Feb 07, 2025 at 05:00:37PM -0800, Jakub Kicinski wrote:
> On Thu, 6 Feb 2025 13:22:45 +0100 Thorsten Scherer wrote:
> > - regmap_reg_range(0x1122, 0x1127),
> > - regmap_reg_range(0x112a, 0x112b),
> > - regmap_reg_range(0x1136, 0x1139),
> > - regmap_reg_range(0x113e, 0x113f),
> > + regmap_reg_range(0x1120, 0x112b),
> > + regmap_reg_range(0x1134, 0x113b),
> > + regmap_reg_range(0x113c, 0x113f),
>
> can these two not be merged?
I am not 100% sure. But atm I don't see a reason why they could not.
> > regmap_reg_range(0x1400, 0x1401),
> > regmap_reg_range(0x1403, 0x1403),
> > regmap_reg_range(0x1410, 0x1417),
> > @@ -747,10 +746,9 @@ static const struct regmap_range ksz8563_valid_regs[] = {
> > regmap_reg_range(0x2030, 0x2030),
> > regmap_reg_range(0x2100, 0x2111),
> > regmap_reg_range(0x211a, 0x211d),
> > - regmap_reg_range(0x2122, 0x2127),
> > - regmap_reg_range(0x212a, 0x212b),
> > - regmap_reg_range(0x2136, 0x2139),
> > - regmap_reg_range(0x213e, 0x213f),
> > + regmap_reg_range(0x2120, 0x212b),
> > + regmap_reg_range(0x2134, 0x213b),
> > + regmap_reg_range(0x213c, 0x213f),
>
> and these?
Dito.
Will send a v2 as soon as I can get my hands on the test board again
(next few days).
> --
> pw-bot: cr
Best regards
Thorsten
Powered by blists - more mailing lists