All of lore.kernel.org
 help / color / mirror / Atom feed
* pwm: imx27: pwm-backlight strange behavior
@ 2020-12-03 12:00 Johannes Pointner
  2020-12-04 11:48 ` Uwe Kleine-König
  0 siblings, 1 reply; 5+ messages in thread
From: Johannes Pointner @ 2020-12-03 12:00 UTC (permalink / raw)
  To: u.kleine-koenig, thierry.reding; +Cc: linux-pwm, linux-imx

Hello,

I just tested 5.10-rc6 with a imx6dl-board and found an issue
regarding the pwm-backlight.
Using 5.10 at about level 67 I got a new maximum and with level 68
it's restarting at about level 1.
This was working properly for me with kernel 5.4.

I tracked down the commit, which I think is responsible for the new behavior:
commit aef1a3799b5c ("pwm: imx27: Fix rounding behavior")
Reverting this commit fixes it for me.

Has anyone seen a similar behavior? Is something wrong with my
setup/configuration?

My devicetree backlight configuration looks like this:
pwms = <&pwm4 0 5000000>;
brightness-levels = <
0   1   2   3   4   5   6   7
 8   9  10  11  12  13  14  15
16  17  18  19  20  21  22  23
24  25  26  27  28  29  30  31
32  33  34  35  36  37  38  39
40  41  42  43  44  45  46  47
48  49  50  51  52  53  54  55
56  57  58  59  60  61  62  63
64  65  66  67  68  69  70  71
72  73  74  75  76  77  78  79
80  81  82  83  84  85  86  87
88  89  90  91  92  93  94  95
96  97  98  99 100>;

Thanks,
Hannes

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-12-05 18:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-03 12:00 pwm: imx27: pwm-backlight strange behavior Johannes Pointner
2020-12-04 11:48 ` Uwe Kleine-König
2020-12-05 11:18   ` Johannes Pointner
2020-12-05 17:42     ` Uwe Kleine-König
2020-12-05 18:39       ` Uwe Kleine-König

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.