Hello All,
On our custom board based on imx6ul, We are trying to use USB for charger detection. In device driver it is giving me following error "vbus not valid". My device tree seem to be correct shown as below:
&usbotg1 {
pinctrl-names = "default";
dr_mode = "peripheral";
imx6-usb-charger-detection;
srp-disable;
hnp-disable;
adp-disable;
status = "okay";
};
As suggested in charger algorithm of IMX6ULRM, ENABLE_ILIMIT and ENABLE_LINREG is enabled and also VBUSVALID_THRESH is set to 4.4V. I measured VBUS volatage it is coming out to 4.93V.
Can someone at NXP, please help to understand what are the other parameters I need to consider?
Regards,
Asma
Hello,
Could you provide an schematic for this custom board (USB part)?
Thank you,
Regards,
Aldo.