Date: Wed, 28 Sep 2016 14:49:33 -0700 From: Thomas Skibo <thomasskibo@yahoo.com> To: Oleksandr Tymoshenko <gonzo@bluezbox.com> Cc: freebsd-arm@freebsd.org, Lee D <embaudarm@gmail.com> Subject: Re: SD-Card driver modification for Zynq questions Message-ID: <A3168D37-D612-4E3C-BECB-68EE306534BB@yahoo.com> In-Reply-To: <49016789-66F8-4B34-9FA7-8E97143634AF@bluezbox.com> References: <02E012FA-342E-4EB7-99F2-733FA7990BDD@yahoo.com> <49016789-66F8-4B34-9FA7-8E97143634AF@bluezbox.com>
index | next in thread | previous in thread | raw e-mail
> On Sep 28, 2016, at 2:00 PM, Oleksandr Tymoshenko <gonzo@bluezbox.com> wrote: > > >> On Sep 28, 2016, at 7:16 AM, Thomas Skibo via freebsd-arm <freebsd-arm@freebsd.org> wrote: >> >> >> Why not just set max-frequency to 200Mhz in the DTS file entry? > > From quick glance it’s not going to help. Slot’s max_clk is set to that value but then it’s > overwritten in sdhci_init_slot by value obtained from register. We need to fix it and also > add tunable for non-fdt systems. I checked the Zynq manual and it looks like it doesn’t provide a frequency in the capabilities register so sdhci_init_slot() won’t change the slot’s max_clk.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A3168D37-D612-4E3C-BECB-68EE306534BB>
