Use correct LDO5 control registers for PCA9450
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | dt-bindings: regulator: pca9450: Document new usage of sd-vsel-gpiosDocumentation/ | +17 | 4 replies | |
| 2/6 | regulator: pca9450: Fix enable register for LDO5drivers/ | +2 | 1 reply | |
| 3/6 | Revert "regulator: pca9450: Add SD_VSEL GPIO for LDO5"drivers/ | +0 | 3 replies | |
| 4/6 | regulator: Add operation to let drivers select vsel registerdrivers/ include/ | +19 | 3 replies | |
| 5/6 | regulator: pca9450: Fix control register for LDO5drivers/ | +41 | 0 replies | |
| 6/6 | arm64: dts: imx8mm-kontron: Add support for reading SD_VSEL signalarch/ arch/ arch/ +1 more | +8 | 11 replies |
Reviews trailers per patch
1 of 6 patches has a Reviewed-by or Acked-by.
| Patch | Marek Vasut |
|---|---|
| 1/6 | |
| 2/6 | R-b |
| 3/6 | |
| 4/6 | |
| 5/6 | |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/6] Use correct LDO5 control registers for PCA9450
From: Frieder Schrempf <[email protected]>
This patchset fixes the control of the LDO5 regulator by providing an option for letting the driver know which of the two possible control registers is currently in use by the hardware.
It also fixes the enable register for LDO5 to use PCA9450_REG_LDO5CTRL_L as specified by the datasheet.
The last patch makes use of the fix by adjusting the devicetree for the Kontron i.MX8MM boards.
In Linux this currently doesn't fix any functional issues, but in U-Boot similar changes are needed in order to fix SD card access. See the following thread for more information:
https://lists.denx.de/pipermail/u-boot/2023-January/506103.html
Frieder Schrempf (6):
dt-bindings: regulator: pca9450: Document new usage of sd-vsel-gpios
regulator: pca9450: Fix enable register for LDO5
Revert "regulator: pca9450: Add SD_VSEL GPIO for LDO5"
regulator: Add operation to let drivers select vsel register
regulator: pca9450: Fix control register for LDO5
arm64: dts: imx8mm-kontron: Add support for reading SD_VSEL signal
.../regulator/nxp,pca9450-regulator.yaml | 23 ++++++--- .../dts/freescale/imx8mm-kontron-bl-osm-s.dts | 6 +-- .../boot/dts/freescale/imx8mm-kontron-bl.dts | 6 +-- .../dts/freescale/imx8mm-kontron-osm-s.dtsi | 1 + .../boot/dts/freescale/imx8mm-kontron-sl.dtsi | 1 + drivers/regulator/helpers.c | 16 ++++++- drivers/regulator/pca9450-regulator.c | 47 ++++++++++++++----- include/linux/regulator/driver.h | 5 ++ 8 files changed, 79 insertions(+), 26 deletions(-)
Signature · 1 line
2.39.1