linux/drivers/video/fbdev
Marko Kohtala de6786bee4 video: ssd1307fb: Add devicetree configuration of display setup
Various displays have differences that only mean initializing the display
driver IC with different fixed register values. Defining these in
devicetree offers easier way to adapt the driver to new displays than
requiring a patch to the kernel.

This adds devicetree properties needed to make the initialization match
the example setup as offered by Densitron for their 128x36 display.

It also makes some old one bit parameter handling a little cleaner.

Signed-off-by: Marko Kohtala <marko.kohtala@okoko.fi>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Rob Herring <robh+dt@kernel.org>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Michal Vokáč <michal.vokac@ysoft.com>
[b.zolnierkie: fix parenthesis alignment]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190618074111.9309-7-marko.kohtala@okoko.fi
2019-07-23 17:26:56 +02:00
..
aty fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
core fbmem: remove redundant assignment to err 2019-07-23 17:14:22 +02:00
geode treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
i810
intelfb video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
kyro treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
matrox docs: fb: convert docs to ReST and rename to *.rst 2019-06-14 14:21:11 -06:00
mb862xx fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
mbx video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
mmp video: fbdev-MMP: Remove call to memset after dma_alloc_coherent 2019-07-23 17:17:12 +02:00
nvidia video: fbdev: nvidia: Remove dead code 2019-07-23 17:16:48 +02:00
omap video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
omap2 fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
riva video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
savage fbdev: make unregister/unlink functions not fail 2019-06-12 20:28:52 +02:00
sis treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 27 2019-05-24 17:27:10 +02:00
vermilion treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 63 2019-05-24 17:36:46 +02:00
via video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
68328fb.c
acornfb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
acornfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
amba-clcd.c video: amba-clcd: Decomission Versatile and Nomadik 2019-04-11 19:25:12 +02:00
amifb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
arcfb.c video: fbdev: arcfb: mark expected switch fall-through 2018-10-08 12:57:37 +02:00
arkfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
asiliantfb.c
atafb_iplan2p2.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_iplan2p4.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_iplan2p8.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_mfb.c fbdev: atafb: Remove obsolete module support 2019-04-01 17:46:55 +02:00
atafb_utils.h
atafb.c video: fbdev: atafb: remove superfluous function prototypes 2019-06-07 14:38:06 +02:00
atafb.h
atmel_lcdfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
au1100fb.c au1100fb: fix DMA API abuse 2019-06-03 16:00:08 +02:00
au1100fb.h au1100fb: fix DMA API abuse 2019-06-03 16:00:08 +02:00
au1200fb.c au1200fb: don't use DMA_ATTR_NON_CONSISTENT 2019-07-23 17:14:55 +02:00
au1200fb.h
broadsheetfb.c
bt431.h
bt455.h
bw2.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
c2p_core.h
c2p_iplan2.c
c2p_planar.c
c2p.h
carminefb_regs.h
carminefb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
carminefb.h
cg3.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
cg6.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
cg14.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
chipsfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
cirrusfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
clps711x-fb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cobalt_lcdfb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 2019-05-21 11:28:39 +02:00
controlfb.c video: fbdev: controlfb: fix warnings about comparing pointer to 0 2019-06-21 15:13:14 +02:00
controlfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
cyber2000fb.c fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
cyber2000fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
da8xx-fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
dnfb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
edid.h
efifb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
ep93xx-fb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
fb-puv3.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
ffb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
fm2fb.c
fsl-diu-fb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
g364fb.c
gbefb.c video: fbdev: gbefb: add COMPILE_TEST support 2019-06-07 14:38:07 +02:00
goldfishfb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
grvga.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
gxt4500.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
hecubafb.c
hgafb.c video: hgafb: fix potential NULL pointer dereference 2019-04-01 17:46:58 +02:00
hitfb.c
hpfb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
hyperv_fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
i740_reg.h
i740fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
imsttfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
imxfb.c video: fbdev: imxfb: fix a typo in imxfb_probe() 2019-07-05 17:42:13 +02:00
jz4740_fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
Kconfig It's been a relatively busy cycle for docs: 2019-07-09 12:34:26 -07:00
leo.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
macfb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 139 2019-05-30 11:25:16 -07:00
macmodes.c
macmodes.h
Makefile video: fbdev: mxsfb: Remove driver 2019-06-07 14:38:06 +02:00
maxinefb.c
metronomefb.c
mx3fb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
n411.c
neofb.c fbdev: make unregister/unlink functions not fail 2019-06-12 20:28:52 +02:00
nuc900fb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
nuc900fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ocfb.c
offb.c video: offb: annotate implicit fall throughs 2019-02-08 19:24:46 +01:00
p9100.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
platinumfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
platinumfb.h
pm2fb.c
pm3fb.c
pmag-aa-fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
pmag-ba-fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
pmagb-b-fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
ps3fb.c
pvr2fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
pxa3xx-gcu.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
pxa3xx-gcu.h
pxa168fb.c pxa168fb: trivial typo fix 2018-12-20 19:13:09 +01:00
pxa168fb.h
pxafb.c docs: fb: convert docs to ReST and rename to *.rst 2019-06-14 14:21:11 -06:00
pxafb.h
q40fb.c
s1d13xxxfb.c
s3c2410fb.c video: fbdev: Use dev_get_drvdata() 2019-05-06 15:57:47 +02:00
s3c2410fb.h
s3c-fb.c fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
s3fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
sa1100fb.c fbdev/sa1100fb: Remove dead code 2019-06-12 20:27:18 +02:00
sa1100fb.h
sbuslib.c fbdev: sbuslib: integer overflow in sbusfb_ioctl_helper() 2018-10-08 12:57:36 +02:00
sbuslib.h
sh7760fb.c docs: fb: convert docs to ReST and rename to *.rst 2019-06-14 14:21:11 -06:00
sh_mobile_lcdcfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
sh_mobile_lcdcfb.h fbdev/sh_mobile: remove sh_mobile_lcdc_display_notify 2019-06-12 20:28:11 +02:00
simplefb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288 2019-06-05 17:36:37 +02:00
skeletonfb.c
sm501fb.c fbdev changes for v5.3: 2019-07-09 09:55:45 -07:00
sm712.h fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display 2019-04-01 17:46:59 +02:00
sm712fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
smscufx.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
ssd1307fb.c video: ssd1307fb: Add devicetree configuration of display setup 2019-07-23 17:26:56 +02:00
sstfb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
sticore.h
stifb.c
sunxvr500.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
sunxvr1000.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
sunxvr2500.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
tcx.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
tdfxfb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
tgafb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
tmiofb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
tridentfb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
udlfb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
uvesafb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
valkyriefb.c powerpc, fbdev: Use NV_CMODE and NV_VMODE only when CONFIG_PPC32 && CONFIG_PPC_PMAC && CONFIG_NVRAM 2019-01-22 10:21:45 +01:00
valkyriefb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
vesafb.c treewide: Add SPDX license identifier for more missed files 2019-05-21 10:50:45 +02:00
vfb.c
vga16fb.c
vt8500lcdfb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
vt8500lcdfb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
vt8623fb.c video: fbdev: don't print error message on framebuffer_alloc() failure 2019-06-28 12:30:08 +02:00
w100fb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
w100fb.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
wm8505fb_regs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
wm8505fb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
wmt_ge_rops.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
wmt_ge_rops.h
xen-fbfront.c xen, fbfront: mark expected switch fall-through 2019-04-01 17:46:57 +02:00
xilinxfb.c