diff options
author | Ahmad Fatoum <a.fatoum@pengutronix.de> | 2022-07-24 21:00:04 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2022-08-11 08:33:41 +0200 |
commit | 324bd9bbe7e8acb94c6dbc1c51dc7065bd508768 (patch) | |
tree | 4b045b9ae0ecd77df9a619ed0dcc1bdd11aae2d1 /.gitattributes | |
parent | d353ffd5c6e6d4cee6eee72726125c965a0814f0 (diff) | |
download | barebox-324bd9bbe7e8acb94c6dbc1c51dc7065bd508768.tar.gz barebox-324bd9bbe7e8acb94c6dbc1c51dc7065bd508768.tar.xz |
regulator: recursively enable/disable regulator dependency tree
Regulators may themself have other regulators supplying them.
The regulators need to be enabled recursively for proper operation.
Linux handles this by allows drivers to provide
struct regulator_desc::supply_name, which will be requested when the
regulator itself is requested and enabled/disabled as necessary.
As no driver yet uses this new member, this should introduce no
functional change.
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Link: https://lore.barebox.org/20220724190006.2160802-4-a.fatoum@pengutronix.de
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions