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

Jiri Pirko jiri at resnulli.us
Wed Oct 12 03:47:22 PDT 2022


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.

[...]




More information about the linux-arm-kernel mailing list