Files
Linux/Documentation
Andrew Lunn b61d157589 I2C: MV64XYZ: Add Device Tree support
Extends the driver to get properties from device tree. Rather than
pass the N & M factors in DT, use the more standard clock-frequency
property. Calculate N & M at run time. In order to do this, we need to
know tclk. So the driver uses clk_get() etc in order to get the clock
and clk_get_rate() to determine the tclk rate. Not all platforms
however have CLK, so some #ifdefery is needed to ensure the driver
still compiles when CLK is not available.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>

[wsa: converted some ints to u32 to match signedness]

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
2012-07-23 22:04:11 +02:00
..
2012-06-20 14:39:36 -07:00
2012-04-03 13:09:18 +02:00
2012-06-06 09:34:56 -07:00
2012-05-15 17:28:01 -04:00
2012-04-14 11:13:22 +10:00
2012-03-16 20:35:01 +00:00
2012-02-28 16:05:06 +01:00
2012-05-17 08:51:59 -07:00