[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y0e2lFnpVuC0HisN@nanopsycho>
Date: Thu, 13 Oct 2022 08:56:20 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Vadim Fedorenko <vfedorenko@...ek.ru>
Cc: Jakub Kicinski <kuba@...nel.org>,
Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.com>,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-clk@...r.kernel.org, Vadim Fedorenko <vadfed@...com>
Subject: Re: [RFC PATCH v3 1/6] dpll: Add DPLL framework base functions
Wed, Oct 12, 2022 at 10:15:23PM CEST, vfedorenko@...ek.ru wrote:
>On 12.10.2022 11:47, Jiri Pirko wrote:
>> Mon, Oct 10, 2022 at 03:17:59AM CEST, vfedorenko@...ek.ru wrote:
>> > From: Vadim Fedorenko <vadfed@...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@...com>
>> > Co-developed-by: Jakub Kicinski <kuba@...nel.org>
>> > Co-developed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@...el.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!
Powered by blists - more mailing lists