[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9ad6b014-11e1-4def-8217-b1fbeac768c3@lunn.ch>
Date: Wed, 29 May 2024 16:41:47 +0200
From: Andrew Lunn <andrew@...n.ch>
To: Lorenzo Bianconi <lorenzo@...nel.org>
Cc: netdev@...r.kernel.org, arinc.unal@...nc9.com, daniel@...rotopia.org,
dqfext@...il.com, sean.wang@...iatek.com, f.fainelli@...il.com,
olteanv@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com,
linux-mediatek@...ts.infradead.org, lorenzo.bianconi83@...il.com,
nbd@....name
Subject: Re: [PATCH net-next] net: dsa: mt7530: Add debugfs support
On Wed, May 29, 2024 at 12:54:37PM +0200, Lorenzo Bianconi wrote:
> Introduce debugfs support for mt7530 dsa switch.
> Add the capability to read or write device registers through debugfs:
>
> $echo 0x7ffc > regidx
> $cat regval
> 0x75300000
>
> Signed-off-by: Lorenzo Bianconi <lorenzo@...nel.org>
In addition to Vladimirs NACK, you can also take a look at how
mv88e6xxx exports registers and tables using devlink regions.
Andrew
---
pw-bot: cr
Powered by blists - more mailing lists