<?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 SolutionsのトピックIMX6 PCIe external clock on linux kernel 4.14.78</title>
    <link>https://community.nxp.com/t5/i-MX-Solutions/IMX6-PCIe-external-clock-on-linux-kernel-4-14-78/m-p/1184264#M16</link>
    <description>&lt;P&gt;Hi community&lt;/P&gt;&lt;P&gt;I am using a custom board that design based on NXP i.MX6Q sabreauto board,&lt;BR /&gt;and we need to run PCIe device on our custom board.&lt;/P&gt;&lt;P&gt;We modified the devicetree files based on community info, and the challenge was successful.&lt;BR /&gt;It was Yocto Daisy(linux kernel 4.1.15) environment.&lt;/P&gt;&lt;P&gt;And this time, we must use Yocto Sumo(linux kernel 4.14.78) environment.&lt;BR /&gt;We fixed it the same as 4.1.15, but the result was a failure.&lt;BR /&gt;It seems the kernel freeze in kernel starting.&lt;/P&gt;&lt;P&gt;As far as I checked, it seems adding some branches for "ext_osc" and "IMX6QP" in sources.&lt;/P&gt;&lt;P&gt;[drivers/pci/dwc/pci-imx6.c]&lt;BR /&gt;&amp;gt;&amp;gt; if (imx_pcie-&amp;gt;ext_osc &amp;amp;&amp;amp; (imx_pcie-&amp;gt;variant == IMX6QP)) {&lt;BR /&gt;:&lt;BR /&gt;&amp;gt;&amp;gt; if (imx_pcie-&amp;gt;variant == IMX6QP) {&lt;BR /&gt;:&lt;BR /&gt;&amp;gt;&amp;gt; case IMX6QP:&lt;/P&gt;&lt;P&gt;[drivers/clk/imx/clk-imx6q.c]&lt;BR /&gt;&amp;gt;&amp;gt; /*&lt;BR /&gt;&amp;gt;&amp;gt; * imx6qp sabresd revb board has the external osc used by pcie&lt;BR /&gt;&amp;gt;&amp;gt; * - pll6 should be set bypass mode later in driver.&lt;BR /&gt;&amp;gt;&amp;gt; * - lvds_clk1 should be selected as pll6 bypass src, set here.&lt;BR /&gt;&amp;gt;&amp;gt; */&lt;BR /&gt;&amp;gt;&amp;gt; if (clk_on_imx6qp() &amp;amp;&amp;amp; val == 1)&lt;BR /&gt;&amp;gt;&amp;gt; clk_set_parent(clk[IMX6QDL_PLL6_BYPASS_SRC], clk[IMX6QDL_CLK_LVDS1_IN]);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried adding these sequence for "IMX6Q" because of we are using i.MX6Quad chip,&lt;BR /&gt;but the situation did not chang. The kernel freeze in kernel starting.&lt;/P&gt;&lt;P&gt;Would you please advice us for using PCIe external clock on linux kernel 4.14.78 ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Toshihiro Kambe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached file:&lt;/P&gt;&lt;P&gt;"[OK]PCIe_external_for_Yocto_Daisy_kernel_4_1_15.txt"&lt;BR /&gt;"[NG]PCIe_external_for_Yocto_Sumo_kernel_4_14_78.txt"&lt;/P&gt;</description>
    <pubDate>Wed, 18 Nov 2020 06:08:35 GMT</pubDate>
    <dc:creator>toshihiro_kambe</dc:creator>
    <dc:date>2020-11-18T06:08:35Z</dc:date>
    <item>
      <title>IMX6 PCIe external clock on linux kernel 4.14.78</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/IMX6-PCIe-external-clock-on-linux-kernel-4-14-78/m-p/1184264#M16</link>
      <description>&lt;P&gt;Hi community&lt;/P&gt;&lt;P&gt;I am using a custom board that design based on NXP i.MX6Q sabreauto board,&lt;BR /&gt;and we need to run PCIe device on our custom board.&lt;/P&gt;&lt;P&gt;We modified the devicetree files based on community info, and the challenge was successful.&lt;BR /&gt;It was Yocto Daisy(linux kernel 4.1.15) environment.&lt;/P&gt;&lt;P&gt;And this time, we must use Yocto Sumo(linux kernel 4.14.78) environment.&lt;BR /&gt;We fixed it the same as 4.1.15, but the result was a failure.&lt;BR /&gt;It seems the kernel freeze in kernel starting.&lt;/P&gt;&lt;P&gt;As far as I checked, it seems adding some branches for "ext_osc" and "IMX6QP" in sources.&lt;/P&gt;&lt;P&gt;[drivers/pci/dwc/pci-imx6.c]&lt;BR /&gt;&amp;gt;&amp;gt; if (imx_pcie-&amp;gt;ext_osc &amp;amp;&amp;amp; (imx_pcie-&amp;gt;variant == IMX6QP)) {&lt;BR /&gt;:&lt;BR /&gt;&amp;gt;&amp;gt; if (imx_pcie-&amp;gt;variant == IMX6QP) {&lt;BR /&gt;:&lt;BR /&gt;&amp;gt;&amp;gt; case IMX6QP:&lt;/P&gt;&lt;P&gt;[drivers/clk/imx/clk-imx6q.c]&lt;BR /&gt;&amp;gt;&amp;gt; /*&lt;BR /&gt;&amp;gt;&amp;gt; * imx6qp sabresd revb board has the external osc used by pcie&lt;BR /&gt;&amp;gt;&amp;gt; * - pll6 should be set bypass mode later in driver.&lt;BR /&gt;&amp;gt;&amp;gt; * - lvds_clk1 should be selected as pll6 bypass src, set here.&lt;BR /&gt;&amp;gt;&amp;gt; */&lt;BR /&gt;&amp;gt;&amp;gt; if (clk_on_imx6qp() &amp;amp;&amp;amp; val == 1)&lt;BR /&gt;&amp;gt;&amp;gt; clk_set_parent(clk[IMX6QDL_PLL6_BYPASS_SRC], clk[IMX6QDL_CLK_LVDS1_IN]);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried adding these sequence for "IMX6Q" because of we are using i.MX6Quad chip,&lt;BR /&gt;but the situation did not chang. The kernel freeze in kernel starting.&lt;/P&gt;&lt;P&gt;Would you please advice us for using PCIe external clock on linux kernel 4.14.78 ?&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Toshihiro Kambe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached file:&lt;/P&gt;&lt;P&gt;"[OK]PCIe_external_for_Yocto_Daisy_kernel_4_1_15.txt"&lt;BR /&gt;"[NG]PCIe_external_for_Yocto_Sumo_kernel_4_14_78.txt"&lt;/P&gt;</description>
      <pubDate>Wed, 18 Nov 2020 06:08:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/IMX6-PCIe-external-clock-on-linux-kernel-4-14-78/m-p/1184264#M16</guid>
      <dc:creator>toshihiro_kambe</dc:creator>
      <dc:date>2020-11-18T06:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6 PCIe external clock on linux kernel 4.14.78</title>
      <link>https://community.nxp.com/t5/i-MX-Solutions/IMX6-PCIe-external-clock-on-linux-kernel-4-14-78/m-p/1196063#M31</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; See the link, please!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;A href="https://community.nxp.com/t5/i-MX-Processors/i-MX6q-PCIe-with-external-clock-and-SATA/m-p/666522?commentID=923849&amp;amp;et=watches.email.thread" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/i-MX-Processors/i-MX6q-PCIe-with-external-clock-and-SATA/m-p/666522?commentID=923849&amp;amp;et=watches.email.thread&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; check device tree and clock driver in L4.14.78 bsp, please!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; In addition,&amp;nbsp; In imx6qp-sabresd-ldo-pcie-cert.dts, external clock has been enabled, you can refer to it for your dts of i.MX6Q/DL board.&lt;/P&gt;
&lt;P&gt;Have a nice day!&lt;/P&gt;
&lt;P&gt;B.R,&lt;/P&gt;
&lt;P&gt;weidong&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Dec 2020 06:53:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Solutions/IMX6-PCIe-external-clock-on-linux-kernel-4-14-78/m-p/1196063#M31</guid>
      <dc:creator>weidong_sun</dc:creator>
      <dc:date>2020-12-09T06:53:56Z</dc:date>
    </item>
  </channel>
</rss>

