diff options
author | Maxime Ripard <maxime.ripard@free-electrons.com> | 2013-04-22 12:02:25 +0200 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-05-28 14:41:58 +0300 |
commit | 301bc0675b677a98475187050d56cd2b39ff0acf (patch) | |
tree | 9e2ab6c8938601fbde69a0a80186a0928979a193 /firmware/yam | |
parent | 3394e645a88c722396fc1b03c31a3ffc158744ad (diff) |
video: ssd1307fb: Make use of horizontal addressing mode
By default, the ssd1307 controller uses an addressing mode called page
addressing. This mode only increments the column cursor in memory when
writing data but will not increments the page cursor when we are at the
end of the page.
However, the controller supports another addressing mode, called
horizontal addressing, that will maintain both the page and column
cursors when writing data to the controller.
That means that we can just remove the code that increments the current
page address and reset the column cursor when reaching the end of the
line, allowing to have a lower data overhead, and a simpler driver.
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'firmware/yam')
0 files changed, 0 insertions, 0 deletions