mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
dpll: zl3073x: Add support for mux pin type
Add parsing for the "mux" string in the 'connection-type' pin property mapping it to DPLL_PIN_TYPE_MUX. Recognizing this type in the driver allows these pins to be taken as parent pins for pin-on-pin pins coming from different modules (e.g. network drivers). Reviewed-by: Aleksandr Loktionov <aleksandr.loktionov@intel.com> Signed-off-by: Ivan Vecera <ivecera@redhat.com> Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com> Link: https://patch.msgid.link/20260203174002.705176-6-ivecera@redhat.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
This commit is contained in:
parent
711696b3e1
commit
fdad05ed4e
1 changed files with 2 additions and 0 deletions
|
|
@ -249,6 +249,8 @@ struct zl3073x_pin_props *zl3073x_pin_props_get(struct zl3073x_dev *zldev,
|
|||
props->dpll_props.type = DPLL_PIN_TYPE_INT_OSCILLATOR;
|
||||
else if (!strcmp(type, "synce"))
|
||||
props->dpll_props.type = DPLL_PIN_TYPE_SYNCE_ETH_PORT;
|
||||
else if (!strcmp(type, "mux"))
|
||||
props->dpll_props.type = DPLL_PIN_TYPE_MUX;
|
||||
else
|
||||
dev_warn(zldev->dev,
|
||||
"Unknown or unsupported pin type '%s'\n",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue