<?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 Why is LPSPI1 missing on v5.4 BSP for iMX8QXP? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1162739#M162889</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The HRM of the iMX8QXP shows there are four LPSPI buses:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HectorPalacios_1-1601879786702.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126736i1CEAB363C00260B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="HectorPalacios_1-1601879786702.png" alt="HectorPalacios_1-1601879786702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The device tree however only lists three of them. LPSPI1 is missing and thus not available:&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi?h=imx_5.4.47_2.2.0#n22" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8-ss-dma....&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What's the issue here with LPSPI1?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Héctor Palacios&lt;/P&gt;</description>
    <pubDate>Mon, 05 Oct 2020 06:37:57 GMT</pubDate>
    <dc:creator>HectorPalacios</dc:creator>
    <dc:date>2020-10-05T06:37:57Z</dc:date>
    <item>
      <title>Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1162739#M162889</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;The HRM of the iMX8QXP shows there are four LPSPI buses:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="HectorPalacios_1-1601879786702.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/126736i1CEAB363C00260B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="HectorPalacios_1-1601879786702.png" alt="HectorPalacios_1-1601879786702.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The device tree however only lists three of them. LPSPI1 is missing and thus not available:&lt;/P&gt;&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi?h=imx_5.4.47_2.2.0#n22" target="_blank" rel="noopener nofollow noopener noreferrer"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8-ss-dma....&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What's the issue here with LPSPI1?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Héctor Palacios&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2020 06:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1162739#M162889</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-05T06:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1162843#M162906</link>
      <description>&lt;P&gt;Hi Héctor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;there is no issue here with LPSPI1, on MEK board suitable pads are used for&lt;/P&gt;
&lt;P&gt;other peripherals, muxing options can be found in sect.9.1.External Signals and Pin Assignments&lt;/P&gt;
&lt;P&gt;&lt;A id="relatedDocsClick_1" href="https://www.nxp.com/webapp/Download?colCode=IMX8DQXPRM" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8DualXPlus/8QuadXPlus Applications Processor Reference Manual&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;As example one can try below:&lt;/P&gt;
&lt;P&gt;Fsl-imx8dx.dtsi :&lt;BR /&gt;lpspi1: lpspi@5a010000 {&lt;/P&gt;
&lt;P&gt;compatible = "fsl,imx7ulp-spi";&lt;BR /&gt;reg = &amp;lt;0x0 0x5a010000 0x0 0x10000&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;interrupt-parent = &amp;lt;&amp;amp;gic&amp;gt;;&lt;BR /&gt;clocks = &amp;lt;&amp;amp;clk IMX8QXP_SPI1_CLK&amp;gt;,&lt;BR /&gt;&amp;lt;&amp;amp;clk IMX8QXP_SPI1_IPG_CLK&amp;gt;;&lt;BR /&gt;clock-names = "per", "ipg";&lt;BR /&gt;assigned-clocks = &amp;lt;&amp;amp;clk IMX8QXP_SPI1_CLK&amp;gt;;&lt;BR /&gt;assigned-clock-rates = &amp;lt;20000000&amp;gt;;&lt;BR /&gt;power-domains = &amp;lt;&amp;amp;pd_dma_lpspi1&amp;gt;;&lt;BR /&gt;status = "disabled";&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;Fsl-imx8qxp-mek.dts:&lt;/P&gt;
&lt;P&gt;pinctrl_lpspi1: lpspi1grp {&lt;/P&gt;
&lt;P&gt;fsl,pins = &amp;lt;&lt;BR /&gt;SC_P_SAI0_TXFS_ADMA_SPI1_SCK 0xD600004c&lt;BR /&gt;SC_P_SAI0_TXD_ADMA_SPI1_SDO 0xD600004c&lt;BR /&gt;SC_P_SAI0_TXC_ADMA_SPI1_SDI 0xD600004c&lt;BR /&gt;&amp;gt;;&lt;/P&gt;
&lt;P&gt;};&lt;/P&gt;
&lt;P&gt;pinctrl_lpspi1_cs: lpspi1cs {&lt;/P&gt;
&lt;P&gt;fsl,pins = &amp;lt;&lt;BR /&gt;SC_P_SAI0_RXD_LSIO_GPIO0_IO27 0xE0000021 &lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;&amp;amp;lpspi1 {&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;gpio0 27 GPIO_ACTIVE_LOW&amp;gt;;&lt;BR /&gt;status = "okay";&lt;BR /&gt;&lt;BR /&gt;spidev@0 {&lt;/P&gt;
&lt;P&gt;compatible = "rohm,dh2228fv";&lt;BR /&gt;status = "okay";&lt;BR /&gt;spi-max-frequency = &amp;lt;1000000&amp;gt;;&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;driver clk-imx8qxp.c&lt;/P&gt;
&lt;P&gt;clks[IMX8QXP_SPI1_CLK] = imx_clk_gate_scu("spi1_clk", "spi1_div", SC_R_SPI_1, SC_PM_CLK_PER, (void __iomem *)(LPSPI_1_LPCG), 0, 0);&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, 05 Oct 2020 09:39:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1162843#M162906</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-05T09:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1162860#M162907</link>
      <description>&lt;P&gt;-removed-&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:30:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1162860#M162907</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-07T06:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163308#M162962</link>
      <description>&lt;P&gt;-removed-&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:30:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163308#M162962</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-07T06:30:28Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163311#M162963</link>
      <description>&lt;P&gt;-removed-&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:30:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163311#M162963</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-07T06:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163437#M162982</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;&lt;P&gt;Thanks &lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/37066" target="_blank" rel="noopener"&gt;@igorpadykov&lt;/A&gt; but the fact that LPSPI1 is not suitable for the MEK doesn't justify that the bus itself is not defined at all on the &lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm64/boot/dts/freescale/imx8-ss-dma.dtsi?h=imx_5.4.47_2.2.0#n22" target="_self" rel="nofollow noopener noreferrer"&gt;imx8-ss-dma.dtsi&lt;/A&gt; DTSI include file.&lt;/P&gt;&lt;P&gt;Besides, IMX8QXP_SPI&lt;STRONG&gt;1&lt;/STRONG&gt;_xxx defines are missing from &lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/include/dt-bindings/pinctrl/pads-imx8qxp.h?h=imx_5.4.47_2.2.0#n100" target="_self" rel="nofollow noopener noreferrer"&gt;include/dt-bindings/pinctrl/pads-imx8qxp.h&lt;/A&gt; and thus not used either on &lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/drivers/pinctrl/freescale/pinctrl-imx8qxp.c?h=imx_5.4.47_2.2.0#n110" target="_self" rel="nofollow noopener noreferrer"&gt;drivers/pinctrl/freescale/pinctrl-imx8qxp.c&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Do you have values for those? Because it looks like this bus and pads are completely missing from the BSP. That's why it looks like intentionally left out stuff.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Hector&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:48:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163437#M162982</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-06T13:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163454#M162984</link>
      <description>&lt;P&gt;-removed-&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:30:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163454#M162984</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-07T06:30:02Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163457#M162985</link>
      <description>&lt;DIV class="lia-quilt-row lia-quilt-row-message-body"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-message-body-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;&lt;DIV class="lia-message-body-content"&gt;-removed-&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:29:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163457#M162985</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-07T06:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163459#M162986</link>
      <description>&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 06:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163459#M162986</guid>
      <dc:creator>HectorPalacios</dc:creator>
      <dc:date>2020-10-07T06:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Why is LPSPI1 missing on v5.4 BSP for iMX8QXP?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163673#M163008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN&gt;Hector&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I asked internally, below answer&lt;/P&gt;
&lt;P&gt;-------------------&lt;/P&gt;
&lt;P&gt;Indeed, the lpspi1 node definition is missing from the dts, most likely because it can't be tested on the mek board.&lt;/P&gt;
&lt;P&gt;But the definitions for the pinmux options for the lpspi1 external signals are already available in include/dt-bindings/pinctrl/pads-imx8qxp.h&lt;/P&gt;
&lt;P&gt;As an addition to what you already provided in the public thread, you can also add the property necessary to be able to use the dma.&lt;/P&gt;
&lt;P&gt;lpspi1: spi@5a010000 {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "fsl,imx7ulp-spi";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reg = &amp;lt;0x5a010000 0x10000&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #address-cells = &amp;lt;1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; #size-cells = &amp;lt;0&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupts = &amp;lt;GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; interrupt-parent = &amp;lt;&amp;amp;gic&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clocks = &amp;lt;&amp;amp;spi1_lpcg 0&amp;gt;,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;amp;spi1_lpcg 1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; clock-names = "per", "ipg";&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assigned-clocks = &amp;lt;&amp;amp;clk IMX_SC_R_SPI_1 IMX_SC_PM_CLK_PER&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assigned-clock-rates = &amp;lt;20000000&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; power-domains = &amp;lt;&amp;amp;pd IMX_SC_R_SPI_1&amp;gt;;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;dma-names = "tx","rx";&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; dmas = &amp;lt;&amp;amp;edma2 3 0 0&amp;gt;, &amp;lt;&amp;amp;edma2 2 0 1&amp;gt;;&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status = "disabled";&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;This is for release 5.4.24.&lt;/P&gt;
&lt;P&gt;-------------------&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Fri, 09 Oct 2020 14:21:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Why-is-LPSPI1-missing-on-v5-4-BSP-for-iMX8QXP/m-p/1163673#M163008</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-10-09T14:21:08Z</dc:date>
    </item>
  </channel>
</rss>

