Skip to content

Commit 4059297

Browse files
abelvesaandersson
authored andcommitted
arm64: dts: qcom: sm8550: Add bias pull up value to tlmm i2c data clk states
The default bias pull up value for the tlmm i2c data clk states is 2.2kOhms. Add this value to make sure the driver factors in the i2c pull up bit when writing the config register. Signed-off-by: Abel Vesa <[email protected]> Signed-off-by: Bjorn Andersson <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 11d5e41 commit 4059297

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

arch/arm64/boot/dts/qcom/sm8550.dtsi

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2691,70 +2691,70 @@
26912691
pins = "gpio28", "gpio29";
26922692
function = "qup1_se0";
26932693
drive-strength = <2>;
2694-
bias-pull-up;
2694+
bias-pull-up = <2200>;
26952695
};
26962696

26972697
qup_i2c1_data_clk: qup-i2c1-data-clk-state {
26982698
/* SDA, SCL */
26992699
pins = "gpio32", "gpio33";
27002700
function = "qup1_se1";
27012701
drive-strength = <2>;
2702-
bias-pull-up;
2702+
bias-pull-up = <2200>;
27032703
};
27042704

27052705
qup_i2c2_data_clk: qup-i2c2-data-clk-state {
27062706
/* SDA, SCL */
27072707
pins = "gpio36", "gpio37";
27082708
function = "qup1_se2";
27092709
drive-strength = <2>;
2710-
bias-pull-up;
2710+
bias-pull-up = <2200>;
27112711
};
27122712

27132713
qup_i2c3_data_clk: qup-i2c3-data-clk-state {
27142714
/* SDA, SCL */
27152715
pins = "gpio40", "gpio41";
27162716
function = "qup1_se3";
27172717
drive-strength = <2>;
2718-
bias-pull-up;
2718+
bias-pull-up = <2200>;
27192719
};
27202720

27212721
qup_i2c4_data_clk: qup-i2c4-data-clk-state {
27222722
/* SDA, SCL */
27232723
pins = "gpio44", "gpio45";
27242724
function = "qup1_se4";
27252725
drive-strength = <2>;
2726-
bias-pull-up;
2726+
bias-pull-up = <2200>;
27272727
};
27282728

27292729
qup_i2c5_data_clk: qup-i2c5-data-clk-state {
27302730
/* SDA, SCL */
27312731
pins = "gpio52", "gpio53";
27322732
function = "qup1_se5";
27332733
drive-strength = <2>;
2734-
bias-pull-up;
2734+
bias-pull-up = <2200>;
27352735
};
27362736

27372737
qup_i2c6_data_clk: qup-i2c6-data-clk-state {
27382738
/* SDA, SCL */
27392739
pins = "gpio48", "gpio49";
27402740
function = "qup1_se6";
27412741
drive-strength = <2>;
2742-
bias-pull-up;
2742+
bias-pull-up = <2200>;
27432743
};
27442744

27452745
qup_i2c8_data_clk: qup-i2c8-data-clk-state {
27462746
scl-pins {
27472747
pins = "gpio57";
27482748
function = "qup2_se0_l1_mira";
27492749
drive-strength = <2>;
2750-
bias-pull-up;
2750+
bias-pull-up = <2200>;
27512751
};
27522752

27532753
sda-pins {
27542754
pins = "gpio56";
27552755
function = "qup2_se0_l0_mira";
27562756
drive-strength = <2>;
2757-
bias-pull-up;
2757+
bias-pull-up = <2200>;
27582758
};
27592759
};
27602760

@@ -2763,47 +2763,47 @@
27632763
pins = "gpio60", "gpio61";
27642764
function = "qup2_se1";
27652765
drive-strength = <2>;
2766-
bias-pull-up;
2766+
bias-pull-up = <2200>;
27672767
};
27682768

27692769
qup_i2c10_data_clk: qup-i2c10-data-clk-state {
27702770
/* SDA, SCL */
27712771
pins = "gpio64", "gpio65";
27722772
function = "qup2_se2";
27732773
drive-strength = <2>;
2774-
bias-pull-up;
2774+
bias-pull-up = <2200>;
27752775
};
27762776

27772777
qup_i2c11_data_clk: qup-i2c11-data-clk-state {
27782778
/* SDA, SCL */
27792779
pins = "gpio68", "gpio69";
27802780
function = "qup2_se3";
27812781
drive-strength = <2>;
2782-
bias-pull-up;
2782+
bias-pull-up = <2200>;
27832783
};
27842784

27852785
qup_i2c12_data_clk: qup-i2c12-data-clk-state {
27862786
/* SDA, SCL */
27872787
pins = "gpio2", "gpio3";
27882788
function = "qup2_se4";
27892789
drive-strength = <2>;
2790-
bias-pull-up;
2790+
bias-pull-up = <2200>;
27912791
};
27922792

27932793
qup_i2c13_data_clk: qup-i2c13-data-clk-state {
27942794
/* SDA, SCL */
27952795
pins = "gpio80", "gpio81";
27962796
function = "qup2_se5";
27972797
drive-strength = <2>;
2798-
bias-pull-up;
2798+
bias-pull-up = <2200>;
27992799
};
28002800

28012801
qup_i2c15_data_clk: qup-i2c15-data-clk-state {
28022802
/* SDA, SCL */
28032803
pins = "gpio72", "gpio106";
28042804
function = "qup2_se7";
28052805
drive-strength = <2>;
2806-
bias-pull-up;
2806+
bias-pull-up = <2200>;
28072807
};
28082808

28092809
qup_spi0_cs: qup-spi0-cs-state {

0 commit comments

Comments
 (0)