]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sdhci_fsl_fdt.c: Read supported voltages from dts.
authorMarcin Wojtas <mw@FreeBSD.org>
Thu, 22 Apr 2021 11:01:06 +0000 (13:01 +0200)
committerMarcin Wojtas <mw@FreeBSD.org>
Fri, 14 May 2021 08:34:37 +0000 (10:34 +0200)
commit1f84b3a247bf4c0e584e36576a20dc120def1214
tree4c09dccda625510c917cd203b371722a8f322a68
parentf0a9d7d7995641901e3132242d1d9bf22dc333f6
sdhci_fsl_fdt.c: Read supported voltages from dts.

We shouldn't overwrite capability register. Instead, voltages supported
by the controller have to be read from dts, as the hardware doesn't
report correct values.

Submitted by: Lukasz Hajec <lha@semihalf.com>
Reviewed by: manu
Obtained from: Semihalf
Sponsored by: Alstom Group
Differential Revision: https://reviews.freebsd.org/D30123
sys/dev/sdhci/sdhci_fsl_fdt.c