diff options
author | Matti Vaittinen <mazziesaccount@gmail.com> | 2024-05-16 11:55:37 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-05-16 15:36:42 +0300 |
commit | cb3a0f84ae0caa5eabf40457485473edc1e2d3f0 (patch) | |
tree | 4b903523bb8780a442bb6e603e882ff224f7c365 /include/linux/regulator | |
parent | 0f9f7c63c415e287cd57b5c98be61eb320dedcfc (diff) | |
download | linux-cb3a0f84ae0caa5eabf40457485473edc1e2d3f0.tar.xz |
regulator: rohm-regulator: warn if unsupported voltage is set
A few of the ROHM PMICs allow setting low-power state specific voltages
for regulators. These voltages are then taken in use (by the hardware)
when the PMIC state is changed.
The voltages for these states can be given via device-tree. If
unsupported voltage has been given, the users have only seen print:
"driver callback failed to parse DT for regulator <name>". This does
help to pinpoint the problem to some extent, but there may be several
properties in device-tree so it should help if we can be a bit more
specific.
Print the voltage value and the run-state property if voltage can not be
supported.
Signed-off-by: Matti Vaittinen <mazziesaccount@gmail.com>
Link: https://msgid.link/r/0937411855967cbefd9ff2d6045a52ca26712c4a.1715848512.git.mazziesaccount@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/regulator')
0 files changed, 0 insertions, 0 deletions