pwm: imx: Use bitops and bitfield macros to define register values

Use existing macros to define register fields instead of manually shifting
the bit masks. Also define some more register bits.

Signed-off-by: Michal Vokáč <michal.vokac@ysoft.com>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
This commit is contained in:
Michal Vokáč 2018-10-01 16:19:47 +02:00 • committed by Thierry Reding
commit 9f617ada9f