mirror of
https://github.com/torvalds/linux.git
synced 2026-06-06 05:27:07 +02:00
dt-bindings: pwm: fix microchip corePWM's pwm-cells
[ Upstream commita62d196e89] corePWM is capable of inverted operation but the binding requires \#pwm-cells of 2. Expand the binding to support setting the polarity. Fixes:df77f77357("dt-bindings: pwm: add microchip corepwm binding") Acked-by: Rob Herring <robh@kernel.org> Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Signed-off-by: Conor Dooley <conor.dooley@microchip.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
d12b10a783
commit
48ad27467b
|
|
@ -30,7 +30,9 @@ properties:
|
|||
maxItems: 1
|
||||
|
||||
"#pwm-cells":
|
||||
const: 2
|
||||
enum: [2, 3]
|
||||
description:
|
||||
The only flag supported by the controller is PWM_POLARITY_INVERTED.
|
||||
|
||||
microchip,sync-update-mask:
|
||||
description: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user