<?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: Control RGB LED brightness in IMX8ULP EVK9 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2035870#M233478</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could see you are working with Cortex A, and you want to use tpm from cortex A &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/td-p/1973023?profile.language=en" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Unfortunately this is not possible for i.MX8ULP. You can see on &lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8ulp.dtsi#L471" target="_self"&gt;device tree,&lt;/A&gt; there is just defined the TPM5.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
    <pubDate>Wed, 29 Jan 2025 21:23:33 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2025-01-29T21:23:33Z</dc:date>
    <item>
      <title>Control RGB LED brightness in IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2035072#M233418</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using IMX8ULP EVK9 and in this EVK i have one RGB LED which is connected with PTF10_TPM7_CH5, PTF27_TPM7_CH0 and PTF20_TPM5_CH1.&lt;BR /&gt;&lt;BR /&gt;Now i want to control brightness of this RGB LED, how can i control what kind of changes i need to do in DTS file. please provide patch so i can apply and test on EVK.&lt;BR /&gt;&lt;BR /&gt;I have added Image of schematic for your reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jan 2025 11:57:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2035072#M233418</guid>
      <dc:creator>dhruvinrajpura</dc:creator>
      <dc:date>2025-01-28T11:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Control RGB LED brightness in IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2035870#M233478</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I could see you are working with Cortex A, and you want to use tpm from cortex A &lt;A href="https://community.nxp.com/t5/i-MX-Processors/Control-GPIO-In-IMX8ULP-EVK9/td-p/1973023?profile.language=en" target="_self"&gt;here&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Unfortunately this is not possible for i.MX8ULP. You can see on &lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx8ulp.dtsi#L471" target="_self"&gt;device tree,&lt;/A&gt; there is just defined the TPM5.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2025 21:23:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2035870#M233478</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2025-01-29T21:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: Control RGB LED brightness in IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2035962#M233480</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your quick reply.&lt;/P&gt;&lt;P&gt;The green LED is connected to PTF20_TPM5_CH1. Can we control its brightness since it's on channel 1 of TPM5? If yes, could you share the patch and command to adjust the brightness?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 02:43:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2035962#M233480</guid>
      <dc:creator>dhruvinrajpura</dc:creator>
      <dc:date>2025-01-30T02:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: Control RGB LED brightness in IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2036245#M233507</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/219345"&gt;@dhruvinrajpura&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have not the i.MX8ULP to test it by my side, but please try the below modifications on device tree:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;&amp;amp;tpm5 {
	pinctrl-names = "default";
	pinctrl-0 = &amp;lt;&amp;amp;pinctrl_led1&amp;gt;;
	status = "okay";
};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And in IOMUXC:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;pinctrl_led1: ledsgrp1 {
		fsl,pins = &amp;lt;
			MX8ULP_PAD_PTF20__TPM5_CH1 0x2
		&amp;gt;;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then, you should be able to see the PWM under /sys/class/pwm/.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Salas.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2025 17:28:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2036245#M233507</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2025-01-30T17:28:05Z</dc:date>
    </item>
    <item>
      <title>Re: Control RGB LED brightness in IMX8ULP EVK9</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2036466#M233521</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I made the changes you suggested, but I still don't see a new pwmchip entry under /sys/class/pwm. I only see pwmchip0, which was already there before the changes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;root@imx8ulp-9x9-lpddr4-evk:~# ls -al /sys/class/pwm/&lt;BR /&gt;total 0&lt;BR /&gt;drwxr-xr-x 2 root root 0 Mar 3 09:49 .&lt;BR /&gt;drwxr-xr-x 88 root root 0 Mar 3 09:49 ..&lt;BR /&gt;lrwxrwxrwx 1 root root 0 Mar 3 09:49 pwmchip0 -&amp;gt; ../../devices/platform/pwm/pwm/pwmchip0&lt;BR /&gt;root@imx8ulp-9x9-lpddr4-evk:~#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 08:22:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Control-RGB-LED-brightness-in-IMX8ULP-EVK9/m-p/2036466#M233521</guid>
      <dc:creator>dhruvinrajpura</dc:creator>
      <dc:date>2025-01-31T08:22:24Z</dc:date>
    </item>
  </channel>
</rss>

