Re: [RESEND, 4/4] i2c: mpc: always determine I2C clock prescaler at runtime

2018-01-10 Thread Arseny Solokha
>> /* >> * Map and check POR Device Status Register 2 >> - * (PORDEVSR2) at 0xE0014 >> + * (PORDEVSR2) at 0xE0014. Note than while MPC8533 >> + * and MPC8544 indicate SEC frequency ratio >> +

Re: [RESEND, 4/4] i2c: mpc: always determine I2C clock prescaler at runtime

2017-12-30 Thread Wolfram Sang
> static const struct of_device_id mpc_i2c_of_match[] = { > {.compatible = "mpc5200-i2c", .data = &mpc_i2c_data_52xx, }, > {.compatible = "fsl,mpc5200b-i2c", .data = &mpc_i2c_data_52xx, }, > {.compatible = "fsl,mpc5200-i2c", .data = &mpc_i2c_data_52xx, }, > {.compatible =

[PATCH RESEND 4/4] i2c: mpc: always determine I2C clock prescaler at runtime

2017-12-07 Thread Arseny Solokha
Remove the facility for setting the prescaler value at compile time entirely. It was only used for two SoCs, duplicating the actual value for one of them and setting sometimes bogus value for another. Make all MPC8xxx SoCs obtain their actual I2C clock prescaler from a single place in the code. Si