summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2024-01-14 01:46:27 +0300
committerMark Brown <broonie@kernel.org>2024-01-22 18:31:22 +0300
commit6a7d11efd6915d80a025f2a0be4ae09d797b91ec (patch)
treecdce0f27460b862f76dec269aa8e5cc71746d905 /tools/perf/scripts/python/export-to-postgresql.py
parentc92688cac239794e4a1d976afa5203a4d3a2ac0e (diff)
downloadlinux-6a7d11efd6915d80a025f2a0be4ae09d797b91ec.tar.xz
regulator: pwm-regulator: Calculate the output voltage for disabled PWMs
If a PWM output is disabled then it's voltage has to be calculated based on a zero duty cycle (for normal polarity) or duty cycle being equal to the PWM period (for inverted polarity). Add support for this to pwm_regulator_get_voltage(). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Link: https://msgid.link/r/20240113224628.377993-3-martin.blumenstingl@googlemail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions