<?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: i.mx6 pwm-backlight in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346649#M47903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos:&lt;/P&gt;&lt;P&gt;thanks for your reply. but i have some point not understand.&lt;/P&gt;&lt;P&gt;1. in imx6solo_RIoTboard.dts have pwm-backlight&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; backlight {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "pwm-backlight";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pwms = &amp;lt;&amp;amp;pwm4 0 5000000&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brightness-levels = &amp;lt;0 4 8 16 32 64 128 255&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default-brightness-level = &amp;lt;7&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if modify to use pwm3 (SD1_DATA1) where can modify it. because i can't fine the file in source code. could you give me the fiel path or which way to modify it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Jan 2015 02:39:59 GMT</pubDate>
    <dc:creator>lawrencehuang</dc:creator>
    <dc:date>2015-01-16T02:39:59Z</dc:date>
    <item>
      <title>i.mx6 pwm-backlight</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346647#M47901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how can i add pwm-backlight in my kernel? i use RIoTboard and linux L3.10.17_1.0.0 but can't find where can add it.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 10:42:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346647#M47901</guid>
      <dc:creator>lawrencehuang</dc:creator>
      <dc:date>2015-01-15T10:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 pwm-backlight</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346648#M47902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;you need to do a couple of things:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add pwm-backlight support in your kernel, as a built-in module or as a loadable module.&lt;/LI&gt;&lt;LI&gt;Modify your DTB to add backlight support for your board. As a reference, you could take a look to the imx6qdl-sabresd.dtsi file.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, you can see what I did to my board here &lt;A _jive_internal="true" href="https://community.nxp.com/thread/337988"&gt;https://community.freescale.com/thread/337988&lt;/A&gt;&amp;nbsp; It's for a iMX25 board, but the DTB configuration is similar.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jan 2015 14:50:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346648#M47902</guid>
      <dc:creator>csotoalonso</dc:creator>
      <dc:date>2015-01-15T14:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 pwm-backlight</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346649#M47903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Carlos:&lt;/P&gt;&lt;P&gt;thanks for your reply. but i have some point not understand.&lt;/P&gt;&lt;P&gt;1. in imx6solo_RIoTboard.dts have pwm-backlight&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; backlight {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; compatible = "pwm-backlight";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; pwms = &amp;lt;&amp;amp;pwm4 0 5000000&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; brightness-levels = &amp;lt;0 4 8 16 32 64 128 255&amp;gt;;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default-brightness-level = &amp;lt;7&amp;gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. if modify to use pwm3 (SD1_DATA1) where can modify it. because i can't fine the file in source code. could you give me the fiel path or which way to modify it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Jan 2015 02:39:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346649#M47903</guid>
      <dc:creator>lawrencehuang</dc:creator>
      <dc:date>2015-01-16T02:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 pwm-backlight</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346650#M47904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please refer to the Section 6.2.2 of the document attached.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Artur&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 12:48:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346650#M47904</guid>
      <dc:creator>art</dc:creator>
      <dc:date>2015-01-29T12:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: i.mx6 pwm-backlight</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346651#M47905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ooops! Totally forgot about it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to change the PWM device, you don't have to change any source code, just the DTS file for your board. Pretty much as I did for my board:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;In the backlight section, change &amp;lt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;amp;pwm4 0 5000000&amp;gt;;&lt;/SPAN&gt;to pwm3&lt;/LI&gt;&lt;LI&gt;Enable pwm3:&amp;nbsp; you need to modify the phandle for pwm3 and change the status to "okay"&lt;/LI&gt;&lt;LI&gt;In pincontrol, add a group for your pwm and set the correct PAD assignments for your output pin (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;SD1_DATA1&lt;/SPAN&gt;, I presume)&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And that's all. As Artur Petukhov pointed out, you'll have your backlight control exported to sysfs, so you can change its brightness value.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Jan 2015 13:03:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-mx6-pwm-backlight/m-p/346651#M47905</guid>
      <dc:creator>csotoalonso</dc:creator>
      <dc:date>2015-01-29T13:03:18Z</dc:date>
    </item>
  </channel>
</rss>

