]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
a10_ahci: grab the target-supply regulator and enable it
authorkevans <kevans@FreeBSD.org>
Fri, 10 Jan 2020 14:09:59 +0000 (14:09 +0000)
committerkevans <kevans@FreeBSD.org>
Fri, 10 Jan 2020 14:09:59 +0000 (14:09 +0000)
commit7ee5453dd070612756d2f54b53d5fb69e9b70fa5
tree7ea618accae147967eee9295cc1b4195b05af67a
parent35c52de99ff342d2c37233fa964a7e74a1a891c0
a10_ahci: grab the target-supply regulator and enable it

This regulator is marked regulator-boot-on, but it will get shutdown if it's
not actually used/enabled by a driver. This should fix sata on the
cubieboard{1,2}.

Reported by: Ray White @ UWaterloo
Reviewed by: manu
Differential Revision: https://reviews.freebsd.org/D23112
sys/arm/allwinner/a10_ahci.c