<?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のトピックRe: How to write spi custom device driver for sensor</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1416213#M187211</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;For this you may refer to the Linux kernel documentation:&lt;BR /&gt;&lt;A href="https://www.kernel.org/doc/html/v4.19/driver-api/spi.html" target="_blank"&gt;https://www.kernel.org/doc/html/v4.19/driver-api/spi.html&lt;/A&gt;&lt;BR /&gt;Our test SPI driver:&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_spi_test/mxc_spi_test1.c?h=lf-5.10.72_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_spi_test/mxc_spi_test1.c?h=lf-5.10.72_2.2.0&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;The i.MX SPI driver:&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-imx.c?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-imx.c?h=lf-5.10.y&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For documentation, you may also check our Linux documentation (&lt;A href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener" data-dtmsubaction="i.MX Linux Reference Manual​ link"&gt;i.MX Linux Reference Manual​&lt;/A&gt;) available for download here:&lt;BR /&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 23:34:21 GMT</pubDate>
    <dc:creator>AldoG</dc:creator>
    <dc:date>2022-02-18T23:34:21Z</dc:date>
    <item>
      <title>How to write spi custom device driver for sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1414274#M187055</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I want to write custom linux spi device driver for imx8m mini.&lt;/P&gt;&lt;P&gt;Which kernal api and documentation i need to refer.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 08:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1414274#M187055</guid>
      <dc:creator>Dhevan</dc:creator>
      <dc:date>2022-02-16T08:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to write spi custom device driver for sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1416213#M187211</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;For this you may refer to the Linux kernel documentation:&lt;BR /&gt;&lt;A href="https://www.kernel.org/doc/html/v4.19/driver-api/spi.html" target="_blank"&gt;https://www.kernel.org/doc/html/v4.19/driver-api/spi.html&lt;/A&gt;&lt;BR /&gt;Our test SPI driver:&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_spi_test/mxc_spi_test1.c?h=lf-5.10.72_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/imx-test/tree/test/mxc_spi_test/mxc_spi_test1.c?h=lf-5.10.72_2.2.0&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;The i.MX SPI driver:&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-imx.c?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/spi/spi-imx.c?h=lf-5.10.y&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;For documentation, you may also check our Linux documentation (&lt;A href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener" data-dtmsubaction="i.MX Linux Reference Manual​ link"&gt;i.MX Linux Reference Manual​&lt;/A&gt;) available for download here:&lt;BR /&gt;&lt;A href="https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab" target="_blank"&gt;https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX?tab=In-Depth_Tab&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 23:34:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1416213#M187211</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2022-02-18T23:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to write spi custom device driver for sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1416588#M187256</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/171173"&gt;@AldoG&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;If we wrote two independent kernel device driver our issue will resolve ?&lt;/P&gt;&lt;P&gt;I have another doubt's also.&lt;/P&gt;&lt;P&gt;kernel driver - spi-imx.c and spidev.c what will be the difference between these two driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Vasu&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 08:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1416588#M187256</guid>
      <dc:creator>Dhevan</dc:creator>
      <dc:date>2022-02-21T08:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to write spi custom device driver for sensor</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1417781#M187363</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Sorry I don't know what kind of issue are you referring to.&lt;BR /&gt;&lt;BR /&gt;For difference, spi-imx is the SPI Master controller driver, while spidev is a userspace kernel driver.&lt;BR /&gt;&lt;BR /&gt;You can refer to the following documentation:&lt;BR /&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/spi/spidev.rst?h=lf-5.10.y" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/Documentation/spi/spidev.rst?h=lf-5.10.y&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;Aldo.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Feb 2022 01:26:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-write-spi-custom-device-driver-for-sensor/m-p/1417781#M187363</guid>
      <dc:creator>AldoG</dc:creator>
      <dc:date>2022-02-23T01:26:17Z</dc:date>
    </item>
  </channel>
</rss>

