Exporting CAM GPIOs

Hello,

Does or has anyone been able to export and use the CSI CAM gpios? If so, what is their sysfs gpio number? I have checked the wiki on how to use GPIO, and it does claim that it is possible to use the CSI camera GPIOs if one decides not to use the CSI cameras. I have looked into the 5/1/2014 Jetson QA and some of the diffs for the Grinch Kernel and I have found nothing.

Uname -a
Linux tegra-ubuntu 3.10.24-grinch-19.3.7 #2 SMP PREEMPT Sat Nov 1 18:37:58 UTC 2014 armv7l armv7l armv7l GNU/Linux

If that helps.
Thank you for the help.

Here are some notes on GPIO POSSIBLY used for reassignable pursposes…these are “candidates” (or directly useful):

#define		sysfs/Serial	connector	PM375 pin	Note
TEGRA_GPIO_PH1	57		J3A1		50		LCD_BL_PWM
TEGRA_GPIO_PH2	58		J3A1		48		LCD_BL_EN
TEGRA_GPIO_PK1	81		J3A1		11		TS_SHDN_L
TEGRA_GPIO_PK2	82		J3A1		17		GPIO_PK2
TEGRA_GPIO_PK4	84		J3A1		13		TS_RESET_L
TEGRA_GPIO_PU0	160		J3A2		40		GPIO_PU0
TEGRA_GPIO_PU1	161		J3A2		43		GPIO_PU1
TEGRA_GPIO_PU2	162		J3A2		46		GPIO_PU2
TEGRA_GPIO_PU3	163		J3A2		49		GPIO_PU3
TEGRA_GPIO_PU4	164		J3A2		52		GPIO_PU4
TEGRA_GPIO_PU5	165		J3A2		55		GPIO_PU5
TEGRA_GPIO_PU6	166		J3A2		58		GPIO_PU6
TEGRA_GPIO_PBB0	216		J3A2		4		CAM2_MCLK
TEGRA_GPIO_PBB3	219		J3A2		5		CAM_RST_L
TEGRA_GPIO_PBB4	220		J3A2		63		CAM_FLASH
TEGRA_GPIO_PBB5	221		J3A2		66		CAM1_PWDN
TEGRA_GPIO_PBB6	222		J3A2		2		CAM2_PWDN
TEGRA_GPIO_PBB7	223		J3A2		60		CAM1_AF_PWDN
TEGRA_GPIO_PCC1	225		J3A2		57		CAM1_GPIO
TEGRA_GPIO_PCC2	226		J3A2		7		CAM2_GPIO

Hello LinuxDev,

Thank you for reply. This has helped me a lot.

I did some testing and discovered that with my current system PK1,PK2, and PK4 can be used as Outputs. GPIO_PH2 returns as busy. I cannot get PBB0-PBB7 to do anything (input or output). PCC1 and PCC2 work only as inputs. And it is already known that PH1, PU0-PU7 work as GPIOs.