RFC Hello
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest2 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | Regulator: Core: Add clock-enable to fixed-regulatordrivers/ drivers/ include/ +1 more | +25 | 8 replies | |
| 2/2 | ARM: dts: imx6ull: Add phy-supply to fecarch/ | +12 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC PATCH 0/2] Hello
From: Philippe Schenker <[email protected]>
On our Colibri iMX6ULL board there is a circuit for switching the power supply of the ethernet PHY with the 50MHz RMII clock.
This works quite fine but has one big problem. It is quite slow when switching the supply, so Linux has to wait there. I think this switch is at best represented as a fixed-regulator. In that way I can use "startup-delay-us" to represent slow switching regulator.
But there's no current possibility to enable fixed-regulator with a clock. In this RFC I send a patch after we would be able to add a clock to a fixed-regulator in devicetree and then add the "startup-delay-us" which would solve all my problems relatively elegant.
This works also the other way, if the PHY now needs power the clock is not powered off because regulator depends on it.
Because this would need to change code in regulator core I like to ask for your oppinion first, or if anyone has another idea how I could solve that problem.
Thanks in advance for your feedback!
Philippe
Philippe Schenker (2):
Regulator: Core: Add clock-enable to fixed-regulator
ARM: dts: imx6ull: Add phy-supply to fec
arch/arm/boot/dts/imx6ull-colibri.dtsi | 12 ++++++++++++ drivers/regulator/core.c | 15 +++++++++++++++ drivers/regulator/fixed.c | 6 ++++++ include/linux/regulator/driver.h | 3 +++ include/linux/regulator/fixed.h | 1 + 5 files changed, 37 insertions(+)
Signature · 1 line
2.22.0