Re: [PATCH 1/3] mfd: twl6040: Select i2c fast mode as default with regmap patch

From: Peter Ujfalusi
Date: Thu Feb 27 2014 - 09:33:38 EST


On 02/27/2014 04:24 PM, Nishanth Menon wrote:
>
> we should ideally have been using highspeed for i2c bus.
>
> is'nt it better if i2c_check_functionality (and adding required flags
> for func) be used to check the adapter speed and decide this in the
> driver instead of hardcoding the bus speed within TWL6040 -
> considering that 6040 can infact do max high speed as well?

Yeah, I was thinking of something similar. Just did not found the API to get
the speed the i2c bus has been configured to.
I'll check this.


--
Péter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/