Merge "ARM: dts: qcom: Add of version register to figure out ntn3 version"

This commit is contained in:
qctecmdr 2022-02-22 19:00:10 -08:00 • committed by Gerrit - the friendly Code Review server
commit 7277fb2ed8
2 changed files with 17 additions and 3 deletions

View file

@ -629,6 +629,17 @@ i2c child node
Value Type: Array of <u32>
Definition: List of slave registers to dump by i2c read
- version-reg:
Usage: optional
Value type: <u32>
Definition: Register to find ntn3 switch version
- force-i2c-setting:
Usage: optional
Value type: <bool>
Definition: If force-i2c-setting flag is set
then de_emphasis settings are updated
irrespective of the chip version via i2c_writes
=======
Example
=======
@ -641,5 +652,7 @@ Example
ep-reset-reg = <0x801210>;
ep-reset-gpio-mask = <0xf>;
dump-regs = <0x801330 0x801350 0x801370>;
version-reg = <0x800000>;
force-i2c-setting;
};
};

View file

@ -91,6 +91,7 @@
gpio-config-reg = <0x801208>;
ep-reset-reg = <0x801210>;
ep-reset-gpio-mask = <0xc>;
version-reg = <0x800000>;
dump-regs = <0x801330 0x801350 0x801370>;
reg_update = <0x82c030 0x1
0x828000 0x3
@ -104,9 +105,9 @@
0x82c01c 0x10
0x82c030 0xf
0x828000 0xf
0x82b268 0x2
0x82C02C 0x4
0x8249DC 0x0>;
0x82b268 0x2>;
switch_reg_update = <0x82C02C 0x4
0x824A0C 0x4>;
};
};