diff options
author | Artur Weber <aweber.kernel@gmail.com> | 2025-05-15 16:16:33 +0200 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2025-05-22 10:57:26 +0100 |
commit | 75dc12b4450269821fca4c8634f5185d28cf2117 (patch) | |
tree | 5cadfa3fda1a71b0e2b0a1117aac73fe6529af56 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 37512643e1f889549e4f9632d6bccef6804cb776 (diff) |
regulator: bcm590xx: Store regulator descriptions in table
Instead of filling in the regulator description programatically,
store the data in a struct. This will make it a bit nicer to
introduce support for other BCM590xx chips besides the BCM59056.
To do this, add a new struct type, bcm590xx_reg_data, to store
all of the necessary information. Drop the old IS_LDO, IS_GPLDO...
macros in favor of the "type" field in this struct. Adapt the
old bcm590xx_reg struct to the new types.
Signed-off-by: Artur Weber <aweber.kernel@gmail.com>
Reviewed-by: Stanislav Jakubek <stano.jakubek@gmail.com>
Reviewed-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20250515-bcm59054-v9-6-14ba0ea2ea5b@gmail.com
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions