mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-11 20:45:10 +07:00
b61d157589
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> |
||
---|---|---|
.. | ||
arm-versatile.txt | ||
ce4100-i2c.txt | ||
fsl-i2c.txt | ||
fsl-imx-i2c.txt | ||
gpio-i2c.txt | ||
i2c-designware.txt | ||
i2c-mux-pinctrl.txt | ||
i2c-mxs.txt | ||
i2c-ocores.txt | ||
mrvl-i2c.txt | ||
mux.txt | ||
omap-i2c.txt | ||
pnx.txt | ||
samsung-i2c.txt | ||
sirf-i2c.txt | ||
trivial-devices.txt | ||
xiic.txt |