>
> Joakim Tjernlund wrote:
>
> > +#ifdef CONFIG_FSL_I2C_CUSTOM_FDR
> > + fdr = CONFIG_FSL_I2C_CUSTOM_FDR;
> > + speed = i2c_clk / divider; /* Fake something */
>
> How about setting 'speed' to CONFIG_SYS_I2C_SPEED?
Naa, if you want that you just pass CONFIG_SYS_I2C_SPEED to
i2c_in
Joakim Tjernlund wrote:
> +#ifdef CONFIG_FSL_I2C_CUSTOM_FDR
> + fdr = CONFIG_FSL_I2C_CUSTOM_FDR;
> + speed = i2c_clk / divider; /* Fake something */
How about setting 'speed' to CONFIG_SYS_I2C_SPEED?
--
Timur Tabi
Linux kernel developer at Freescale
_
Hello Joakim,
Joakim Tjernlund wrote:
> Some boards need a higher DFSR value than the spec currently
> recommends so give these boards the means to define there own.
>
> For completeness, add CONFIG_FSL_I2C_CUSTOM_FDR too.
>
> Signed-off-by: Joakim Tjernlund
> ---
> drivers/i2c/fsl_i2c.c | 1
Some boards need a higher DFSR value than the spec currently
recommends so give these boards the means to define there own.
For completeness, add CONFIG_FSL_I2C_CUSTOM_FDR too.
Signed-off-by: Joakim Tjernlund
---
drivers/i2c/fsl_i2c.c | 14 +++---
1 files changed, 11 insertions(+), 3
4 matches
Mail list logo