The kernel on my custom board gives the following powerdetect output:
[ 0.660268] tegra: failed to map regulator to power detect cell pwrdet_pex_ctl(-517) [ 0.660329] tegra: failed to map regulator to power detect cell pwrdet_sdmmc3(-517) [ 0.660456] tegra: failed regulators mapping - io power detection is left always on
This makes sense, since we do not power on the PEX_CTL and SDMMC3 blocks in our design, but I’m not sure how to fix this. powerdetect.c looks for regulators supplying pwrdet_pex_ctl/pwrdet_sdmmc3, which I do not have, and the code is not board specific, but soc specific.
I see that I can turn off powerdetect, but I suspect that is not what I want…