diff options
| author | Andre Przywara <[email protected]> | 2022-07-15 16:52:14 +0100 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2023-10-22 23:40:47 +0100 |
| commit | ae79c1d01f735b37a6aba58369d9ffdbd33e4e5b (patch) | |
| tree | 7616b247b291bba9fc075b3abc422fe1bcb613da /configs/Sinovoip_BPI_M3_defconfig | |
| parent | a14c250625570bb545d06c0e5b21445eb1b15716 (diff) | |
sunxi: remove CONFIG_SATAPWR
The CONFIG_SATAPWR Kconfig symbol was used to point to a GPIO that
enables the power for a SATA harddisk.
In the DT this is described with the target-supply property in the AHCI
DT node, pointing to a (GPIO controlled) regulator. Since we need SATA
only in U-Boot proper, and use a DM driver for AHCI there, we should use
the DT instead of hardcoding this.
Add code to the sunxi AHCI driver to check the DT for that regulator and
enable it, at probe time. Then drop the current code from board.c, which
was doing that job before.
This allows us to remove the SATAPWR Kconfig definition and the
respective values from the defconfigs.
We also select the generic fixed regulator driver, which handles those
GPIO controlled regulators.
Please note that the OrangePi Plus is a bit special here, it's a H3
board without native SATA, but with a USB-to-SATA bridge. The DT models
the SATA power via a VBUS supply regulator, which we don't parse yet in
the USB PHY driver. Use the hardcoded CONFIG_USB3_VBUS_PIN for that
board meanwhile.
Signed-off-by: Andre Przywara <[email protected]>
Reviewed-by: Sam Edwards <[email protected]>
Reviewed-by: Samuel Holland <[email protected]>
Diffstat (limited to 'configs/Sinovoip_BPI_M3_defconfig')
| -rw-r--r-- | configs/Sinovoip_BPI_M3_defconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/configs/Sinovoip_BPI_M3_defconfig b/configs/Sinovoip_BPI_M3_defconfig index 5642e52ec50..ad41dbd26a1 100644 --- a/configs/Sinovoip_BPI_M3_defconfig +++ b/configs/Sinovoip_BPI_M3_defconfig @@ -12,7 +12,6 @@ CONFIG_USB0_VBUS_PIN="AXP0-VBUS-ENABLE" CONFIG_USB0_ID_DET="PH11" CONFIG_USB1_VBUS_PIN="PD24" CONFIG_AXP_GPIO=y -CONFIG_SATAPWR="PD25" # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_CONSOLE_MUX=y CONFIG_PHY_REALTEK=y |
