[PATCH v2] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread Rodrigo Rolim Mendes de Alencar
This patch provides support for displays like VGM128064B0W10, which requires a column offset of 2, i.e., its segments starts in SEG2 and ends in SEG129. Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.com> --- Documentation/devicetree/bindings/display/ssd1307fb.txt | 1 + drivers/video/

[PATCH] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-13 Thread Rodrigo Rolim Mendes de Alencar
This patch provides support for displays like VGM128064B0W10, which requires a column offset of 2, i.e., its segments starts in SEG2 and ends in SEG129. Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.com> --- Documentation/devicetree/bindings/display/ssd1307fb.txt | 1 + drivers/video/

[PATCH 2/3] video: fbdev: ssd1307fb: Support to pixel inversion

2020-05-12 Thread Rodrigo Rolim Mendes de Alencar
Pixel inversion in hardware is performed by issuing the command 0xa7. This patch adds a boolean property to control color inversion. Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.com> --- .../devicetree/bindings/display/ssd1307fb.txt | 1 + drivers/video/fbdev/ssd1307fb.c

[PATCH 3/3] video: fbdev: ssd1307fb: Switch to atomic PWM API

2020-05-12 Thread Rodrigo Rolim Mendes de Alencar
Signed-off-by: Rodrigo Rolim Mendes de Alencar --- drivers/video/fbdev/ssd1307fb.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 748c21c0567b..b1cac4a3722f 100644 --- a/drivers

[PATCH 1/3] video: fbdev: ssd1307fb: Added support to Column offset

2020-05-12 Thread Rodrigo Rolim Mendes de Alencar
This patch provides support for displays like VGM128064B0W10, which requires a column offset of 2, i.e., its segments starts in SEG2 and ends in SEG129. Signed-off-by: Rodrigo Alencar <455.rodrigo.alen...@gmail.com> --- Documentation/devicetree/bindings/display/ssd1307fb.txt | 1 + drivers/video/