[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200711200111.GU1014141@lunn.ch>
Date: Sat, 11 Jul 2020 22:01:11 +0200
From: Andrew Lunn <andrew@...n.ch>
To: min.li.xe@...esas.com
Cc: richardcochran@...il.com, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net-next] ptp: add debugfs support for IDT family of
timing devices
On Fri, Jul 10, 2020 at 11:41:25AM -0400, min.li.xe@...esas.com wrote:
> From: Min Li <min.li.xe@...esas.com>
>
> This patch is to add debugfs support for ptp_clockmatrix and ptp_idt82p33.
> It will create a debugfs directory called idtptp{x} and x is the ptp index.
> Three inerfaces are present, which are cmd, help and regs. help is read
> only and will display a brief help message. regs is read only amd will show
> all register values.
You can get register dumps for free in debugfs if you use regmap. And
i2c devices are well supported by regmap.
Andrew
Powered by blists - more mailing lists