For a custom TX2 carrier board I need to change the shunt resistor values for the INA3221.
According to documentation and nomenclature (tegra186 = quill = TX2) I should be editing the file
tegra186-quill-p3310-1000-a00-powermon.dtsi in ./64_TX2/Linux_for_Tegra_tx2/sources/hardware/nvidia/platform/t18x/common/kernel-dts/t18x-common-platforms/
(P3310 not being a match - though)
But looking at I2C addresses and used resistor values in P2597_B04_Concept_schematics.pdf (version B04) the only file that fits is
jetson-platforms/tegra210-jetson-cv-powermon-p2597.dtsi in ./64_TX2/Linux_for_Tegra_tx2/sources/hardware/nvidia/platform/t210/jetson/kernel-dts/
P2597 is a match with the TX1/TX2 carrier board but tegra210 is the NVIDIA Shield, correct?
Please clarify which file is the correct one.
–
Jetpack 3.1
source_sync.sh with tag tegra-l4t-r28.1
Changes necessary for custom board are the ti,shunt-resistor-mohm values. Also we didn’t implement the second voltage monitor (ina3221x@43) so I changed the status to “disabled”.
has no reference to the carrier board in its file name. Given that the power monitors are physically located on the carrier board I wonder how this is accommodated for.
Looking into it the following entries do not match to a P2597 and P3310 combination:
I2C bus address is set to 7h’42/43 on carrier board → dtsi contains 7’h40/41 (ina3221x_40: ina3221x@40 {)
Rail names do not match up: Carrier VDD_MUX → dtsi VDD_SYS_GPU (none of the six rails match up)
Resistor values do not match up: Carrier 20,5,10 and 10,10,10 mOhm → dtsi defines 5,5,10 and 1,5,5 mOhm
As stated in the initial post, the only file that matches the P2597 setup is tegra210-jetson-cv-powermon-p2597.dtsi
How do I make sure that the correct file with the correct values gets compiled into our device tree?