On Mon, Feb 10, 2014 at 09:53:03AM -0700, Stephen Warren wrote:
> On 02/10/2014 06:48 AM, Axel Lin wrote:

> I wonder ...

> > +   if (of_property_read_u32(pdev->dev.of_node, "spi-max-frequency",
> > +                            &master->max_speed_hz))
> > +           master->max_speed_hz = 25000000; /* 25MHz */

> ... if that DT parsing can be done in common code too?

Yes, there is in general a lot of opportunity in the SPI subsystem to
factor code out into the core.  The DT stuff (things like this and also
GPIO chip selects) is part of it.

Attachment: signature.asc
Description: Digital signature

Reply via email to