diff options
author | Mark Brown <broonie@kernel.org> | 2024-09-30 22:05:51 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-30 22:05:51 +0100 |
commit | dc16594d9967773ca891b3d9111f152e3c99d1cf (patch) | |
tree | 809f757ed3c9fd1b8fa77a42ac6c95bd85e8337e /tools/perf/scripts/python/stat-cpi.py | |
parent | 18be43aca2c0ec475037923a8086d0a29fcc9d16 (diff) | |
parent | 36ec3f437227470568e5f460997f367f5446a34d (diff) |
Add of_regulator_get_optional() and Fix MTK Power
Merge series from Chen-Yu Tsai <wenst@chromium.org>:
At ELCE, Sebastian told me about his recent work on adding regulator
supply support to the Rockchip power domain driver [2], how the MediaTek
driver has been using the existing devm_regulator_get() API and
reassigning different device nodes to the device doing the lookup, and
how the new of_regulator_get_optional() is the proper fit for this.
Patch 1 adds a new of_regulator_get_optional() function to look up
regulator supplies using device tree nodes.
Patch 2 adds a devres version of the aforementioned function at
Sebastian's request for the two power domain drivers.
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions