Skip to content
Commit caf065f8 authored by John Crispin's avatar John Crispin Committed by Thierry Reding
Browse files

pwm: Add MediaTek PWM support



This patch adds support for the PWM core found on current ARM base SoCs
made by MediaTek. This IP core supports 5 channels and has 2 operational
modes. There is the old mode, which is a classical PWM and the new mode
which allows the user to define bitmasks that get clocked out on the
pins. As the subsystem currently only supports PWM cores with the "old"
mode, we can safely ignore the "new" mode for now.

Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
[thierry.reding@gmail.com: minor cleanups]
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent 2ab15f58
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment