[PATCH 6/7] MMC: mmci: Enable Device Tree support for ux500 variants

Russell King - ARM Linux linux at arm.linux.org.uk
Thu Apr 5 08:36:42 EDT 2012


On Thu, Apr 05, 2012 at 10:55:47AM +0100, Lee Jones wrote:
> +	of_property_read_u32(np, "clock-frequency", &pdata->f_max);
> +	if (!pdata->f_max)
> +		pr_warn("%s has no 'clock-frequency' property\n", np->full_name);

To be anal about this (which is what we should be about DT bindings)
this is not a 'clock frequency' but a maximum clock frequency for the
bus.  Or to put it another way, a clock frequency limit.

A 'clock-frequency' property suggests (at least to me) that it's
specifying the rate of the MCLK signal, which is not what it's doing.



More information about the linux-arm-kernel mailing list