]> git.baikalelectronics.ru Git - kernel.git/commit
pwm: lpc32xx: correct number of PWM channels from 2 to 1
authorVladimir Zapolskiy <vz@mleia.com>
Sun, 6 Dec 2015 11:31:59 +0000 (13:31 +0200)
committerThierry Reding <thierry.reding@gmail.com>
Wed, 16 Dec 2015 16:00:01 +0000 (17:00 +0100)
commit85c2faa808b2e80f1ea1dc4954248e2358879669
treeda5b252edc27ca2340640b1912b989bf82b83ae8
parentbe24f236f37ff522e04e628e2fc5f1cd1981ba41
pwm: lpc32xx: correct number of PWM channels from 2 to 1

LPC32xx SoC has two independent PWM controllers, they have different
clock parents, clock gates and even slightly different controls, and
each of these two PWM controllers has one output channel. Due to
almost similar controls arranged in a row it is incorrectly set that
there is one PWM controller with two channels, fix this problem, which
at the moment prevents separate configuration of different clock
parents and gates for both PWM controllers.

The change makes previous PWM device node description incompatible
with this update.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-lpc32xx.c