regulator updates for v6.11
The following changes since commit f2661062f16b2de5d7b6a5c42a9a5c96326b8454:
Linux 6.10-rc5 (2024-06-23 17:08:54 -0400)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v6.11
for you to fetch changes up to ef0b29e744965e8abc14260503a559366219035c:
regulator: dt-bindings: pca9450: Make interrupt optional (2024-07-08 12:50:21 +0100)
----------------------------------------------------------------
regulator: Updates for v6.11
This s a very quiet release for the regulator API, we have a few new devices (most of which are just ID updates) and one new fairly specialist core feature for use in interrupt context.
- An API allowing lockless enable/disable for regulators acquired in exclusive mode, for use in interrupt contexts.
- A rewrite of the MedaTek DVFSRC regulator driver which apparently never worked.
- Support for Mediaktek MT6312, Qualcomm QCA6390 and WCN7850, Renesas RZ/G2L USB VBUS regulator and ST Microelectronics STM32MP13.
----------------------------------------------------------------
Alina Yu (3):
regulator: rtq2208: Fix LDO to be compatible with both fixed and adjustable vout
regulator: rtq2208: Add fixed LDO VOUT property and check that matches the constraints
regulator: dt-bindings: rtq2208: Add specified fixed LDO VOUT property
Andreas Kemnade (2):
dt-bindings: regulator: twl-regulator: convert to yaml
dt-bindings: mfd: twl: Fix example
AngeloGioacchino Del Regno (3):
regulator: Remove mtk-dvfsrc-regulator.c
regulator: Add refactored mtk-dvfsrc-regulator driver
regulator: Add bindings for MediaTek DVFSRC Regulators
Bartosz Golaszewski (2):
regulator: dt-bindings: describe the PMU module of the QCA6390 package
regulator: dt-bindings: describe the PMU module of the WCN7850 package
Biju Das (2):
regulator: core: Add helper for allow HW access to enable/disable regulator
regulator: Add Renesas RZ/G2L USB VBUS regulator driver
Chen-Yu Tsai (1):
regulator: dt-bindings: mt6315: Document MT6319 PMIC
Christophe JAILLET (1):
regulator: consumer: Reorder fields in 'struct regulator_bulk_data'
Dr. David Alan Gilbert (1):
regulator: max77503: remove unused struct 'max77503_dev'
Frieder Schrempf (2):
regulator: pca9450: Make IRQ optional
regulator: dt-bindings: pca9450: Make interrupt optional
Javier Carrasco (2):
regulator: da9121: Constify struct regmap_config
regulator: max77857: Constify struct regmap_config
Jeff Johnson (1):
regulator: add missing MODULE_DESCRIPTION() macro
Mark Brown (5):
ARM: st: add new compatible for PWR regulators on Fix issue when using devm_of_regulator_put_matches and
regulator: Merge up fixes
regulator: Merge up v6.10-rc4
Add USB VBUS regulator for RZ/G2L
Patrick Delaunay (2):
regulator: stm32-pwr: add support of STM32MP13
regulator: st,stm32mp1-pwr-reg: add compatible for STM32MP13
Robert Marko (1):
regulator: userspace-consumer: quiet device deferral
Stanislav Jakubek (2):
dt-bindings: regulator: ti,tps65132: document VIN supply
dt-bindings: regulator: sprd,sc2731-regulator: convert to YAML
Uwe Kleine-König (1):
regulator: Drop explicit initialization of struct i2c_device_id::driver_data to 0
Documentation/devicetree/bindings/mfd/ti,twl.yaml | 167 +++++++++++++- .../mediatek,mt6873-dvfsrc-regulator.yaml | 43 ++++ .../bindings/regulator/mt6315-regulator.yaml | 6 +- .../bindings/regulator/nxp,pca9450-regulator.yaml | 1 - .../bindings/regulator/qcom,qca6390-pmu.yaml | 185 +++++++++++++++ .../bindings/regulator/richtek,rtq2208.yaml | 11 +- .../bindings/regulator/sprd,sc2731-regulator.txt | 43 ---- .../bindings/regulator/sprd,sc2731-regulator.yaml | 67 ++++++ .../bindings/regulator/st,stm32mp1-pwr-reg.yaml | 7 +- .../devicetree/bindings/regulator/ti,tps65132.yaml | 3 + .../bindings/regulator/twl-regulator.txt | 80 ------- Documentation/power/regulator/consumer.rst | 6 + drivers/regulator/Kconfig | 9 + drivers/regulator/Makefile | 1 + drivers/regulator/core.c | 28 +++ drivers/regulator/da9121-regulator.c | 7 +- drivers/regulator/da9210-regulator.c | 4 +- drivers/regulator/lp3971.c | 2 +- drivers/regulator/lp3972.c | 2 +- drivers/regulator/lp8755.c | 2 +- drivers/regulator/max1586.c | 2 +- drivers/regulator/max20411-regulator.c | 5 +- drivers/regulator/max77503-regulator.c | 8 - drivers/regulator/max77857-regulator.c | 2 +- drivers/regulator/max8649.c | 2 +- drivers/regulator/max8893.c | 4 +- drivers/regulator/max8952.c | 4 +- drivers/regulator/mcp16502.c | 2 +- drivers/regulator/mt6311-regulator.c | 4 +- drivers/regulator/mtk-dvfsrc-regulator.c | 248 ++++++++++----------- drivers/regulator/pca9450-regulator.c | 41 ++-- drivers/regulator/pf8x00-regulator.c | 8 +- drivers/regulator/pv88060-regulator.c | 4 +- drivers/regulator/pv88090-regulator.c | 4 +- drivers/regulator/renesas-usb-vbus-regulator.c | 74 ++++++ drivers/regulator/rt4831-regulator.c | 1 + drivers/regulator/rtq2208-regulator.c | 44 +++- drivers/regulator/slg51000-regulator.c | 4 +- drivers/regulator/stm32-pwr.c | 1 + drivers/regulator/sy8106a-regulator.c | 4 +- drivers/regulator/tps6286x-regulator.c | 11 +- drivers/regulator/tps6287x-regulator.c | 10 +- drivers/regulator/userspace-consumer.c | 6 +- include/linux/regulator/consumer.h | 13 +- 44 files changed, 833 insertions(+), 347 deletions(-) create mode 100644 Documentation/devicetree/bindings/regulator/mediatek,mt6873-dvfsrc-regulator.yaml create mode 100644 Documentation/devicetree/bindings/regulator/qcom,qca6390-pmu.yaml delete mode 100644 Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.txt create mode 100644 Documentation/devicetree/bindings/regulator/sprd,sc2731-regulator.yaml delete mode 100644 Documentation/devicetree/bindings/regulator/twl-regulator.txt create mode 100644 drivers/regulator/renesas-usb-vbus-regulator.c
Quoted 3 lines · Mark Brown
- Support for Mediaktek MT6312, Qualcomm QCA6390 and WCN7850, Renesas RZ/G2L USB VBUS regulator and ST Microelectronics STM32MP13.
Grr. My arm64 testing shows that this is
default ARCH_RZG2L
and turns on automatically, which might make sense if ARCH_RZG2L was some kind of "I'm building for this platform".
But it's a pretty generic thing that turns on very easily by a lot of random things, and ARCH_RZG2L a 'bool' anyway, so this thing that is a tristate now effectively defaults to be built-in.
Please - new support should NOT DEFAULT TO ON. Not even when you think "it makes sense". Not unless it's something that was on previously, and was split out, and is now available under a separate config option name.
IOW - if things worked without it before, it should damn well not magically turn on just because somebody did a "make oldconfig".
Linus
Quoted 11 lines · Linus Torvalds
Quoted 2 lines · Mark Brown
- Support for Mediaktek MT6312, Qualcomm QCA6390 and WCN7850, Renesas RZ/G2L USB VBUS regulator and ST Microelectronics STM32MP13.
Grr. My arm64 testing shows that this is
default
ARCH_RZG2Land turns on automatically, which might make sense if
ARCH_RZG2Lwas some kind of "I'm building for this platform".
Yes, I've actually got a fix queued for this already which came in before you pulled that which moves the default away from the arch setting.
The pull request you sent on Mon, 15 Jul 2024 15:14:59 +0100:
The pull request you sent on Mon, 15 Jul 2024 15:14:59 +0100:
Quoted 1 line
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git tags/regulator-v6.11
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/584aeccc0b717f447505cc738d8c2f292d9d1a66
Thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/prtracker.html