Re: [RFC PATCH v8 01/10] dpll: documentation on DPLL subsystem interface

From: Jiri Pirko
Date: Thu Jun 15 2023 - 06:19:03 EST


Wed, Jun 14, 2023 at 09:23:48PM CEST, kuba@xxxxxxxxxx wrote:
>On Wed, 14 Jun 2023 12:15:14 -0700 Jakub Kicinski wrote:
>> On Wed, 14 Jun 2023 12:21:29 +0000 Kubalewski, Arkadiusz wrote:
>> > Surely, we can skip this discussion and split the nest attr into something like:
>> > - PIN_A_PIN_PARENT_DEVICE,
>> > - PIN_A_PIN_PARENT_PIN.
>>
>> Yup, exactly. Should a fairly change code wise, if I'm looking right.
> ^ small

Yeah, that is what we had originally. This just pushes out the
different attr selection from the nest one level up to the actualy
nesting attribute.

One downside of this is you will have 2 arrays of parent objects,
one per parent type. Current code neatly groups them into a single array.

I guess this is a matter of personal preference, I'm fine either way.