<?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のトピックRe: PWM using I2C with ADP5585</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/PWM-using-I2C-with-ADP5585/m-p/1995614#M26424</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237088"&gt;@Rakesh_Kumar-Thakur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look to the&amp;nbsp;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk-boe-wxga-lvds-panel.dts" target="_self"&gt;imx93-11x11-evk-boe-wxga-lvds-panel.dts&lt;/A&gt; on the kernel git.&lt;/P&gt;
&lt;P&gt;There you can see the node called&amp;nbsp;lvds_backlight: lvds_backlight:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;lvds_backlight: lvds_backlight {
		compatible = "pwm-backlight";
		pwms = &amp;lt;&amp;amp;adp5585pwm 0 100000 0&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;adp5585gpio 8 GPIO_ACTIVE_HIGH&amp;gt;;
		power-supply = &amp;lt;&amp;amp;reg_vdd_12v&amp;gt;;
		status = "okay";

		brightness-levels = &amp;lt; 0  1  2  3  4  5  6  7  8  9
				     10 11 12 13 14 15 16 17 18 19
				     20 21 22 23 24 25 26 27 28 29
				     30 31 32 33 34 35 36 37 38 39
				     40 41 42 43 44 45 46 47 48 49
				     50 51 52 53 54 55 56 57 58 59
				     60 61 62 63 64 65 66 67 68 69
				     70 71 72 73 74 75 76 77 78 79
				     80 81 82 83 84 85 86 87 88 89
				     90 91 92 93 94 95 96 97 98 99
				    100&amp;gt;;
		default-brightness-level = &amp;lt;80&amp;gt;;
	};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see the pwms property is calling to the node&amp;nbsp;adp5585pwm defined on&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts#L599" target="_self"&gt;imx93-11x11-evk.dts&lt;/A&gt;. Pin 3 (R3 of the adp5585).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The default brightness level is 80 and you can change it on user space:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx93evk:/sys/class/backlight/lvds_backlight# echo 90 &amp;gt; brightness&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_0-1731695583736.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310858iA87A12BDF6AFD5A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_0-1731695583736.png" alt="Alejandro_Salas_0-1731695583736.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alejandro_Salas_0-1731695583736.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx93evk:/sys/class/backlight/lvds_backlight# echo 100 &amp;gt; brightness&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_1-1731695629280.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310859i43FB06898ACD91A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_1-1731695629280.png" alt="Alejandro_Salas_1-1731695629280.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alejandro_Salas_1-1731695629280.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx93evk:/sys/class/backlight/lvds_backlight# echo 50 &amp;gt; brightness&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_2-1731695667674.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310860iD8C180C1B861CCEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_2-1731695667674.png" alt="Alejandro_Salas_2-1731695667674.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alejandro_Salas_2-1731695667674.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information can helps to you!&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 18:35:24 GMT</pubDate>
    <dc:creator>Manuel_Salas</dc:creator>
    <dc:date>2024-11-15T18:35:24Z</dc:date>
    <item>
      <title>PWM using I2C with ADP5585</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PWM-using-I2C-with-ADP5585/m-p/1995373#M26419</link>
      <description>&lt;P&gt;Hi NXP,&lt;/P&gt;&lt;P&gt;Hi, I am working on board imx93evk, I want to control LVDS brightness with I2c, the base board I2C device is ADP5585ACxZ-01-R7 at address 0x34 pin LVDS_BLT_PWM, I have data sheet for ADP5585ACxZ but I don't know much about how to use this i2c device&amp;nbsp; And how to control LVDS brightness using this device. Please provide example with document if possible.&lt;/P&gt;&lt;P&gt;I want output about pwm on pin R3 LVDS_BLT_PWM&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Screenshot from 2024-10-21 18-07-03.png" style="width: 897px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/305889iB1CB7B157FE87B1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2024-10-21 18-07-03.png" alt="Screenshot from 2024-10-21 18-07-03.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Screenshot from 2024-10-21 18-07-03.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 09:51:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PWM-using-I2C-with-ADP5585/m-p/1995373#M26419</guid>
      <dc:creator>Rakesh_Kumar-Thakur</dc:creator>
      <dc:date>2024-11-15T09:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: PWM using I2C with ADP5585</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PWM-using-I2C-with-ADP5585/m-p/1995614#M26424</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/237088"&gt;@Rakesh_Kumar-Thakur&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope you are doing very well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please take a look to the&amp;nbsp;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk-boe-wxga-lvds-panel.dts" target="_self"&gt;imx93-11x11-evk-boe-wxga-lvds-panel.dts&lt;/A&gt; on the kernel git.&lt;/P&gt;
&lt;P&gt;There you can see the node called&amp;nbsp;lvds_backlight: lvds_backlight:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;lvds_backlight: lvds_backlight {
		compatible = "pwm-backlight";
		pwms = &amp;lt;&amp;amp;adp5585pwm 0 100000 0&amp;gt;;
		enable-gpios = &amp;lt;&amp;amp;adp5585gpio 8 GPIO_ACTIVE_HIGH&amp;gt;;
		power-supply = &amp;lt;&amp;amp;reg_vdd_12v&amp;gt;;
		status = "okay";

		brightness-levels = &amp;lt; 0  1  2  3  4  5  6  7  8  9
				     10 11 12 13 14 15 16 17 18 19
				     20 21 22 23 24 25 26 27 28 29
				     30 31 32 33 34 35 36 37 38 39
				     40 41 42 43 44 45 46 47 48 49
				     50 51 52 53 54 55 56 57 58 59
				     60 61 62 63 64 65 66 67 68 69
				     70 71 72 73 74 75 76 77 78 79
				     80 81 82 83 84 85 86 87 88 89
				     90 91 92 93 94 95 96 97 98 99
				    100&amp;gt;;
		default-brightness-level = &amp;lt;80&amp;gt;;
	};&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can see the pwms property is calling to the node&amp;nbsp;adp5585pwm defined on&amp;nbsp;&lt;SPAN&gt;&lt;A href="https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/arch/arm64/boot/dts/freescale/imx93-11x11-evk.dts#L599" target="_self"&gt;imx93-11x11-evk.dts&lt;/A&gt;. Pin 3 (R3 of the adp5585).&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;The default brightness level is 80 and you can change it on user space:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx93evk:/sys/class/backlight/lvds_backlight# echo 90 &amp;gt; brightness&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_0-1731695583736.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310858iA87A12BDF6AFD5A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_0-1731695583736.png" alt="Alejandro_Salas_0-1731695583736.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alejandro_Salas_0-1731695583736.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx93evk:/sys/class/backlight/lvds_backlight# echo 100 &amp;gt; brightness&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_1-1731695629280.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310859i43FB06898ACD91A1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_1-1731695629280.png" alt="Alejandro_Salas_1-1731695629280.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alejandro_Salas_1-1731695629280.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;root@imx93evk:/sys/class/backlight/lvds_backlight# echo 50 &amp;gt; brightness&lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Alejandro_Salas_2-1731695667674.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310860iD8C180C1B861CCEB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Alejandro_Salas_2-1731695667674.png" alt="Alejandro_Salas_2-1731695667674.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Alejandro_Salas_2-1731695667674.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this information can helps to you!&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;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 18:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PWM-using-I2C-with-ADP5585/m-p/1995614#M26424</guid>
      <dc:creator>Manuel_Salas</dc:creator>
      <dc:date>2024-11-15T18:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: PWM using I2C with ADP5585</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/PWM-using-I2C-with-ADP5585/m-p/2004322#M26611</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/203368"&gt;@Manuel_Salas&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you so much for very use full support&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2024 12:08:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/PWM-using-I2C-with-ADP5585/m-p/2004322#M26611</guid>
      <dc:creator>Rakesh_Kumar-Thakur</dc:creator>
      <dc:date>2024-11-29T12:08:53Z</dc:date>
    </item>
  </channel>
</rss>

