Re: [PATCH net-next 2/3] dt-bindings: net: micrel: Configure latency values and timestamping check for LAN8814 phy

From
Richard Cochran <richardcochran@gmail.com>
Date
2022-03-13 02:47:05
Also in
linux-devicetree, lkml
Reply to
Andrew Lunn, 2022-03-12
On Sat, Mar 12, 2022 at 09:04:31PM +0100, Andrew Lunn wrote:
Do these get passed to the kernel so the hardware can act on them, or
are they used purely in userspace by ptp4l?
user space only.
 
If they has passed to the kernel, could we provide a getter as well as
a setter, so the defaults hard coded in the driver can be read back?
Any hard coded defaults in the kernel are a nuisance.

I mean, do you want user space to say,

   "okay, so I know the correct value is X.  But the drivers may offer
   random values according to kernel version.  So, I'll read out the
   driver value Y, and then apply X-Y."

Insanity.

(not to mention that this fails for older kernels without the proposed
interface)

Thanks,
Richard
Thread (53 messages) 53 messages, 12 authors, last reply 2022-03-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help