<?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>topic Re: Camera OV5640 issue  in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Camera-OV5640-issue/m-p/983451#M146080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issue may be related to pca9535 driver, one can recheck its dts settings&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt?h=imx_4.19.35_1.1.0"&gt;gpio-pca953x.txt\gpio\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://patchwork.kernel.org/patch/9693593/" title="https://patchwork.kernel.org/patch/9693593/"&gt;ARM: add DTS, defconfig for ADLINK LEC-iMX6 - Patchwork&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and try to debug its driver&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpio/gpio-pca953x.c?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpio/gpio-pca953x.c?h=imx_4.19.35_1.1.0"&gt;gpio-pca953x.c\gpio\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Dec 2019 13:16:19 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-12-16T13:16:19Z</dc:date>
    <item>
      <title>Camera OV5640 issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-OV5640-issue/m-p/983450#M146079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am using OV5640 camera module with imx6. once it probes and try to get pwdn and reset gpios, I get following error in boot logs. my both pins are connected to IO expander pca9535 on I2C.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------[ cut here ]------------&lt;BR /&gt;WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:3127 gpiod_set_raw_value+0x60/0x70&lt;BR /&gt;Modules linked in:&lt;BR /&gt;CPU: 0 PID: 1 Comm: swapper Not tainted 4.19.35-04774-g14bf555b2d02-dirty #1155&lt;BR /&gt;Hardware name: Freescale i.MX6 UltraLite (Device Tree)&lt;BR /&gt;[&amp;lt;8010e26c&amp;gt;] (unwind_backtrace) from [&amp;lt;8010b7d0&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;8010b7d0&amp;gt;] (show_stack) from [&amp;lt;8012ca28&amp;gt;] (__warn+0xe0/0xf8)&lt;BR /&gt;[&amp;lt;8012ca28&amp;gt;] (__warn) from [&amp;lt;8012cb58&amp;gt;] (warn_slowpath_null+0x40/0x48)&lt;BR /&gt;[&amp;lt;8012cb58&amp;gt;] (warn_slowpath_null) from [&amp;lt;80433264&amp;gt;] (gpiod_set_raw_value+0x60/0x70)&lt;BR /&gt;[&amp;lt;80433264&amp;gt;] (gpiod_set_raw_value) from [&amp;lt;8073fc34&amp;gt;] (ov5640_probe+0x2bc/0x58c)&lt;BR /&gt;[&amp;lt;8073fc34&amp;gt;] (ov5640_probe) from [&amp;lt;806dfc60&amp;gt;] (i2c_device_probe+0x258/0x268)&lt;BR /&gt;[&amp;lt;806dfc60&amp;gt;] (i2c_device_probe) from [&amp;lt;80532608&amp;gt;] (really_probe+0x1d0/0x2bc)&lt;BR /&gt;[&amp;lt;80532608&amp;gt;] (really_probe) from [&amp;lt;80532858&amp;gt;] (driver_probe_device+0x60/0x170)&lt;BR /&gt;[&amp;lt;80532858&amp;gt;] (driver_probe_device) from [&amp;lt;80532a38&amp;gt;] (__driver_attach+0xd0/0xd4)&lt;BR /&gt;[&amp;lt;80532a38&amp;gt;] (__driver_attach) from [&amp;lt;805307c8&amp;gt;] (bus_for_each_dev+0x74/0xb4)&lt;BR /&gt;[&amp;lt;805307c8&amp;gt;] (bus_for_each_dev) from [&amp;lt;80531ab0&amp;gt;] (bus_add_driver+0x188/0x20c)&lt;BR /&gt;[&amp;lt;80531ab0&amp;gt;] (bus_add_driver) from [&amp;lt;805333b8&amp;gt;] (driver_register+0x74/0x108)&lt;BR /&gt;[&amp;lt;805333b8&amp;gt;] (driver_register) from [&amp;lt;806df604&amp;gt;] (i2c_register_driver+0x3c/0x7c)&lt;BR /&gt;[&amp;lt;806df604&amp;gt;] (i2c_register_driver) from [&amp;lt;80102644&amp;gt;] (do_one_initcall+0x54/0x194)&lt;BR /&gt;[&amp;lt;80102644&amp;gt;] (do_one_initcall) from [&amp;lt;80f00df4&amp;gt;] (kernel_init_freeable+0x134/0x1c8)&lt;BR /&gt;[&amp;lt;80f00df4&amp;gt;] (kernel_init_freeable) from [&amp;lt;80aa94e0&amp;gt;] (kernel_init+0x8/0x114)&lt;BR /&gt;[&amp;lt;80aa94e0&amp;gt;] (kernel_init) from [&amp;lt;801010e8&amp;gt;] (ret_from_fork+0x14/0x2c)&lt;BR /&gt;Exception stack(0x87e89fb0 to 0x87e89ff8)&lt;BR /&gt;g_serial gadget: high-speed config #2: CDC ACM config&lt;BR /&gt;9fa0: 00000000 00000000 00000000 00000000&lt;BR /&gt;9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;9fe0: 00000000 00000000 00000000 00000000 00000013 00000000&lt;BR /&gt;---[ end trace 1ad1c808e5303a5f ]---&lt;BR /&gt;------------[ cut here ]------------&lt;BR /&gt;WARNING: CPU: 0 PID: 1 at drivers/gpio/gpiolib.c:3127 gpiod_set_raw_value+0x60/0x70&lt;BR /&gt;Modules linked in:&lt;BR /&gt;CPU: 0 PID: 1 Comm: swapper Tainted: G W 4.19.35-04774-g14bf555b2d02-dirty #1155&lt;BR /&gt;Hardware name: Freescale i.MX6 UltraLite (Device Tree)&lt;BR /&gt;[&amp;lt;8010e26c&amp;gt;] (unwind_backtrace) from [&amp;lt;8010b7d0&amp;gt;] (show_stack+0x10/0x14)&lt;BR /&gt;[&amp;lt;8010b7d0&amp;gt;] (show_stack) from [&amp;lt;8012ca28&amp;gt;] (__warn+0xe0/0xf8)&lt;BR /&gt;[&amp;lt;8012ca28&amp;gt;] (__warn) from [&amp;lt;8012cb58&amp;gt;] (warn_slowpath_null+0x40/0x48)&lt;BR /&gt;[&amp;lt;8012cb58&amp;gt;] (warn_slowpath_null) from [&amp;lt;80433264&amp;gt;] (gpiod_set_raw_value+0x60/0x70)&lt;BR /&gt;[&amp;lt;80433264&amp;gt;] (gpiod_set_raw_value) from [&amp;lt;8073fc44&amp;gt;] (ov5640_probe+0x2cc/0x58c)&lt;BR /&gt;[&amp;lt;8073fc44&amp;gt;] (ov5640_probe) from [&amp;lt;806dfc60&amp;gt;] (i2c_device_probe+0x258/0x268)&lt;BR /&gt;[&amp;lt;806dfc60&amp;gt;] (i2c_device_probe) from [&amp;lt;80532608&amp;gt;] (really_probe+0x1d0/0x2bc)&lt;BR /&gt;[&amp;lt;80532608&amp;gt;] (really_probe) from [&amp;lt;80532858&amp;gt;] (driver_probe_device+0x60/0x170)&lt;BR /&gt;[&amp;lt;80532858&amp;gt;] (driver_probe_device) from [&amp;lt;80532a38&amp;gt;] (__driver_attach+0xd0/0xd4)&lt;BR /&gt;[&amp;lt;80532a38&amp;gt;] (__driver_attach) from [&amp;lt;805307c8&amp;gt;] (bus_for_each_dev+0x74/0xb4)&lt;BR /&gt;[&amp;lt;805307c8&amp;gt;] (bus_for_each_dev) from [&amp;lt;80531ab0&amp;gt;] (bus_add_driver+0x188/0x20c)&lt;BR /&gt;[&amp;lt;80531ab0&amp;gt;] (bus_add_driver) from [&amp;lt;805333b8&amp;gt;] (driver_register+0x74/0x108)&lt;BR /&gt;[&amp;lt;805333b8&amp;gt;] (driver_register) from [&amp;lt;806df604&amp;gt;] (i2c_register_driver+0x3c/0x7c)&lt;BR /&gt;[&amp;lt;806df604&amp;gt;] (i2c_register_driver) from [&amp;lt;80102644&amp;gt;] (do_one_initcall+0x54/0x194)&lt;BR /&gt;[&amp;lt;80102644&amp;gt;] (do_one_initcall) from [&amp;lt;80f00df4&amp;gt;] (kernel_init_freeable+0x134/0x1c8)&lt;BR /&gt;[&amp;lt;80f00df4&amp;gt;] (kernel_init_freeable) from [&amp;lt;80aa94e0&amp;gt;] (kernel_init+0x8/0x114)&lt;BR /&gt;[&amp;lt;80aa94e0&amp;gt;] (kernel_init) from [&amp;lt;801010e8&amp;gt;] (ret_from_fork+0x14/0x2c)&lt;BR /&gt;Exception stack(0x87e89fb0 to 0x87e89ff8)&lt;BR /&gt;9fa0: 00000000 00000000 00000000 00000000&lt;BR /&gt;9fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000&lt;BR /&gt;9fe0: 00000000 00000000 00000000 00000000 00000013 00000000&lt;BR /&gt;---[ end trace 1ad1c808e5303a60 ]---&lt;BR /&gt;------------[ cut here ]------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can I resolve this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Asma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 06:11:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-OV5640-issue/m-p/983450#M146079</guid>
      <dc:creator>asmaa</dc:creator>
      <dc:date>2019-12-16T06:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Camera OV5640 issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Camera-OV5640-issue/m-p/983451#M146080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Asma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;issue may be related to pca9535 driver, one can recheck its dts settings&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/devicetree/bindings/gpio/gpio-pca953x.txt?h=imx_4.19.35_1.1.0"&gt;gpio-pca953x.txt\gpio\bindings\devicetree\Documentation - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://patchwork.kernel.org/patch/9693593/" title="https://patchwork.kernel.org/patch/9693593/"&gt;ARM: add DTS, defconfig for ADLINK LEC-iMX6 - Patchwork&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and try to debug its driver&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpio/gpio-pca953x.c?h=imx_4.19.35_1.1.0" title="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/gpio/gpio-pca953x.c?h=imx_4.19.35_1.1.0"&gt;gpio-pca953x.c\gpio\drivers - linux-imx - i.MX Linux kernel&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 13:16:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Camera-OV5640-issue/m-p/983451#M146080</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-12-16T13:16:19Z</dc:date>
    </item>
  </channel>
</rss>

