[RFC PATCH v3 1/6] dpll: Add DPLL framework base functions

Jiri Pirko jiri at resnulli.us
Wed Oct 12 23:56:20 PDT 2022


Wed, Oct 12, 2022 at 10:15:23PM CEST, vfedorenko at novek.ru wrote:
>On 12.10.2022 11:47, Jiri Pirko wrote:
>> Mon, Oct 10, 2022 at 03:17:59AM CEST, vfedorenko at novek.ru wrote:
>> > From: Vadim Fedorenko <vadfed at fb.com>
>> > 
>> > DPLL framework is used to represent and configure DPLL devices
>> > in systems. Each device that has DPLL and can configure sources
>> > and outputs can use this framework.
>> > 
>> > Signed-off-by: Vadim Fedorenko <vadfed at fb.com>
>> > Co-developed-by: Jakub Kicinski <kuba at kernel.org>
>> > Co-developed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski at intel.com>
>> 
>> 
>> [...]
>> 
>> 
>> > +struct dpll_device *dpll_device_alloc(struct dpll_device_ops *ops, const char *name,
>> > +				      int sources_count, int outputs_count, void *priv)
>> 
>> Having constant array of "pins" would not work for SyncE. For example in
>> mlxsw driver, netdevs can appear and disappear within the device
>> lifetime (for example port splits, linecard provision). We need to
>> register/unregister pins dynamically.
>> 
>Yes, I agree, and we are working to implement pin object with dynamic
>attach/detach or reg/unreg functions.

Awesome. Looking forward to the next patchset version!



More information about the linux-arm-kernel mailing list