CVSROOT:        /cvs
Module name:    src
Changes by:     patr...@cvs.openbsd.org 2020/04/28 13:26:45

Modified files:
        sys/dev/fdt    : imxccm.c 

Log message:
Calculate divisor for i.MX8M composite clocks.  So far we have set
fixed values for the divisors, but the imxesdhc(4) nodes for
SD Cards usually have an assigned clock rate of 200 MHz instead of
400 MHz.  So instead of just clearing the divisor, we should set it
according to what is asked.  This also allows us to add the clock
for the second imxesdhc(4) node to the list, which I have previously
skipped, since otherwise the controller would have been clocked too
high.

ok kettenis@

Reply via email to