Panel unable to use atmel,hlcdc-pwm for backlight

Peter Rosin peda at axentia.se
Mon Sep 26 19:58:08 UTC 2016


On 2016-09-26 21:51, Boris Brezillon wrote:
> On Mon, 26 Sep 2016 21:35:43 +0200
> Peter Rosin <peda at axentia.se> wrote:
> 
>> Hi!
>>
>> I'm trying to attach a simpel-panel to an atmel,sama5d3-hlcdc
>> controller. See below for the parts of my .dts that I find
>> relevant.
>>
>> When I boot with this, I run into a problem. What I think
>> happens is that the hlcdc probe fails because the panel
>> probe fails because the backlight probe fails because the
>> pwm probe fails because the hlcdc probe hasn't completed
>> yet. I.e. a circular dependency.
> 
> No, it's not a circular dependency issue (the atmel-hlcdc-pwm depends
> on the atmel-hlcdc-mfd driver, not the atmel-hlcdc-drm driver).
> 
> Are you sure you enabled CONFIG_PWM_ATMEL_HLCDC?

Yes,

$ grep PWM_ATMEL_HLCDC .config
CONFIG_PWM_ATMEL_HLCDC_PWM=y

and I can manipulate the pwm from sysfs, so it's definitely there.

Cheers,
Peter



More information about the dri-devel mailing list