hi
Recently, while debugging USB, I found that the Soc_USB1_VBUS pin in sk-am62-evm is not reflected in the device tree. Is it directly used in the driver? What is the function of this pin
thanks
Hi,
Please check the AM62x Datasheet, USB1_VBUS pin doesn't have multiple pin mux modes, so the pin doesn't have pinmux defined in the device tree.
The pin is used to monitor the USB VBUS voltage. The pin generates interrupts when the VBUS voltage is in certain level according to the USB Specifications.
hi
I found in the data manual that the usb vbus is in the AB10 and AC10 pins. Can I change the AB10 and AC10 to other pins? Is the use of AB10 and AC10 in linux, such as determining interrupts or reading analog state in the usb-am62 driver?
thanks
tanks
Can I change the AB10 and AC10 to other pins?
No.
Is the use of AB10 and AC10 in linux, such as determining interrupts or reading analog state in the usb-am62 driver?
Yes, this is already handled in the kernel USB driver, you don't need to change anything in Linux, neither kernel driver nor device tree.
Hi,
I believe you don't need to connect the USB1_VBUS pin if you use USB1 port in host-only mode. Please ensure you set 'dr_mode = "host"' in &usb1 node in your kernel board device tree. Please refer to &usb1 node in kernel k3-am62x-sk-common.dtsi.
I believe you don't need to connect the USB1_VBUS pin if you use USB1 port in host-only mode
Does the usb1 use host mode and do not require vbus power supply? I'll create a new question that describes the problem I'm having.
thanks
Your board still needs to provide vbus power supply to the USB connector, this is required by the USB2.0 Specifications. The power supply would be controlled by USB1_DRVVBUS pin.
You just don't need to connect USB1_VBUS pin if you use USB1 port in host-only mode.
You just don't need to connect USB1_VBUS pin if you use USB1 port in host-only mode.
I can understand that usb1 is working in the host only state ·, can the AB10 USB_VBUS pin of my board be suspended? Does it not affect the detection of usb-am62 drivers?
thanks
can the AB10 USB_VBUS pin of my board be suspended?
Do you mean AB10 pin is not brought out and not connect to anywhere? As explained before, AB10 doesn't have to be connected if USB1 is only used in host mode.
Do you mean AB10 pin is not brought out and not connect to anywhere?
Yes, AB10 is not connected to anything. In this case, whether the usb1 running on the host is valid.
AB10 doesn't have to be connected if USB1 is only used in host mode.
In sk-evm, my test is OK, because AB10 is directly connected to vbus.
In this post, can I write a register to simulate the high and low levels of AB10 to implement interrupts.
can I write a register to simulate the high and low levels of AB10 to implement interrupts.
When USB1 is in host mode, it doesn't care about AB10 pin - USB1_VBUS. You don't need its interrupts.
Why you keep asking about USB1_VBUS pin? Does your board USB1 not work in host mode?