mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
i2c: meson: add support for txl
PD#168480: i2c: meson: add support for txl Change-Id: I0c4fe9d2e6caec0cfa812af28476774db69a4e89 Signed-off-by: Jian Hu <jian.hu@amlogic.com> Signed-off-by: Bo Yang <bo.yang@amlogic.com>
This commit is contained in:
@@ -4,6 +4,7 @@ Required properties:
|
||||
- compatible: must be "amlogic,meson6-i2c"
|
||||
or "amlogic,meson-gx-i2c"
|
||||
or "amlogic,meson-axg-i2c"
|
||||
or "amlogic,meson-txl-i2c"
|
||||
or "amlogic,meson-txlx-i2c"
|
||||
or "amlogic,meson8b-i2c"
|
||||
or "amlogic,meson-g12a-i2c"
|
||||
|
||||
@@ -652,6 +652,11 @@ static const struct meson_i2c_data i2c_gx_data = {
|
||||
.delay_ajust = 15,
|
||||
};
|
||||
|
||||
static const struct meson_i2c_data i2c_txl_data = {
|
||||
.div_factor = 4,
|
||||
.delay_ajust = 15,
|
||||
};
|
||||
|
||||
static const struct meson_i2c_data i2c_axg_data = {
|
||||
.div_factor = 3,
|
||||
.delay_ajust = 15,
|
||||
@@ -671,6 +676,7 @@ static const struct of_device_id meson_i2c_match[] = {
|
||||
{ .compatible = "amlogic,meson8b-i2c", .data = &i2c_meson8b_data },
|
||||
{ .compatible = "amlogic,meson-gx-i2c", .data = &i2c_gx_data },
|
||||
{ .compatible = "amlogic,meson-axg-i2c", .data = &i2c_axg_data },
|
||||
{ .compatible = "amlogic,meson-txl-i2c", .data = &i2c_txl_data },
|
||||
{ .compatible = "amlogic,meson-txlx-i2c", .data = &i2c_txlx_data },
|
||||
{ .compatible = "amlogic,meson-g12a-i2c", .data = &i2c_g12a_data },
|
||||
{ .compatible = "amlogic,meson-g12b-i2c", .data = &i2c_g12a_data },
|
||||
|
||||
Reference in New Issue
Block a user