Thread (32 messages) 32 messages, 5 authors, 2018-03-14

Re: [PATCH v2 08/16] mmc: sdhci-omap: Add support to override f_max and iodelay from pdata

From: Ulf Hansson <hidden>
Date: 2018-02-14 09:53:22
Also in: linux-arm-kernel, linux-mmc, linux-omap, lkml

On 5 February 2018 at 13:50, Kishon Vijay Abraham I [off-list ref] wrote:
DRA74x EVM Rev H EVM comes with revision 2.0 silicon. However, earlier
versions of EVM can come with either revision 1.1 or revision 1.0 of
silicon.

The device-tree file is written to support rev 2.0 of silicon.
pdata-quirks are used to then override the settings needed for
PG 1.1 silicon.

PG 1.1 silicon has limitations w.r.t frequencies at which MMC1/2/3
can operate as well as different IOdelay numbers.
I fail to understand the need for platform data. Why can't DT be used
for the older revisions as well?
Add support in sdhci-omap driver to get platform data if available
(added using pdata quirks) and override the data (max-frequency and
iodelay data) obtained from device tree.
[...]

Kind regards
Uffe
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help