• Jyri Sarha's avatar
    fbdev: ssd1307fb: Make reset gpio devicetree property optional · fdde1a81
    Jyri Sarha authored
    Make reset gpio devicetree property optional. Depending on the board
    designing there may not be a dedicated gpio for resetting the
    display. Without a proper reset there may be some junk in the display
    memory at probe time, so in such a case the display memory is cleared
    before turning it on. The devicetree binding document is also updated.
    
    Cc: Rob Herring <robh+dt@kernel.org>
    Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
    Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
    Cc: Benoît Cousson <bcousson@baylibre.com>
    Signed-off-by: default avatarJyri Sarha <jsarha@ti.com>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
    fdde1a81
ssd1307fb.txt 2.04 KB