[PATCH 3/3] arm64: dts: rockchip: Add Radxa E24C
Chukun Pan
amadeus at jmu.edu.cn
Tue Jul 29 06:20:25 PDT 2025
Hi,
> Both avddl_1v1 and avddh_3v3 are controlled by the same gpio, I do not
> remember if using two regulators with same gpios is supported, can only
> remember it being an issue in the past, so I opted to just describe it
> as a single regulator and gave it a new name and added labels for the
> name used in schematic.
>
> Would calling it vdd_8367 (after gpio_8367_en) be better or do you have
> any other suggestion on how to describe these?
Would it be better to just call it avddh_3v3 and add a comment?
This makes it easier to find in the schematics and match phy-supply.
> See above, I had issues using the reset-gpios of the switch, because the
> switch was probed twice, once deferred by gmac, and by the second probe
> failed with -BUSY because of the reset-gpios still being claimd by the
> first probe.
>
> I can change to describe the reset pin in the switch, however that will
> likely mean Ethernet is unusable until the issue in devres/gpiolib is
> tracked down and fixed by someone.
I don't think it's a devres/gpiolib issue.
It looks like these two resets are competing:
priv->reset_ctl = devm_reset_control_get_optional(dev, NULL);
priv->reset = devm_gpiod_get_optional(dev, "reset", GPIOD_OUT_LOW);
reset-gpios works if reset-names is specified:
- priv->reset_ctl = devm_reset_control_get_optional(dev, NULL);
+ priv->reset_ctl = devm_reset_control_get_optional(dev, "switch");
Or just remove the reset controller, I'm not sure if it's really needed:
- priv->reset_ctl = devm_reset_control_get_optional(dev, NULL);
- if (IS_ERR(priv->reset_ctl))
- return dev_err_cast_probe(dev, priv->reset_ctl,
- "failed to get reset control\n");
Thanks,
Chukun
--
2.25.1
More information about the linux-arm-kernel
mailing list