Hi all
I plan to use MCIMX7D5EVM10SD and use USB charger detection function.
However, I can't find a details of register setting and reference design.
1. Can i.MX7 USB_OTG1 port detect supply power of Host using USB Charger Detection ?
2. If 1 is possible, please tell us about recommended circuit for USB port connection.
In particular, please tell me about USB_OTG1_ID / USB_OTG1_REXT / USB_OTG1_CHD_B pin handling.
3. Could you please tell me the software flow (the flow which is described in Figure 66-4. USBPHY Charger Detection Software Flow in IMX6DQRM) ?
Ko-hey
Solved! Go to Solution.
Hi Ko-hey
1. yes
2. please refer to p.5 spf-28484 schematic
3. please refer to i.mx usb driver sources in linux/drivers/usb/chipidea/
drivers/usb/chipidea/usbmisc_imx.c
linux-imx.git - i.MX Linux Kernel
dts property "imx6-usb-charger-detection"
linux/Documentation/devicetree/bindings/usb/ci-hdrc-imx.txt
linux-imx.git - i.MX Linux Kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi Ko-hey
1. yes
2. please refer to p.5 spf-28484 schematic
3. please refer to i.mx usb driver sources in linux/drivers/usb/chipidea/
drivers/usb/chipidea/usbmisc_imx.c
linux-imx.git - i.MX Linux Kernel
dts property "imx6-usb-charger-detection"
linux/Documentation/devicetree/bindings/usb/ci-hdrc-imx.txt
linux-imx.git - i.MX Linux Kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------