Date: Wed, 28 Sep 2016 14:53:58 -0700 From: Oleksandr Tymoshenko <gonzo@bluezbox.com> To: Thomas Skibo <thomasskibo@yahoo.com> Cc: freebsd-arm@freebsd.org, Lee D <embaudarm@gmail.com> Subject: Re: SD-Card driver modification for Zynq questions Message-ID: <9859398E-0592-4B8F-A3DA-0364970A92B4@bluezbox.com> In-Reply-To: <A3168D37-D612-4E3C-BECB-68EE306534BB@yahoo.com> References: <02E012FA-342E-4EB7-99F2-733FA7990BDD@yahoo.com> <49016789-66F8-4B34-9FA7-8E97143634AF@bluezbox.com> <A3168D37-D612-4E3C-BECB-68EE306534BB@yahoo.com>
index | next in thread | previous in thread | raw e-mail
> On Sep 28, 2016, at 2:49 PM, Thomas Skibo <thomasskibo@yahoo.com> wrote: > > >> 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. You’re right, I misread code, max-frequency can do the trick. Still tunable may be a good idea.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9859398E-0592-4B8F-A3DA-0364970A92B4>
