]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
regulator: max20086: Change enable gpio to optional
authorJoão Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Sun, 20 Apr 2025 18:28:02 +0000 (15:28 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:11:14 +0000 (11:11 +0100)
commitb96ba2d1fb6c6da37f7ae3d9636226a2b4756bf2
treece6885c0ae3e0a0127edc2434618292d6913864a
parent028bb7b658114f9382f0b5d07b355cb3f25c23e5
regulator: max20086: Change enable gpio to optional

commit e8ac7336dd62f0443a675ed80b17f0f0e6846e20 upstream.

The enable pin can be configured as always enabled by the hardware. Make
the enable gpio request optional so the driver doesn't fail to probe
when `enable-gpios` property is not present in the device tree.

Cc: stable@vger.kernel.org
Fixes: bfff546aae50 ("regulator: Add MAX20086-MAX20089 driver")
Signed-off-by: João Paulo Gonçalves <jpaulo.silvagoncalves@gmail.com>
Link: https://patch.msgid.link/20250420-fix-max20086-v1-2-8cc9ee0d5a08@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/regulator/max20086-regulator.c