Panel unable to use atmel,hlcdc-pwm for backlight

Peter Rosin peda at axentia.se
Mon Sep 26 20:58:25 UTC 2016


On 2016-09-26 21:58, Peter Rosin wrote:
> 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.

WTF, I got it to probe. I must have made some silly typo that I
somehow fixed when going back and forth trying a few different
things.

I wonder what I did???

Ok, sorry for the noise then...

Cheers,
Peter



More information about the dri-devel mailing list