[RFC PATCH v3 1/6] dpll: Add DPLL framework base functions
Vadim Fedorenko
vfedorenko at novek.ru
Wed Oct 12 13:15:23 PDT 2022
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.
More information about the linux-arm-kernel
mailing list