Skip to contentSkip to conversation

LPSS PWM support for devices that support it

PATCH C. B. 2 participants 2 messages Jan 13, 2016 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

C. B.

author
#1 lore raw
Quoted 6 lines · Shobhit Kumar

Not sending yet to pwm mailing list as this is all untested. C.B. please test the patches and see if they work at all for you. For testing Please enable -

CONFIG_PWM_LPSS=y
CONFIG_PWM_LPSS_PLATFORM=y

I applied these patches to 4.4-rc8. So far no progress:

[   14.251512] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own

the pwm chip: pm_backlight

I dug in a little and found that dev_priv->vbt.dsi.config->pwm_blc == 0, I wonder if some of these Dell Venue's have different hardware? This is the model I have:

[   16.370481] Hardware name: Dell Inc. Venue 8 Pro 5830/09RP78, BIOS

A13 11/27/2015

Let me know what I can provide to help

CB
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

#2 lore raw
Quoted 6 lines · C. B.
Quoted 4 lines · Shobhit Kumar

Not sending yet to pwm mailing list as this is all untested. C.B. please test the patches and see if they work at all for you. For testing Please enable -

Quoted 7 lines
Quoted 2 lines

CONFIG_PWM_LPSS=y
CONFIG_PWM_LPSS_PLATFORM=y

I applied these patches to 4.4-rc8. So far no progress:

[   14.251512] [drm:pwm_setup_backlight [i915]] *ERROR* Failed to own

the pwm chip: pm_backlight

Are you sure this is pm_backlight, it should have printed pwm_backlight as that is the name for the PMIC bases PWM. I checked the code and I have not made a typo there.

Quoted 5 lines

I dug in a little and found that dev_priv->vbt.dsi.config->pwm_blc == 0, I wonder if some of these Dell Venue's have different hardware? This is the model I have:

This means that this device is using PMIC base PWM and not LPSS. I have heard from Brain, that my CRC PWM driver is also broken in latest kernel which should be probably used in this device. I am looking into that separately.

Regards
Shobhit

Quoted 11 lines
[   16.370481] Hardware name: Dell Inc. Venue 8 Pro 5830/09RP78, BIOS

A13 11/27/2015

Let me know what I can provide to help

CB
_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

_______________________________________________
Intel-gfx mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/intel-gfx