Mon, May 08, 2023 at 08:50:09AM CEST, pabeni@redhat.com wrote:
On Sun, 2023-05-07 at 09:58 +0200, Jiri Pirko wrote:
quoted
Fri, May 05, 2023 at 05:35:31PM CEST, kuba@kernel.org wrote:
quoted
On Fri, 5 May 2023 12:41:11 +0200 Jiri Pirko wrote:
quoted
Sound perfectly fine, if it's a front panel label, let's call
the attribute DPLL_A_PIN_FRONT_PANEL_LABEL. If the pin is not
brought out to the front panel it will not have this attr.
For other type of labels we should have different attributes.
Hmm, that would kind of embed the pin type into attr which feels wrong.
Looking at the above from a different angle, the
DPLL_A_PIN_FRONT_PANEL_LABEL attribute will be available only for
DPLL_PIN_TYPE_EXT type pins, which looks legit to me - possibly
renaming DPLL_A_PIN_FRONT_PANEL_LABEL as DPLL_A_PIN_EXT_LABEL.
Well sure, in case there is no "label" attr for the rest of the types.
Which I believe it is, for the ice implementation in this patchset.
Otherwise, there is no way to distinguish between the pins.
To have multiple attrs for label for multiple pin types does not make
any sense to me, that was my point.
Cheer,
Paolo