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>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Sep 28, 2016, at 2:00 PM, Oleksandr Tymoshenko <gonzo@bluezbox.com> = wrote: >=20 >=20 >> On Sep 28, 2016, at 7:16 AM, Thomas Skibo via freebsd-arm = <freebsd-arm@freebsd.org> wrote: >>=20 >>=20 >> Why not just set max-frequency to 200Mhz in the DTS file entry? >=20 > =46rom quick glance it=E2=80=99s not going to help. Slot=E2=80=99s = max_clk is set to that value but then it=E2=80=99s > overwritten in sdhci_init_slot by value obtained from register. We = need to fix it and also > add tunable for non-fdt systems. =20 I checked the Zynq manual and it looks like it doesn=E2=80=99t provide a = frequency in the capabilities register so sdhci_init_slot() won=E2=80=99t = change the slot=E2=80=99s max_clk.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A3168D37-D612-4E3C-BECB-68EE306534BB>