Re: [PATCH v2 2/2] pwm: add this patch to support the new pwm of Rockchip SoCs

From: Thierry Reding
Date: Tue Jul 29 2014 - 06:22:26 EST


On Mon, Jul 28, 2014 at 07:19:18PM +0800, caesar wrote:
> Doug,
> å 2014å07æ28æ 12:01, Doug Anderson åé:
> >Caesar,
> >
> >On Sun, Jul 27, 2014 at 7:00 AM, caesar <caesar.wang@xxxxxxxxxxxxxx> wrote:
> >>/*I think will be show the faill log:->
> >>
> >>* rockchip-pwm ff9301a0.pwm: can't request region for resource [mem
> >>0xff9301a0-0xff93019f]
> >>*/
> >>
> >>pc->base = devm_ioremap_resource(dev, regs);
> >Did you actually code this up and try it and get this error?
> Yeah.

This should work if you properly set up the PWM subregion as a child of
the LCDC region, which is what MFD will do for you.

Thierry

Attachment: pgpLCrJSYK_PK.pgp
Description: PGP signature