diff options
author | Guenter Roeck <linux@roeck-us.net> | 2025-03-22 07:26:02 -0700 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2025-04-23 07:18:27 -0700 |
commit | 0b3c04c81804197bf0025f3281e4463152f04bf1 (patch) | |
tree | fe3a06c54835441dba74df45694d3f0fc598ae67 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 629cf8f6c23a987201558ffcca5590a60ae3959d (diff) |
hwmon: (pmbus) Do not set regulators_node for single-channel chips
Single-channel regulators do not need and should not have a "regulators"
node. We can not entirely remove it due to existing bindings. To solve the
problem for new drivers, provide additional macros PMBUS_REGULATOR_ONE_NODE
and PMBUS_REGULATOR_STEP_ONE_NODE and convert existing drivers to use those
macros. The exception is the ir38064 driver because its devicetree files
and its description do not require or use the nested regulators node.
Modify PMBUS_REGULATOR_STEP_ONE and PMBUS_REGULATOR_ONE to set the
regulators_node pointer to NULL.
Cc: Cedricjustine.Encarnacion@analog.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250322142602.560042-1-linux@roeck-us.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions