Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help

> On Sep 28, 2016, at 2:49 PM, Thomas Skibo <thomasskibo@yahoo.com> =
wrote:
>=20
>=20
>> 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
>=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=99=
t change the slot=E2=80=99s max_clk.

You=E2=80=99re right, I misread code, max-frequency can do the trick.  =
Still tunable may be a good idea.=20=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9859398E-0592-4B8F-A3DA-0364970A92B4>