Patch "[PATCH 067/135] pwm: lpc32xx: correct number of PWM channels from 2" has been added to the 4.4-stable tree
Subsystems (3)
This is a note to let you know that I've just added the patch titled
[PATCH 067/135] pwm: lpc32xx: correct number of PWM channels from 2
to the 4.4-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
0067-pwm-lpc32xx-correct-number-of-PWM-channels-from-2-to.patch
and it can be found in the queue-4.4 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
a0bc0fcd472114c1a817cbdb16ab90b32e8e4540Mon Sep 17 00:00:00 2001
From: Vladimir Zapolskiy <[email protected]>
Date: Sun, 6 Dec 2015 13:31:59 +0200
Subject: [PATCH 067/135] pwm: lpc32xx: correct number of PWM channels from 2
to 1
[ Upstream commit ebe1fca35038df28b5c183e8486863e765364ec1 ]
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.
--- drivers/pwm/pwm-lpc32xx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pwm/pwm-lpc32xx.c +1 -1
@@ -134,7 +134,7 @@ static int lpc32xx_pwm_probe(struct plat lpc32xx->chip.dev = &pdev->dev; lpc32xx->chip.ops = &lpc32xx_pwm_ops; - lpc32xx->chip.npwm =2 ; + lpc32xx->chip.npwm =1 ; lpc32xx->chip.base =-1 ; ret =pwmchip_add (&lpc32xx->chip);
Patches currently in stable-queue which might be from [email protected] are
queue-4.4/0067-pwm-lpc32xx-correct-number-of-PWM-channels-from-2-to.patch queue-4.4/0068-pwm-lpc32xx-fix-and-simplify-duty-cycle-and-period-c.patch