Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSI1 not usable with imx8mp-evk-tevs.dts #11

Open
laurioma opened this issue Apr 23, 2024 · 1 comment
Open

CSI1 not usable with imx8mp-evk-tevs.dts #11

laurioma opened this issue Apr 23, 2024 · 1 comment

Comments

@laurioma
Copy link

I am geting "could not request pin 46" error when trying to use imx8mp-evk-tevs.dts from tn-imx_5.15.71_2.2.0-next branch. Also The camera plugged into CSI1 port is not detected.

[ 0.000000] Machine model: NXP i.MX8MPlus EVK board with TechNexion TEVS camera
[ 2.223148] tevs 1-0048: tevs_probe() device node: tevs@48
[ 2.502157] tevs 1-0048: Version:24.1.0.2
[ 2.556683] tevs 1-0048: Product:TEVS-AR0144, HeaderVer:3, MIPI_Rate:800
[ 2.793850] tevs 1-0048: probe success
[ 2.847510] imx8mp-pinctrl 30330000.pinctrl: could not request pin 46 (MX8MP_IOMUXC_SD1_STROBE) from group tevs_csi1_pwn_grp on device 30330000.pinctrl
[ 2.861165] tevs 2-0048: Error applying setting, reverse things back
[ 6.780364] mx8-img-md: Registered sensor subdevice: tevs 1-0048 (1)
[ 6.817875] mx8-img-md: created link [tevs 1-0048] => [mxc-mipi-csi2.0]

Can it be because tevs_csi0_pwn_grp and tevs_csi1_pwn_grp both are trying to use MX8MP_IOMUXC_SD1_STROBE__GPIO2_IO11? https://github.com/TechNexion/linux-tn-imx/blob/tn-imx_5.15.71_2.2.0-next/arch/arm64/boot/dts/freescale/imx8mp-evk-tevs.dts#L18-L25

How to fix it so that I can use both cameras?

@jigoku1206
Copy link
Contributor

Hi @laurioma ,

For i.MX8Plus EVK board, there are many GPIOs that are shared for the CSI1 and CSI2. Hence, it is limited to connect one camera to CSI1 or CSI2. We do not suggest that you force enable two cameras on the board because it will cause more problems when you use the cameras.
image

Reference Schematics:
https://www.nxp.com/downloads/en/schematics/8MPLUS-BB.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants