lkml.org 
[lkml]   [2021]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [PATCH net-next v2 2/2] misc: Add Renesas Synchronization Management Unit (SMU) support
Date
> 
> Why do you need 4 files here? Can't you do this all in one? There's no need
> for such a small driver to be split up, that just causes added complexity and
> makes things harder to review and understand.
>

We will add more functions and boards down the road. So the abstraction here is for future consideration

> > include/uapi/linux/rsmu.h | 64 +++++++++++
>
> Where are you documenting these new custom ioctls? And why do you even
> need them?
>

Other than comments in the header itself, no additional documenting. Do you know if Linux has specific place to document custom ioctls?
Renesas software needs to access these ioctls to provide GNSS assisted partial timing support. More specifically, RSMU_GET_STATE would tell us if a specific DPLL
is locked to GNSS and RSMU_GET_FFO would tell us how much of frequency offset for the DPLL to lock to the GNSS.

Thanks

Min

\
 
 \ /
  Last update: 2021-04-07 21:44    [W:0.044 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site