@@ -154,20 +154,14 @@ static int tps6287x_i2c_probe(struct i2c_client *i2c)
}
static const struct of_device_id tps6287x_dt_ids[] = {
- { .compatible = "ti,tps62870", },
- { .compatible = "ti,tps62871", },
- { .compatible = "ti,tps62872", },
- { .compatible = "ti,tps62873", },
+ { .compatible = "ti,tps6287x", },
{ }
};
MODULE_DEVICE_TABLE(of, tps6287x_dt_ids);
static const struct i2c_device_id tps6287x_i2c_id[] = {
- { "tps62870", 0 },
- { "tps62871", 0 },
- { "tps62872", 0 },
- { "tps62873", 0 },
+ { "tps6287x", 0 },
{},
};
TPS62870/1/2/3 devices have different output currents (6A/9A/12A/15A) of the TPS6287x family. The I2C addresses are the same between them. Since the dt-binding now only recognizes ti,tps6287x for the same reason; modify the driver compatible to reflect the same. Signed-off-by: Neha Malcom Francis <n-francis@ti.com> --- drivers/regulator/tps6287x-regulator.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-)