Hi everyone,
For some reason, I need to use Pin 12 on the Camera bus in my driver. In my memory, I thought it was called "led_indicator" but I forgot where I saw it..
I have known I need to update my dts, add a gpio definition that looks like "pwdn-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;", but I don't know the right way to find the correct Pin number.
Thanks, everyone, for helping me.
Additional,
And I still don't understand the difference and usage between https://github.com/raspberrypi/firmware ... t-blob.dts and https://github.com/raspberrypi/linux/bl ... pi-4-b.dts.
For example, how do I know which HW pin link to CAM_GPIO, aka expgpio: 5? And it also called Pin@133?
(Sure, even if I don't understand the principles, I can still write a workable driver. But I really want to understand it, although it is not my main goal..)
For some reason, I need to use Pin 12 on the Camera bus in my driver. In my memory, I thought it was called "led_indicator" but I forgot where I saw it..
I have known I need to update my dts, add a gpio definition that looks like "pwdn-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;", but I don't know the right way to find the correct Pin number.
Thanks, everyone, for helping me.
Additional,
And I still don't understand the difference and usage between https://github.com/raspberrypi/firmware ... t-blob.dts and https://github.com/raspberrypi/linux/bl ... pi-4-b.dts.
For example, how do I know which HW pin link to CAM_GPIO, aka expgpio: 5? And it also called Pin@133?
(Sure, even if I don't understand the principles, I can still write a workable driver. But I really want to understand it, although it is not my main goal..)
Statistics: Posted by lak4cyut — Fri May 24, 2024 7:19 am