<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX ProcessorsのトピックFlash LED integration in Android 11 for IMX8MM</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Flash-LED-integration-in-Android-11-for-IMX8MM/m-p/1839284#M222042</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I Have imx8m mini custom board which use android 11 . I have integrated OV5640 camera &amp;amp; it's working fine .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I need flash light need to be worked on when I capture a picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For LED FLASH Drive I am using LM2753 IC . which need two GPIOs , 1st GPIO is for enabel the IC &amp;amp; 2nd GPIO is to turn on LED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Manually I can turn on and turn off the Flash LED .But, I need to integrate with Android source .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kernel Version is 5.4.70&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;v4l2-flash-led-class.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;led-class-flash.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;led-class.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;led-gpio.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ledtrig-camera.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone have any idea or referance link , how it can be done ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Deepak Kumar Beniya&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 10:58:35 GMT</pubDate>
    <dc:creator>deepakbeniya</dc:creator>
    <dc:date>2024-04-02T10:58:35Z</dc:date>
    <item>
      <title>Flash LED integration in Android 11 for IMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-LED-integration-in-Android-11-for-IMX8MM/m-p/1839284#M222042</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I Have imx8m mini custom board which use android 11 . I have integrated OV5640 camera &amp;amp; it's working fine .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I need flash light need to be worked on when I capture a picture.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;For LED FLASH Drive I am using LM2753 IC . which need two GPIOs , 1st GPIO is for enabel the IC &amp;amp; 2nd GPIO is to turn on LED.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Manually I can turn on and turn off the Flash LED .But, I need to integrate with Android source .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kernel Version is 5.4.70&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;v4l2-flash-led-class.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;led-class-flash.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;led-class.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;led-gpio.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ledtrig-camera.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone have any idea or referance link , how it can be done ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Deepak Kumar Beniya&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 10:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-LED-integration-in-Android-11-for-IMX8MM/m-p/1839284#M222042</guid>
      <dc:creator>deepakbeniya</dc:creator>
      <dc:date>2024-04-02T10:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Flash LED integration in Android 11 for IMX8MM</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Flash-LED-integration-in-Android-11-for-IMX8MM/m-p/1839633#M222066</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/227532"&gt;@deepakbeniya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NXP does not have a solution for this. But it appears you need modify the HAL layer as you can see in &lt;A href="https://www.nxp.com/docs/en/user-guide/ANDROID_USERS_GUIDE.pdf" target="_self"&gt;Android user guide in section 8.1&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this can helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 18:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Flash-LED-integration-in-Android-11-for-IMX8MM/m-p/1839633#M222066</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-04-02T18:43:47Z</dc:date>
    </item>
  </channel>
</rss>

