[i2c] [PATCH] powerpc: i2c-mpc: make speed registers configurable via FDT
Timur Tabi
timur at freescale.com
Sat Aug 2 05:50:15 EST 2008
Trent Piepho wrote:
> All 83xx other than 832x.
Never mind, I forgot that 83xx support for i2c1_clk was already in U-Boot:
#if defined(CONFIG_MPC834X)
i2c1_clk = tsec2_clk;
#elif defined(CONFIG_MPC8360)
i2c1_clk = csb_clk;
#elif defined(CONFIG_MPC832X)
i2c1_clk = enc_clk;
#elif defined(CONFIG_MPC831X)
i2c1_clk = enc_clk;
#elif defined(CONFIG_MPC837X)
i2c1_clk = sdhc_clk;
#endif
#if !defined(CONFIG_MPC832X)
i2c2_clk = csb_clk; /* i2c-2 clk is equal to csb clk */
#endif
--
Timur Tabi
Linux kernel developer at Freescale
More information about the Linuxppc-dev
mailing list