Thread (5 messages) 5 messages, 3 authors, 2020-05-13

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

From: Andy Shevchenko <hidden>
Date: 2020-05-12 20:59:59
Also in: lkml

On Tue, May 12, 2020 at 11:55 PM Rodrigo Rolim Mendes de Alencar
[off-list ref] wrote:
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.
Thank you!
        if (of_property_read_u32(node, "solomon,page-offset", &par->page_offset))
                par->page_offset = 1;

+       if (of_property_read_u32(node, "solomon,col-offset", &par->col_offset))
+               par->col_offset = 0;
+
        if (of_property_read_u32(node, "solomon,com-offset", &par->com_offset))
                par->com_offset = 0;
Needs to be rebased on top of latest changes (can be, in particular,
found in Linux Next tree).

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help