Skip to content

Commit 16d4daa

Browse files
Da Xuesuperna9999
authored andcommitted
arm64: dts: amlogic: gxl: set i2c bias to pull-up
GXL I2C pins need internal pull-up enabled to operate if there is no external resistor. The pull-up is 60kohms per the datasheet. We should set the bias when i2c pinmux is enabled. Signed-off-by: Da Xue <[email protected]> Reviewed-by: Martin Blumenstingl <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Neil Armstrong <[email protected]>
1 parent 1a30661 commit 16d4daa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arch/arm64/boot/dts/amlogic/meson-gxl.dtsi

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@
214214
groups = "i2c_sck_ao",
215215
"i2c_sda_ao";
216216
function = "i2c_ao";
217-
bias-disable;
217+
bias-pull-up;
218218
};
219219
};
220220

@@ -576,7 +576,7 @@
576576
groups = "i2c_sck_a",
577577
"i2c_sda_a";
578578
function = "i2c_a";
579-
bias-disable;
579+
bias-pull-up;
580580
};
581581
};
582582

@@ -585,7 +585,7 @@
585585
groups = "i2c_sck_b",
586586
"i2c_sda_b";
587587
function = "i2c_b";
588-
bias-disable;
588+
bias-pull-up;
589589
};
590590
};
591591

@@ -594,7 +594,7 @@
594594
groups = "i2c_sck_c",
595595
"i2c_sda_c";
596596
function = "i2c_c";
597-
bias-disable;
597+
bias-pull-up;
598598
};
599599
};
600600

@@ -603,7 +603,7 @@
603603
groups = "i2c_sck_c_dv19",
604604
"i2c_sda_c_dv18";
605605
function = "i2c_c";
606-
bias-disable;
606+
bias-pull-up;
607607
};
608608
};
609609

0 commit comments

Comments
 (0)