Flash LED integration in Android 11 for IMX8MM

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash LED integration in Android 11 for IMX8MM

461件の閲覧回数
deepakbeniya
Contributor III

I Have imx8m mini custom board which use android 11 . I have integrated OV5640 camera & it's working fine .
Now I need flash light need to be worked on when I capture a picture.
For LED FLASH Drive I am using LM2753 IC . which need two GPIOs , 1st GPIO is for enabel the IC & 2nd GPIO is to turn on LED.

Manually I can turn on and turn off the Flash LED .But, I need to integrate with Android source .
Kernel Version is 5.4.70


v4l2-flash-led-class.c
led-class-flash.c
led-class.c
led-gpio.c
ledtrig-camera.c

I went through these files , I couldn't find where to give my gpio pins So, that LED should work when I capture the picture or turn on flashlight as mobile phone.

If anyone have any idea or referance link , how it can be done ?

Thanks & Regards
Deepak Kumar Beniya

0 件の賞賛
返信
1 返信

438件の閲覧回数
Alejandro_Salas
NXP TechSupport
NXP TechSupport

Hello @deepakbeniya 

 

NXP does not have a solution for this. But it appears you need modify the HAL layer as you can see in Android user guide in section 8.1.

 

I hope this can helps.

 

Best regards.

 

Salas.

タグ(1)
0 件の賞賛
返信