Re: [PATCH 2/3] pwm: imx: Use bitops and bitfield macros to define register values

2018-12-12 Thread Thierry Reding
On Mon, Oct 01, 2018 at 04:19:47PM +0200, Michal Vokáč wrote: > 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áč > --- > drivers/pwm/pwm-imx.c | 78 >

[PATCH 2/3] pwm: imx: Use bitops and bitfield macros to define register values

2018-10-01 Thread Michal Vokáč
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áč --- drivers/pwm/pwm-imx.c | 78 ++- 1 file changed, 58 insertions(+), 20 deletions(-) diff

[PATCH 2/3] pwm: imx: Use bitops and bitfield macros to define register values

2018-10-01 Thread Michal Vokáč
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áč --- drivers/pwm/pwm-imx.c | 78 ++- 1 file changed, 58 insertions(+), 20 deletions(-) diff