<?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>Other NXP Products中的主题 Cd1030: Linux kernel driver required</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Cd1030-Linux-kernel-driver-required/m-p/1374713#M12574</link>
    <description>&lt;P&gt;We are using the i.mx8qm processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CD1030 is interfaced with i.mx8qm over lpspi1 interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cann't see any linux kernel driver of the cd1030 nxp chipset in latest linux kernel.&lt;/P&gt;&lt;P&gt;I get one referance of RTOS based code but no linux kernel driver for this chipset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide the linux kernel driver for this NXP CD1030 driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the generic spidev driver to check but that is not working&lt;/P&gt;&lt;P&gt;dts file changes&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;amp;lpspi1 {&lt;/P&gt;&lt;P&gt;compatible = "fsl,imx8qm-lpspi", "fsl,imx7ulp-spi";&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;fsl,spi-num-chipselects = &amp;lt;1&amp;gt;;&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpspi1 &amp;amp;pinctrl_lpspi1_cs&amp;gt;;&lt;BR /&gt;cs-gpios = &amp;lt;&amp;amp;lsio_gpio3 24 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;spidev0: spi@0 { //Digital Input&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;&lt;STRONG&gt;compatible = "rohm,dh2228fv";&lt;/STRONG&gt;&lt;BR /&gt;spi-max-frequency = &amp;lt;30000000&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_lpspi1: lpspi1grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;IMX8QM_ADC_IN3_DMA_SPI1_SCK 0x06000040&lt;BR /&gt;IMX8QM_ADC_IN4_DMA_SPI1_SDO 0x06000040&lt;BR /&gt;IMX8QM_ADC_IN5_DMA_SPI1_SDI 0x06000040&lt;BR /&gt;IMX8QM_LVDS1_I2C0_SDA_LSIO_GPIO1_IO13 0x06000020&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_lpspi1_cs: lpspi1cs {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;IMX8QM_ADC_IN6_LSIO_GPIO3_IO24 0x21&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;I can see that /dev/spidev0.0 node is created and when try to test using the loopback test don't see the response back (MOSI and MISO&amp;nbsp; are Shorted)&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;root@dictgu:~# spidev_test -v -D /dev/spidev0.0&lt;BR /&gt;spi mode: 0x0&lt;BR /&gt;bits per word: 8&lt;BR /&gt;max speed: 500000 Hz (500 kHz)&lt;BR /&gt;TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D |......@.........................|&lt;BR /&gt;RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................................|&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this driver should work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If no then please provide the linux kernel driver for CD1030&lt;/P&gt;</description>
    <pubDate>Mon, 22 Nov 2021 03:25:05 GMT</pubDate>
    <dc:creator>DhavalS</dc:creator>
    <dc:date>2021-11-22T03:25:05Z</dc:date>
    <item>
      <title>Cd1030: Linux kernel driver required</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Cd1030-Linux-kernel-driver-required/m-p/1374713#M12574</link>
      <description>&lt;P&gt;We are using the i.mx8qm processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CD1030 is interfaced with i.mx8qm over lpspi1 interface.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I cann't see any linux kernel driver of the cd1030 nxp chipset in latest linux kernel.&lt;/P&gt;&lt;P&gt;I get one referance of RTOS based code but no linux kernel driver for this chipset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please provide the linux kernel driver for this NXP CD1030 driver?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used the generic spidev driver to check but that is not working&lt;/P&gt;&lt;P&gt;dts file changes&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&amp;amp;lpspi1 {&lt;/P&gt;&lt;P&gt;compatible = "fsl,imx8qm-lpspi", "fsl,imx7ulp-spi";&lt;BR /&gt;#address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;#size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;fsl,spi-num-chipselects = &amp;lt;1&amp;gt;;&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_lpspi1 &amp;amp;pinctrl_lpspi1_cs&amp;gt;;&lt;BR /&gt;cs-gpios = &amp;lt;&amp;amp;lsio_gpio3 24 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;spidev0: spi@0 { //Digital Input&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;&lt;STRONG&gt;compatible = "rohm,dh2228fv";&lt;/STRONG&gt;&lt;BR /&gt;spi-max-frequency = &amp;lt;30000000&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_lpspi1: lpspi1grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;IMX8QM_ADC_IN3_DMA_SPI1_SCK 0x06000040&lt;BR /&gt;IMX8QM_ADC_IN4_DMA_SPI1_SDO 0x06000040&lt;BR /&gt;IMX8QM_ADC_IN5_DMA_SPI1_SDI 0x06000040&lt;BR /&gt;IMX8QM_LVDS1_I2C0_SDA_LSIO_GPIO1_IO13 0x06000020&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_lpspi1_cs: lpspi1cs {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;IMX8QM_ADC_IN6_LSIO_GPIO3_IO24 0x21&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;I can see that /dev/spidev0.0 node is created and when try to test using the loopback test don't see the response back (MOSI and MISO&amp;nbsp; are Shorted)&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;root@dictgu:~# spidev_test -v -D /dev/spidev0.0&lt;BR /&gt;spi mode: 0x0&lt;BR /&gt;bits per word: 8&lt;BR /&gt;max speed: 500000 Hz (500 kHz)&lt;BR /&gt;TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF F0 0D |......@.........................|&lt;BR /&gt;RX | 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................................|&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this driver should work?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If no then please provide the linux kernel driver for CD1030&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 03:25:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Cd1030-Linux-kernel-driver-required/m-p/1374713#M12574</guid>
      <dc:creator>DhavalS</dc:creator>
      <dc:date>2021-11-22T03:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cd1030: Linux kernel driver required</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Cd1030-Linux-kernel-driver-required/m-p/1374828#M12580</link>
      <description>&lt;P&gt;Hi Dhaval&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;nxp provides drivers only for peripheral chips present in nxp reference boards (Sabre SD, EVK,&lt;/P&gt;
&lt;P&gt;MEK). For other peripherals drivers may be obtained using support of&amp;nbsp; &lt;A href="https://contact.nxp.com/new-prof-svcs-sw-tech" target="_blank"&gt;https://contact.nxp.com/new-prof-svcs-sw-tech&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Mon, 22 Nov 2021 07:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Cd1030-Linux-kernel-driver-required/m-p/1374828#M12580</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-11-22T07:41:16Z</dc:date>
    </item>
  </channel>
</rss>

