linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG: devm_regulator_get returns EPROBE_DEFER (5.3-rc5..next-20190822) for bpi-r2/mt7623/mt7530
@ 2019-08-22 19:23 Frank Wunderlich
  2019-08-22 19:30 ` Mark Brown
  0 siblings, 1 reply; 8+ messages in thread
From: Frank Wunderlich @ 2019-08-22 19:23 UTC (permalink / raw)
  To: Liam Girdwood
  Cc: Mark Brown, linux-kernel, linux-mediatek, "René van Dorst"

Hi,

i've encountered a bug in regulator between 5.3-rc5 and next-20190822

i build for bananapi-r2/mt7623 using this branch (includes next-patches):

https://github.com/vDorst/linux-1/blob/c34582d96520566c45068b92e080620458ffc1ff/arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts#L166

and noticed that switch does not came up

priv->core_pwr = devm_regulator_get(&mdiodev->dev, "core"); returns 517

located here:
https://github.com/vDorst/linux-1/blob/c34582d96520566c45068b92e080620458ffc1ff/drivers/net/dsa/mt7530.c#L1590

#define EPROBE_DEFER 517/* Driver requests probe retry */

https://elixir.bootlin.com/linux/latest/source/drivers/regulator/core.c#L1726

seems of_find_regulator_by_node(node); is failing here, but i see the dts-node (mt6323_vpa_reg: buck_vpa) in /sys/firmware/devicetree/...

tried without next-patches and switch came up including dsa-ports.

i found no commit yet which breaks the regulator-setup

any idea about this?

regards Frank

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-08-27 19:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-22 19:23 BUG: devm_regulator_get returns EPROBE_DEFER (5.3-rc5..next-20190822) for bpi-r2/mt7623/mt7530 Frank Wunderlich
2019-08-22 19:30 ` Mark Brown
2019-08-22 20:28   ` Aw: " Frank Wunderlich
2019-08-23 10:04     ` Mark Brown
2019-08-23 12:00       ` Aw: " Frank Wunderlich
2019-08-23 14:43         ` Matthias Brugger
2019-08-23 15:07           ` Frank Wunderlich
2019-08-27 19:34         ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).