<div dir="ltr"><div>Crystal Cove PMIC - Backlight control</div><div><br></div>Tested by Brian Loften, <a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a> confirmed working on ASUS T100TA, 15.04 i386 Ubuntu Gnome -- suspend resume is functioning normally, backlight controls work before and after resume using slide and meta keys on keyboard<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 29, 2015 at 10:13 PM, Brain WrecK <span dir="ltr"><<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">sure where do i send it? </div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Jun 29, 2015 at 10:12 PM, Kumar, Shobhit <span dir="ltr"><<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Good to know
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1f497d">J</span><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Can I ask you for your Tested-By on mailing list ?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit<u></u><u></u></span></p>
<p class="MsoNormal"><a name="14e42b1f4aa212b4_14e42abe22c0c383_14e42aa6eb4084ad__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><u></u> <u></u></span></a></p>
</div></div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, June 30, 2015 9:39 AM<br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">compiled linux-next 6-29 with the cystalcove patches suspend-resume is working<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">[ 3299.034846] WARNING: driver brcmfmac_sdio did not remove its interrupt handler!<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3299.185117] usbcore: deregistering interface driver brcmfmac<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3299.318632] PM: Syncing filesystems ... done.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3299.359337] PM: Preparing system for sleep (freeze)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3299.359707] Freezing user space processes ... (elapsed 0.244 seconds) done.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3299.604902] Freezing remaining freezable tasks ... (elapsed 0.003 seconds) done.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3299.608910] PM: Suspending system (freeze)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3299.608917] Suspending console(s) (use no_console_suspend to debug)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3300.658023] PM: suspend of devices complete after 1047.924 msecs<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3300.690403] PM: late suspend of devices complete after 32.328 msecs<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3300.705773] PM: noirq suspend of devices complete after 15.329 msecs<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3300.705781] PM: suspend-to-idle<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.202479] PM: resume from suspend-to-idle<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.218249] PM: noirq resume of devices complete after 15.523 msecs<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.565786] PM: early resume of devices complete after 347.106 msecs<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.573694] i2c i2c-0: i2c read failed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.581695] i2c i2c-0: i2c read failed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.593954] rtc_cmos 00:00: System wakeup disabled by ACPI<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.758212] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.759741] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.761272] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3303.764016] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.053125] PM: resume of devices complete after 486.912 msecs<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.053701] PM: Finishing wakeup.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.053706] Restarting tasks ... done.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.139326] cfg80211: Calling CRDA to update world regulatory domain<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147506] cfg80211: World regulatory domain updated:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147516] cfg80211: DFS Master region: unset<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147520] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147527] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147531] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147536] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147540] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.147544] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.222518] i2c i2c-0: i2c read failed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.254781] ACPI: Battery Slot [BATC] (battery present)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.255352] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.257161] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.258803] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.261547] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.343063] brcmf_sdio_drivestrengthinit: No SDIO Drive strength init done for chip 4324 rev 5 pmurev 17<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.344731] usbcore: registered new interface driver brcmfmac<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.487081] input: ATML1000:00 03EB:8C0E as /devices/platform/80860F41:05/i2c-5/i2c-ATML1000:00/0018:03EB:8C0E.0004/input/input13<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.499389] brcmf_c_preinit_dcmds: Firmware version = wl0: Jul 17 2013 07:36:07 version 6.10.197.71 (r412987) FWID 01-882d2634<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.522711] brcmf_cfg80211_reg_notifier: not a ISO3166 code<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3304.700645] hid-multitouch 0018:03EB:8C0E.0004: input,hidraw3: <UNKNOWN> HID v1.00 Device [ATML1000:00 03EB:8C0E] on <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3305.038043] brcmf_add_if: ERROR: netdev:wlan0 already exists<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">[ 3305.038055] brcmf_add_if: ignore IF event<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">so far so good... :)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"><u></u> <u></u></p>
<div><div><div>
<p class="MsoNormal">On Sat, Jun 27, 2015 at 11:07 AM, Brain WrecK <<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in"><div><div>
<div>
<p class="MsoNormal">havent been able to test these new patches, kernel keeps failing to compile, its a known bug being reported, hopefully 4.2-rc1 will be fixed and i can test them out<u></u><u></u></p>
</div>
</div></div><div>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div><div><div>
<p class="MsoNormal">On Fri, Jun 26, 2015 at 9:44 AM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Here are the latest patches</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><a name="14e42b1f4aa212b4_14e42abe22c0c383_14e42aa6eb4084ad_14e35fcc8d41d293_14e308b38b4da863__MailE"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></a><u></u><u></u></p>
</div></div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Friday, June 26, 2015 7:07 PM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<p>Can you attach your latest patches? I'll take my tablet to work and try and compile there...<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div></div><div><div><div>
<div>
<p class="MsoNormal">On Fri, Jun 26, 2015, 7:34 AM Brain WrecK <<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>> wrote:<u></u><u></u></p>
</div>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div>
<p>Tried to compile latest Linux next last night to test it apparently there is a build failure with NFS... I'll try again today<u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
</div></div><div><div><div>
<div>
<p class="MsoNormal">On Fri, Jun 26, 2015, 3:23 AM Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Could you get this working ? Latest series is posted at –
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="https://lkml.org/lkml/2015/6/26/124" target="_blank">https://lkml.org/lkml/2015/6/26/124</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, June 23, 2015 2:21 PM</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight</span><u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div></div><div>
<div>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">hmm could be why your suspend resume works? 15.04 uses systemd..... wonder if that is part of the issue im having<u></u><u></u></p>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Tue, Jun 23, 2015 at 2:47 AM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Ubuntu 14.04 64-bit, unity</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, June 23, 2015 2:16 PM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">what distro are you running on your system? im using Ubuntu gnome 15.04 32 bit at the moment<u></u><u></u></p>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Tue, Jun 23, 2015 at 2:40 AM, Brain WrecK <<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt"><div><div>
<div>
<p class="MsoNormal">ok ill download the linux-next then and compile from that :)<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">thanks for all your help<u></u><u></u></p>
</div>
</div>
</div></div><div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Tue, Jun 23, 2015 at 2:38 AM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I think your tree is missing this commit –
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=efb0de55b6a2ec15fc424e660601f22ae2fa487a" target="_blank">https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/?id=efb0de55b6a2ec15fc424e660601f22ae2fa487a</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">This is merged in linux-next master</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
</div></div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, June 23, 2015 2:04 PM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">hello there<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">got a compile error while using the patches for backlight in kernel 4.1<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> CC [M] drivers/mfd/88pm800.o<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">drivers/mfd/intel_soc_pmic_core.c: In function ‘intel_soc_pmic_i2c_remove’:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">drivers/mfd/intel_soc_pmic_core.c:134:2: error: implicit declaration of function ‘pwm_remove_table’ [-Werror=implicit-function-declaration]<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> pwm_remove_table(crc_pwm_lookup, ARRAY_SIZE(crc_pwm_lookup));<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> ^<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">cc1: some warnings being treated as errors<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">scripts/Makefile.build:258: recipe for target 'drivers/mfd/intel_soc_pmic_core.o' failed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">make[4]: *** [drivers/mfd/intel_soc_pmic_core.o] Error 1<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">make[4]: *** Waiting for unfinished jobs....<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> CC drivers/ntb/ntb_hw.o<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> CC drivers/pci/access.o<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">scripts/Makefile.build:403: recipe for target 'drivers/mfd' failed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">make[3]: *** [drivers/mfd] Error 2<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">make[3]: *** Waiting for unfinished jobs....<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">i removed/commented the following line #134 in the file intel_soc_pmic_core.c and it compiles fine<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">static int intel_soc_pmic_i2c_remove(struct i2c_client *i2c)<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">{<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> struct intel_soc_pmic *pmic = dev_get_drvdata(&i2c->dev);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> regmap_del_irq_chip(pmic->irq, pmic->irq_chip_data);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> /* Remove lookup table for Panel Control from the GPIO Chip */<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> gpiod_remove_lookup_table(&panel_gpio_table);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> /* remove crc-pwm lookup table */<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> /* pwm_remove_table(crc_pwm_lookup, ARRAY_SIZE(crc_pwm_lookup)); */
<span style="color:red"><---- this line here</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> mfd_remove_devices(&i2c->dev);<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> return 0;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">}<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">
<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal">not sure if this is a bug but when i remove this using your kernel config and mine. it wont compile on 4.1 kernel unless this is removed<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Mon, Jun 22, 2015 at 10:24 PM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Here it is –
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"><a href="https://bugs.freedesktop.org/attachment.cgi?id=115306" target="_blank">https://bugs.freedesktop.org/attachment.cgi?id=115306</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
</div></div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Monday, June 22, 2015 7:12 PM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Can you send me your kernel config? i tend to build in alot of modules to see what works and what doesnt, perhaps one of the modules i am using is giving me problems, i can use
your config to build my kernel and see what happens i am running Gnome Ubuntu 15.04 at the moment<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Mon, Jun 22, 2015 at 3:16 AM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I tested these patches again and I am able to go to suspend and return to display without any problem
using power state test interface</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">echo devices > /sys/power/pm_test</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">echo freeze > /sys/power/state</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Can you share your kernel logs with drm.debug=0xe</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
</div></div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Kumar, Shobhit
<br>
<b>Sent:</b> Monday, June 22, 2015 2:04 PM<br>
<b>To:</b> 'Brain WrecK'<br>
<b>Subject:</b> RE: T100TA Backlight</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi Brain,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I might not be the right guy for other gpio handling in crystal-cove gpio driver. What I did add to
that was couple of panel enable and disable gpio like capability which is through PMIC in AsusT100 platform. It does not do backlight control as you mentioned below. The actual backlight control is done by crc-pwm driver which I am adding new.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Let me reproduce the issues seen at your end in suspend/resume patch and get back.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
</div></div><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [<a href="mailto:bloften80@gmail.com" target="_blank">mailto:bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Saturday, June 20, 2015 8:27 AM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">I have been attempting to suspend/resume the system and i am unable to get it to boot back up after suspend, screen goes blank and i get a Last_failed_errno -11 from /sys/kernel/debug/suspend_stats<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">on our current 4.0 kernel we had to apply the attached patch to switch the suspend from "freeze" to "mem" which allowed us partial suspend/resume but the current freeze does not
work<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">goes gpio_crystalcove have PM_RUNTIME functions? since that what is controlling the backlight now??<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">i have tried both freeze and mem with the new backlight setup i cannot get the system to resume from suspend<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">i did notice that the interrupts for the buttons on the gpio_crystalcove are missing on this kernel and they are present in the 4.0 kernel<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">also the power button does not activate the power-down menu in this 4.1 kernel, could the lack of irq wakeup be caused by the lack of an interrupt for the power button???<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">4,1-rc8-next interrupts<br>
<br>
root@tabletwreck-T100TA:/lib/systemd/system-sleep# cat /proc/interrupts<br>
CPU0 CPU1 CPU2 CPU3 <br>
6: 2580 0 0 0 IO-APIC 29-fasteoi AudioDSP<br>
8: 0 0 0 0 BYT-GPIO 0 rtc0<br>
46: 0 0 0 0 BYT-GPIO 38 80860F14:01 cd<br>
86: 2098 0 0 0 BYT-GPIO 78 soc_dts<br>
148: 0 0 0 0 BYT-GPIO 6 ACPI:Event<br>
160: 1 0 0 0 BYT-GPIO 18 ACPI:Event<br>
186: 27102 0 0 0 IO-APIC 44-fasteoi mmc0<br>
187: 36996 0 0 0 IO-APIC 46-fasteoi mmc1<br>
188: 2265 0 0 0 IO-APIC 47-fasteoi mmc2<br>
189: 6 0 0 0 IO-APIC 42-fasteoi dw_dmac<br>
190: 0 0 0 0 IO-APIC 43-fasteoi dw_dmac<br>
191: 93 0 0 0 IO-APIC 39-fasteoi serial<br>
193: 2120 0 0 0 IO-APIC 32-fasteoi 80860F41:00<br>
194: 299 0 0 0 IO-APIC 33-fasteoi 80860F41:01<br>
195: 0 0 0 0 IO-APIC 34-fasteoi 80860F41:02<br>
196: 0 0 0 0 IO-APIC 35-fasteoi 80860F41:03<br>
197: 69 0 0 0 IO-APIC 36-fasteoi 80860F41:04<br>
198: 509 0 0 0 IO-APIC 37-fasteoi 80860F41:05<br>
199: 172 0 0 0 IO-APIC 38-fasteoi 80860F41:06<br>
202: 169365983 0 0 0 IO-APIC 68-fasteoi inv_mpu<br>
203: 1 0 0 0 IO-APIC 69-fasteoi ATML1000:00<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> 205: 0 0 0 0 IO-APIC 67-fasteoi Crystal Cove<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">210: 0 0 0 0 Crystal Cove 5 gpio_crystalcove</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><br>
<span style="color:red">missing crystalcove-gpio buttons</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<br>
307: 2974 0 0 0 PCI-MSI 327680-edge xhci_hcd<br>
309: 3485 0 0 0 PCI-MSI 32768-edge i915<br>
NMI: 59 2 2 2 Non-maskable interrupts<br>
LOC: 296713 296707 296696 296688 Local timer interrupts<br>
SPU: 0 0 0 0 Spurious interrupts<br>
PMI: 59 2 2 2 Performance monitoring interrupts<br>
IWI: 0 0 0 0 IRQ work interrupts<br>
RTR: 0 0 0 0 APIC ICR read retries<br>
RES: 13856 6614 8842 10279 Rescheduling interrupts<br>
CAL: 532 537 490 473 Function call interrupts<br>
TLB: 408 146 191 170 TLB shootdowns<br>
TRM: 0 0 0 0 Thermal event interrupts<br>
THR: 0 0 0 0 Threshold APIC interrupts<br>
DFR: 0 0 0 0 Deferred Error APIC interrupts<br>
MCE: 0 0 0 0 Machine check exceptions<br>
MCP: 4 4 4 4 Machine check polls<br>
HYP: 0 0 0 0 Hypervisor callback interrupts<br>
ERR: 0<br>
MIS: 0<br>
PIN: 0 0 0 0 Posted-interrupt notification event<br>
PIW: 0 0 0 0 Posted-interrupt wakeup event<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">4.0.0 interrupts<br>
<br>
<br>
CPU0 CPU1 CPU2 CPU3 <br>
7: 2595 0 0 0 IO-APIC 29-fasteoi AudioDSP<br>
48: 0 0 0 0 BYT-GPIO 38 80860F14:01 cd<br>
86: 0 0 0 0 BYT-GPIO 76 soc_dts<br>
148: 0 0 0 0 BYT-GPIO 6 ACPI:Event<br>
158: 0 0 0 0 BYT-GPIO 16 power<br>
160: 0 0 0 0 BYT-GPIO 18 ACPI:Event<br>
186: 20958 0 0 0 IO-APIC 44-fasteoi mmc0<br>
187: 6531 0 0 0 IO-APIC 46-fasteoi mmc1<br>
188: 1546 0 0 0 IO-APIC 47-fasteoi mmc2<br>
189: 6 0 0 0 IO-APIC 42-fasteoi dw_dmac<br>
190: 0 0 0 0 IO-APIC 43-fasteoi dw_dmac<br>
191: 93 0 0 0 IO-APIC 39-fasteoi serial<br>
193: 812 0 0 0 IO-APIC 32-fasteoi 80860F41:00<br>
194: 294 0 0 0 IO-APIC 33-fasteoi 80860F41:01<br>
195: 0 0 0 0 IO-APIC 34-fasteoi 80860F41:02<br>
196: 0 0 0 0 IO-APIC 35-fasteoi 80860F41:03<br>
197: 26 0 0 0 IO-APIC 36-fasteoi 80860F41:04<br>
198: 511 0 0 0 IO-APIC 37-fasteoi 80860F41:05<br>
199: 126 0 0 0 IO-APIC 38-fasteoi 80860F41:06<br>
201: 1202 0 30 0 PCI-MSI-edge xhci_hcd<br>
203: 0 0 0 0 IO-APIC 68-fasteoi inv_mpu<br>
204: 1 0 0 0 IO-APIC 69-fasteoi ATML1000:00<br>
205: 0 0 0 0 IO-APIC 67-fasteoi Crystal Cove<br>
<span style="color:red">210: 0 0 0 0 Crystal Cove 5 gpio_crystalcove<br>
211: 0 0 0 0 Crystal Cove 0 volume_up<br>
212: 0 0 0 0 Crystal Cove 1 volume_down<br>
218: 0 0 0 0 Crystal Cove 7 rotation_lock<br>
219: 0 0 0 0 Crystal Cove 8 home</span><br>
305: 18 0 0 0 PCI-MSI-edge mei_txe<br>
307: 420 0 0 0 PCI-MSI-edge i915<br>
NMI: 1 1 1 1 Non-maskable interrupts<br>
LOC: 10511 10493 10489 10476 Local timer interrupts<br>
SPU: 0 0 0 0 Spurious interrupts<br>
PMI: 1 1 1 1 Performance monitoring interrupts<br>
IWI: 0 0 0 0 IRQ work interrupts<br>
RTR: 0 0 0 0 APIC ICR read retries<br>
RES: 2687 4771 4511 4664 Rescheduling interrupts<br>
CAL: 513 484 518 512 Function call interrupts<br>
TLB: 145 118 126 107 TLB shootdowns<br>
TRM: 0 0 0 0 Thermal event interrupts<br>
THR: 0 0 0 0 Threshold APIC interrupts<br>
MCE: 0 0 0 0 Machine check exceptions<br>
MCP: 1 1 1 1 Machine check polls<br>
HYP: 0 0 0 0 Hypervisor callback interrupts<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">let me know if you need anything else<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Fri, Jun 19, 2015 at 1:14 AM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I have been testing suspend/resume like this till now</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">echo “devices” > /sys/power/pm_test;
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">echo “freeze” > /sys/power/state</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">It should suspend all devices and then come back all the way up in few seconds. During this process,
you should see backlight full off and then on and if the panel display comes up all is well. It was working this way in previous set of patches for me and I don’t think I have done some change which will break this.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">I will test in my setup again.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Friday, June 19, 2015 12:36 PM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></p>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal">Yes now that you mention it, device wont come back from suspend resume, monitor wont turn on we have a workaround script in which we load and unload certain modules to achieve some
form of standby<u></u><u></u></p>
<div>
<p class="MsoNormal">here
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">you think perhaps we need to unload and reload a particular module? not sure now the backlight is running now<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">i have attached the file we use to achieve suspend<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">here is what is running<br>
<br>
Module Size Used by<br>
cmac 16384 2 <br>
rfcomm 65536 10 <br>
bnep 20480 2 <br>
hci_uart 40960 1 <br>
btbcm 16384 1 hci_uart<br>
btintel 16384 1 hci_uart<br>
bluetooth 450560 24 bnep,btbcm,hci_uart,rfcomm,btintel<br>
nls_iso8859_1 16384 1 <br>
hid_logitech_hidpp 20480 0 <br>
hid_logitech_dj 20480 0 <br>
usb_storage 49152 0 <br>
joydev 20480 0 <br>
snd_soc_sst_baytrail_pcm 28672 2 <br>
asus_nb_wmi 24576 0 <br>
snd_soc_sst_ipc 16384 1 snd_soc_sst_baytrail_pcm<br>
asus_wmi 24576 1 asus_nb_wmi<br>
snd_soc_sst_dsp 40960 1 snd_soc_sst_baytrail_pcm<br>
sparse_keymap 16384 1 asus_wmi<br>
snd_soc_sst_byt_rt5640_mach 16384 0 <br>
intel_powerclamp 16384 0 <br>
kvm_intel 151552 0 <br>
kvm 446464 1 kvm_intel<br>
crc32_pclmul 16384 0 <br>
aesni_intel 20480 2 <br>
brcmfmac 225280 0 <br>
xts 16384 1 aesni_intel<br>
brcmutil 16384 1 brcmfmac<br>
aes_i586 20480 1 aesni_intel<br>
lrw 16384 1 aesni_intel<br>
gf128mul 16384 2 lrw,xts<br>
ablk_helper 16384 1 aesni_intel<br>
cfg80211 471040 1 brcmfmac<br>
cryptd 20480 1 ablk_helper<br>
i915 1028096 3 <br>
ak8975 16384 0 <br>
hid_multitouch 20480 0 <br>
snd_intel_sst_acpi 16384 0 <br>
snd_intel_sst_core 65536 1 snd_intel_sst_acpi<br>
snd_soc_rt5640 86016 2 snd_soc_sst_byt_rt5640_mach<br>
snd_soc_sst_mfld_platform 73728 1 snd_intel_sst_core<br>
snd_soc_rl6231 16384 1 snd_soc_rt5640<br>
snd_soc_core 192512 4 snd_soc_rt5640,snd_soc_sst_baytrail_pcm,snd_soc_sst_byt_rt5640_mach,snd_soc_sst_mfld_platform<br>
drm_kms_helper 114688 1 i915<br>
snd_compress 20480 1 snd_soc_core<br>
ac97_bus 16384 1 snd_soc_core<br>
snd_pcm_dmaengine 16384 1 snd_soc_core<br>
drm 299008 5 i915,drm_kms_helper<br>
snd_pcm 102400 5 snd_soc_rt5640,snd_soc_core,snd_soc_sst_baytrail_pcm,snd_soc_sst_mfld_platform,snd_pcm_dmaengine<br>
snd_seq_midi 16384 0 <br>
snd_seq_midi_event 16384 1 snd_seq_midi<br>
wmi 20480 1 asus_wmi<br>
snd_rawmidi 28672 1 snd_seq_midi<br>
mac_hid 16384 0 <br>
snd_seq 57344 2 snd_seq_midi_event,snd_seq_midi<br>
snd_seq_device 16384 3 snd_seq,snd_rawmidi,snd_seq_midi<br>
snd_timer 24576 2 snd_pcm,snd_seq<br>
processor_thermal_device 16384 0 <br>
inv_mpu6050 20480 1 <br>
int3400_thermal 16384 0 <br>
intel_soc_dts_iosf 16384 1 processor_thermal_device<br>
video 20480 2 i915,asus_wmi<br>
int3402_thermal 16384 0 <br>
iosf_mbi 16384 1 intel_soc_dts_iosf<br>
acpi_thermal_rel 16384 1 int3400_thermal<br>
industrialio_triggered_buffer 16384 1 inv_mpu6050<br>
int3403_thermal 16384 0 <br>
dw_dmac 16384 2 <br>
int340x_thermal_zone 16384 3 int3402_thermal,processor_thermal_device,int3403_thermal<br>
kfifo_buf 16384 1 industrialio_triggered_buffer<br>
hid_generic 16384 0 <br>
dw_dmac_core 24576 2 dw_dmac,snd_soc_sst_dsp<br>
snd 65536 12 snd_soc_core,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_soc_sst_mfld_platform,snd_seq_device,snd_compress<br>
industrialio 53248 4 industrialio_triggered_buffer,ak8975,kfifo_buf,inv_mpu6050<br>
snd_soc_sst_acpi 16384 0 <br>
soundcore 16384 1 snd<br>
acpi_pad 16384 0 <br>
8250_dw 16384 0 <br>
spi_pxa2xx_platform 24576 0 <br>
pwm_lpss_platform 16384 0 <br>
pwm_lpss 16384 1 pwm_lpss_platform<br>
parport_pc 32768 0 <br>
ppdev 20480 0 <br>
lp 20480 0 <br>
parport 45056 3 lp,ppdev,parport_pc<br>
autofs4 40960 2 <br>
mmc_block 32768 7 <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Fri, Jun 19, 2015 at 12:50 AM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Thanks so much Brain. I will forward your patch to possibly the platform team which was working on
Asus T100 enabling in upstream kernel and hopefully they can push out your patch.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Did you test suspend/resume also with the patches ?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Friday, June 19, 2015 10:28 AM</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><br>
<b>To:</b> Kumar, Shobhit<br>
<b>Subject:</b> Re: T100TA Backlight<u></u><u></u></p>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Thank you so much for your help<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">it is working as intended i see<br>
tabletwreck@tabletwreck-T100TA:/sys/class/backlight$ ls<br>
intel_backlight<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">brightness is adjusted with the keyboard FN keys<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">i have attached the meta-keys-asus patch that allows for the buttons to work on the keyboard maybe you being a big intel guy can slip this into the mainline kernel along with these patches
so the keyboard functions will work.... :)<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">thank you so much for your help<u></u><u></u></p>
</div>
<p class="MsoNormal">now we just need to figure out how to get the webcam working :)<u></u><u></u></p>
<div>
<div>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Thu, Jun 18, 2015 at 6:49 PM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div><div><div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Oh sorry I missed informing the branch. These are based on latest linux-next<br>
<br>
Regards<br>
Shobhit<br>
<br>
Sent from my phone. Excuse typos.</span><u></u><u></u></p>
</div>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:
</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="mailto:bloften80@gmail.com" target="_blank">Brain WrecK</a></span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Sent: </span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">19-06-2015 00:31</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">To: </span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="mailto:shobhit.kumar@intel.com" target="_blank">Kumar, Shobhit</a></span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Subject: </span>
</b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Re: T100TA Backlight</span><u></u><u></u></p>
</div>
</div>
</div>
</div></div><div>
<div>
<div><div><div>
<div>
<p class="MsoNormal">just for verification do you want me to apply these to 4.1-rc8?
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Thu, Jun 18, 2015 at 12:11 PM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Can you have a go with these patches. If they work for you I will post them. Will also try to test
at my end as well.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Kumar, Shobhit
<br>
<b>Sent:</b> Wednesday, June 17, 2015 11:55 PM<br>
<b>To:</b> Brain WrecK<br>
<b>Subject:</b> RE: T100TA Backlight</span><u></u><u></u></p>
</div>
</div>
</div></div><div>
<div><div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thank you.
<br>
I could use some help in testing. Will send you the patches by tomorrow.<br>
<br>
Regards<br>
Shobhit<br>
<br>
Sent from my phone. Excuse typos.</span><u></u><u></u></p>
</div>
</div>
<div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:
</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="mailto:bloften80@gmail.com" target="_blank">Brain WrecK</a></span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Sent: </span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">17-06-2015 23:30</span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">To: </span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="mailto:shobhit.kumar@intel.com" target="_blank">Kumar, Shobhit</a></span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Subject: </span>
</b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Re: T100TA Backlight</span><u></u><u></u></p>
</div>
</div></div><div><div><div>
<div>
<p class="MsoNormal">Hello again
<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">thank you so much for your response! <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">if you would like you can send me the patches when you are finished and i can test them to make sure everything is working<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">thanks again for all your work<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div></div><div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">On Wed, Jun 17, 2015 at 11:17 AM, Kumar, Shobhit <<a href="mailto:shobhit.kumar@intel.com" target="_blank">shobhit.kumar@intel.com</a>> wrote:<u></u><u></u></p>
</div></div><blockquote style="border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
<div>
<div><div><div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Hi</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">These patches were then submitted to wider lists and reviewed at
<a href="http://lkml.iu.edu/hypermail/linux/kernel/1504.3/03382.html" target="_blank">
http://lkml.iu.edu/hypermail/linux/kernel/1504.3/03382.html</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Few of them are already merged and few got Acked/Reviwed-By. Rework was pending on couple of them.
I am working on the same and updated set can be expected this week.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Regards</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d">Shobhit</span><u></u><u></u></p>
<p class="MsoNormal"><a name="14e42b1f4aa212b4_14e42abe22c0c383_14e42aa6eb4084ad_14e35fcc8d41d293_14e308b38b4da863_msg-f:"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1f497d"> </span></a><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Brain WrecK [mailto:<a href="mailto:bloften80@gmail.com" target="_blank">bloften80@gmail.com</a>]
<br>
<b>Sent:</b> Wednesday, June 17, 2015 10:17 PM<br>
<b>To:</b> Kumar, Shobhit<br>
<b>Cc:</b> <a href="mailto:intel-gfx@lists.freedesktop.org" target="_blank">intel-gfx@lists.freedesktop.org</a><br>
<b>Subject:</b> T100TA Backlight</span><u></u><u></u></p>
</div></div><div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div><div><div>
<p class="MsoNormal">Hello all<u></u><u></u></p>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">I am one of the people who is trying to work on getting linux working on the ASUS T100TA <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">i am writing this to inquire about the following from the intel-gfx mailing list in regards to the Backlight for the T100TA that you created using the crystalcove PMIC. this was
done back in April 2015 and maybe got buried under everything else<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">do you know if this has been upstreamed yet or when it will be upstreamed?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">if not would you be able to send me the patches so we can take advantage of this on the latest 4.1 kernel?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">i have copied the message below for your review<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div></div><div>
<p class="MsoNormal">thank you for your consideration<u></u><u></u></p>
</div><div><div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<pre style="white-space:pre-wrap"><span style="color:black">Hi All,</span><u></u><u></u></pre>
<pre><span style="color:black">Finally I came back to this and tried to address the pending review comments. </span><u></u><u></u></pre>
<pre><span style="color:black">Couple of the patches from the older series were merged in linux-next. This</span><u></u><u></u></pre>
<pre><span style="color:black">series reworks on the remaining and rebases on linux-next. Basically following</span><u></u><u></u></pre>
<pre><span style="color:black">are implemented - </span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black">1. GPIO control for panel enable/disable with GFX device as consumer</span><u></u><u></u></pre>
<pre><span style="color:black">2. New PWM chip driver added for CRC PMIC based backlight control</span><u></u><u></u></pre>
<pre><span style="color:black">3. i915 is modified to use the CRC gpio chip and the CRC PWM chip to do </span><u></u><u></u></pre>
<pre><span style="color:black"> backlight control. This is now added in intel_panel.c in the generic </span><u></u><u></u></pre>
<pre><span style="color:black"> panel backlight control infrastructure</span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black">All these patches have been tested on AsusT100 and working fine using </span><u></u><u></u></pre>
<pre><span style="color:black">/sys/class/backlight/intel_backlight interface.</span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black">Recently I noticed another device Dell Venue 8 Pro (BYT-CR) which should be</span><u></u><u></u></pre>
<pre><span style="color:black">using LPSS backlight control. There is already a LPSS PWM chip driver in</span><u></u><u></u></pre>
<pre><span style="color:black">upstream kernel which should be used in this case. That patch is for another</span><u></u><u></u></pre>
<pre><span style="color:black">day.</span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black">Regards</span><u></u><u></u></pre>
<pre><span style="color:black">Shobhit</span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black">Shobhit Kumar (8):</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/gpio/gpiolib: Add support for removing registered consumer</span><u></u><u></u></pre>
<pre><span style="color:black"> lookup table</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/pwm/core: Add support to remove registered consumer lookup</span><u></u><u></u></pre>
<pre><span style="color:black"> tables</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/mfd: Add lookup table for Panel Control as GPIO signal</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/mfd: Add PWM cell device for Crystalcove PMIC</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/mfd: ADD PWM lookup table for CRC PMIC based PWM</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/pwm: Add Crystalcove (CRC) PWM driver</span><u></u><u></u></pre>
<pre><span style="color:black"> drm/i915: Use the CRC gpio for panel enable/disable</span><u></u><u></u></pre>
<pre><span style="color:black"> drm/i915: Backlight control using CRC PMIC based PWM driver</span><u></u><u></u></pre>
<pre><span style="color:black"> </span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/gpio/gpiolib.c | 13 +++</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/gpu/drm/i915/intel_drv.h | 5 ++</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/gpu/drm/i915/intel_dsi.c | 38 ++++++++-</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/gpu/drm/i915/intel_dsi.h | 6 ++</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/gpu/drm/i915/intel_panel.c | 92 ++++++++++++++++++--</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/mfd/intel_soc_pmic_core.c | 29 +++++++</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/mfd/intel_soc_pmic_crc.c | 3 +</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/pwm/Kconfig | 7 ++</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/pwm/Makefile | 1 +</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/pwm/core.c | 17 ++++</span><u></u><u></u></pre>
<pre><span style="color:black"> drivers/pwm/pwm-crc.c | 171 +++++++++++++++++++++++++++++++++++++</span><u></u><u></u></pre>
<pre><span style="color:black"> include/linux/gpio/machine.h | 1 +</span><u></u><u></u></pre>
<pre><span style="color:black"> include/linux/pwm.h | 5 ++</span><u></u><u></u></pre>
<pre><span style="color:black"> 13 files changed, 381 insertions(+), 7 deletions(-)</span><u></u><u></u></pre>
<pre><span style="color:black"> create mode 100644 drivers/pwm/pwm-crc.c</span><u></u><u></u></pre>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div></div></div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</blockquote></div><br></div>
</blockquote></div><br></div></div>