Hi,
i am designing a new Base board for the the som. i plan to connect a UVC camera directly to the USB1, which has a Type C connector, but without the connector.
i tried connecting only DP, DN, GND and 5V for the camera from an external power supply but the it didn`t reocgnized the device.
i guess it is because the USB is listed in the device tree as Type C, using the ptn5110 componet.
how can i change it to a regular usb connection? what do i need to change in the device tree or is there a way to change it from the terminal?
Thanks,
Dudi.
maybe you can refer to the document as below:
Hi,
i compiled the U-BOOT as described but i am not sure about the changes in the kernel.
i tried removing this parts:
pinctrl_typec1: typec1grp {
fsl,pins = <
MX8MM_IOMUXC_SD1_STROBE_GPIO2_IO11 0x159
>;
};
typec1_ptn5110: tcpci@50 {
compatible = "usb,tcpci";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_typec1>;
reg = <0x50>;
interrupt-parent = <&gpio2>;
interrupts = <11 8>;
src-pdos = <0x380190c8>;
snk-pdos = <0x380190c8>;
/* Only can sink 5V for safe */
max-snk-mv = <5000>;
max-snk-ma = <3000>;
op-snk-mw = <10000>;
max-snk-mw = <15000>;
port-type = "drp";
default-role = "sink";
status = "okay";
};
and changed the &usbotg config:
&usbotg1 {
dr_mode = "otg";
/*extcon = <0>, <&typec1_ptn5110>;
picophy,pre-emp-curr-control = <3>;
picophy,dc-vol-level-adjust = <7>;*/
status = "okay";
};
what do i need to add in the IOMUX? do i need to config the DP/DP lines?
if so, how do i add them? i didnt find their pinctrl definition.
do i need to add anything else?
Thanks,
Dudi.
Hi,
any ideas?
Thanks,
Dudi.