[Bug 96571] [CHV] Backlight init fails on Surface 3 if module load order is wrong

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 11 08:31:52 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=96571

--- Comment #12 from Shobhit <shobhit.kumar at intel.com> ---
pwm_bl.c is not used and as you said is based on device tree. The code that you
point in i915, I wrote based on ACPI match from
drivers/mfd/intel_soc_pmic_core.c

The MFD driver will add this controller to pwm_table and will call the
necessary probes. This works fine as I have tested the code for
pwm-crystalcove. The pwm-crc is a cell device for MFD crystal cove PMIC.

In case of LPSS, my understanding is that we need to load
drivers/pwm/pwm-lpss.c and drivers/pwm/pwm-lpss-platform.c which is again based
on ACPI. The corresponding ID in the driver is "80860F09". So once we ensure
that this is loading the glue path should be okay. I just could not test this
because I don't have a device.

If you can enable -
CONFIG_PWM_LPSS=y
CONFIG_PWM_LPSS_PLATFORM=y

And use my other patches, I assumed it should work. Of course I maybe wrong, so
if you have not tested this, can you test it and update me on your findings ?
Basically check if in pwm-lpss-platform.c probe is being called or not.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160711/c89e88e1/attachment-0001.html>


More information about the intel-gfx-bugs mailing list