lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240113224628.377993-1-martin.blumenstingl@googlemail.com>
Date: Sat, 13 Jan 2024 23:46:25 +0100
From: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
To: lgirdwood@...il.com,
	broonie@...nel.org,
	Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
	linux-pwm@...r.kernel.org,
	linux-amlogic@...ts.infradead.org
Cc: linux-kernel@...r.kernel.org,
	Heiner Kallweit <hkallweit1@...il.com>,
	Dmitry Rokosov <ddrokosov@...rdevices.ru>,
	Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Subject: [RFC PATCH v2 0/3] regulator: pwm-regulator: Fixes for disabled PWMs at boot

This is the second version of an attempt to fix booting mainline Linux
on Meson8b Odroid-C1.
This series is an update to an RFC patch that I sent some time ago [0]
and incorporates a lot of the feedback from that v1.

The main changes since v1 [0] are:
- new patch checking the voltage limits in pwm_regulator_get_voltage()
- updated calculation for disabled regulators in+
  pwm_regulator_get_voltage() utilizing above limit checking
- new pwm_regulator_init_boot_on() to preserve the output voltage when
  pwm_regulator_enable() later enables the PWM output without and
  preceding pwm_regulator_set_voltage().


[0] https://lore.kernel.org/linux-pwm/20231221211222.1380658-1-martin.blumenstingl@googlemail.com/


Martin Blumenstingl (3):
  regulator: pwm-regulator: Add validity checks in continuous
    .get_voltage
  regulator: pwm-regulator: Calculate the output voltage for disabled
    PWMs
  regulator: pwm-regulator: Manage boot-on with disabled PWM channels

 drivers/regulator/pwm-regulator.c | 43 +++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

-- 
2.43.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ