Hi,
@Loic @danielt
I have connected a thermistor to AMUX3 of pm8994, with pull up resistor of 100k connected externally and used qcom-spmi-vadc.c driver. I am getting expected o/p from adc with this setup.
As i see this pull up resistor AMUX_PU1, can be used instead of the external pull up resistor that i have used.
But i couldnt find any documentation explaining how to connect AMUX_PU1 and AMUX3 in dts.
Can someone explain how to do this?
Current dts changes are:
pmic_vadc@3100 {
compatible = "qcom,spmi-vadc";
reg = <0x3100>;
#address-cells = <1>;
#size-cells = <0>;
#io-channel-cells = <1>;
/* Channel Node */
blsp_exp_ain1{
reg = <VADC_LR_MUX6_AMUX_THM3>;
};
/* Refernce Nodes */
vadc_ref_1250mv{
reg = <VADC_REF_1250MV>;
};
vadc_ref_625mv{
reg = <VADC_REF_625MV>;
};
vadc_gnd_ref{
reg = <VADC_GND_REF>;
};
vadc_vdd_vadc{
reg = <VADC_VDD_VADC>;
};
};