> 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 > > In addition to Vladimirs NACK, you can also take a look at how > mv88e6xxx exports registers and tables using devlink regions. ack, right. Anyway in my case (mt7530-mmio) regmap is enough to dump register values. Thanks for the pointer. Regards, Lorenzo > > Andrew > > --- > pw-bot: cr