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

From: Wolfram Sang
Date: Sat Dec 30 2017 - 13:14:55 EST



> 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 = "fsl,mpc5121-i2c", .data = &mpc_i2c_data_512x, },
> - {.compatible = "fsl,mpc8313-i2c", .data = &mpc_i2c_data_8313, },
> - {.compatible = "fsl,mpc8543-i2c", .data = &mpc_i2c_data_8543, },
> - {.compatible = "fsl,mpc8544-i2c", .data = &mpc_i2c_data_8544, },

We can't remove compatibles. It may break DTBs. We can change the data
pointer, though.

Attachment: signature.asc
Description: PGP signature