This adds the hdd_{a,b}_power blocks present in the armbian helios64
dts. [1]
Without those powered up, no HDDs will appear (except one connected via
the m.2 slot).
From https://wiki.kobol.io/helios64/sata/#hdd-power:
The power delivery of the HDDs is divided into two group:
HDD Rail A (Max. 3x Drives)
HDD Rail B (Max. 2x Drives)
Helios64 implements a power staggering approach where HDD Rail A will be
powered up first, then few seconds later HDD Rail B will be powered up.
This power control scenario is performed to reduce the inrush current
during disk spin-up.
In practice, this power staggering approach will be included in the
bootloader (not in the kernel), as we might want to boot from a SATA
drive.
From my experiments, if the bootloader doesn't implement the power
staggering, only one HDD will get recognized (probably cause the others
didn't boot due to few power).
Still, it makes sense to expose this block in the device-tree, so the
kernel can ensure both rails are on (and this can be shared with
u-boot).
[1] https://github.com/armbian/build/blob/744ea89a589d62cb6f409baab60fc6664520bc39/patch/kernel/archive/rockchip64-5.14/add-board-helios64.patch
Signed-off-by: Florian Klink <redacted>
---
.../dts/rockchip/rk3399-kobol-helios64.dts | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
Adding the rockchip,system-power-controller property here will use the
rk808 to power off the system.
Signed-off-by: Florian Klink <redacted>
---
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 1 +
1 file changed, 1 insertion(+)
From: Dennis Gilmore <hidden> Date: 2021-10-29 00:08:21
Tested-by: Dennis Gilmore <redacted>
On Thu, Oct 28, 2021 at 11:37 AM Florian Klink [off-list ref] wrote:
quoted hunk
Adding the rockchip,system-power-controller property here will use the
rk808 to power off the system.
Signed-off-by: Florian Klink <redacted>
---
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 1 +
1 file changed, 1 insertion(+)
From: Dennis Gilmore <hidden> Date: 2021-10-29 00:08:50
Tested-by: Dennis Gilmore <redacted>
On Thu, Oct 28, 2021 at 11:37 AM Florian Klink [off-list ref] wrote:
quoted hunk
This adds the hdd_{a,b}_power blocks present in the armbian helios64
dts. [1]
Without those powered up, no HDDs will appear (except one connected via
the m.2 slot).
From https://wiki.kobol.io/helios64/sata/#hdd-power:
quoted
The power delivery of the HDDs is divided into two group:
HDD Rail A (Max. 3x Drives)
HDD Rail B (Max. 2x Drives)
Helios64 implements a power staggering approach where HDD Rail A will be
powered up first, then few seconds later HDD Rail B will be powered up.
This power control scenario is performed to reduce the inrush current
during disk spin-up.
In practice, this power staggering approach will be included in the
bootloader (not in the kernel), as we might want to boot from a SATA
drive.
From my experiments, if the bootloader doesn't implement the power
staggering, only one HDD will get recognized (probably cause the others
didn't boot due to few power).
Still, it makes sense to expose this block in the device-tree, so the
kernel can ensure both rails are on (and this can be shared with
u-boot).
[1] https://github.com/armbian/build/blob/744ea89a589d62cb6f409baab60fc6664520bc39/patch/kernel/archive/rockchip64-5.14/add-board-helios64.patch
Signed-off-by: Florian Klink <redacted>
---
.../dts/rockchip/rk3399-kobol-helios64.dts | 32 +++++++++++++++++++
1 file changed, 32 insertions(+)
On Wed, 20 Oct 2021 11:59:22 +0200, Florian Klink wrote:
This adds the hdd_{a,b}_power blocks present in the armbian helios64
dts. [1]
Without those powered up, no HDDs will appear (except one connected via
the m.2 slot).