[PATCH 6/8] fbdev: ssd1307fb: Add module parameter to set update delay of the deffered io.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds the module parameter "delaydivider" to set delay for the deferred io. Effectively this is setting the refresh rate for mmap access to the framebuffer. The delay for the deferred io is HZ/delaydivider. Signed-off-by: Thomas Niederprüm ---

[PATCH 3/8] fbdev: ssd1307fb: Add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds support for the SSD1305 OLED controller. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/video/ssd1307fb.txt | 2 +- drivers/video/fbdev/ssd1307fb.c | 13 + 2 files changed, 14 insertions(+), 1

[PATCH 1/8] Documentation: dts: add missing Solomon Systech vendor prefix.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds the solomon prefix for Solomon Systech Limited. Signed-off-by: Thomas Niederprüm --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

[PATCH 2/8] fbdev: ssd1307fb: Unify init code and make controller configurable from device tree

2015-02-06 Thread niederp
From: Thomas Niederprüm This patches unifies the init code for the ssd130X chips and adds device tree bindings to describe the hardware configuration of the used controller. This gets rid of the magic bit values used in the init code so far. Signed-off-by: Thomas Niederprüm ---

[PATCH 5/8] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds a module parameter 'bitsperpixel' to adjust the colordepth of the framebuffer. All values >1 will result in memory map of the requested color depth. However only the MSB of each pixel will be sent to the device. The framebuffer identifies itself as a

[PATCH 0/8] Cleanup and add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch series is the result of making the ssd1307fb driver work with a Newhaven OLED display using the Solomon SSD1305 controller. To achieve this the intialization code for the SSD1306 and the SSD1307 is merged and based on device tree configuration. This gets rid of

[PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-06 Thread niederp
From: Thomas Niederprüm This patch adds sysfs handles to enable userspace control over the display contrast as well as the dim mode. The handles are available as "contrast" and "dim" in the framebuffers sysfs domain. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 88

[PATCH 8/8] fbdev: ssd1307fb: Turn off display on driver unload.

2015-02-06 Thread niederp
From: Thomas Niederprüm Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 02931c7..be91dfc 100644 --- a/drivers/video/fbdev/ssd1307fb.c +++

[PATCH 4/8] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-02-06 Thread niederp
From: Thomas Niederprüm It makes sense to use vmalloc to allocate the video buffer since it has to be page aligned memory for using it with mmap. Also deffered io seems buggy in combination with kmalloc'ed memory (crash on unloading the module). Signed-off-by: Thomas Niederprüm ---

[PATCH 5/8] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds a module parameter 'bitsperpixel' to adjust the colordepth of the framebuffer. All values 1 will result in memory map of the requested color depth. However only the MSB of each pixel will be sent to the device. The framebuffer

[PATCH 0/8] Cleanup and add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch series is the result of making the ssd1307fb driver work with a Newhaven OLED display using the Solomon SSD1305 controller. To achieve this the intialization code for the SSD1306 and the SSD1307 is merged and based on device tree

[PATCH 7/8] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds sysfs handles to enable userspace control over the display contrast as well as the dim mode. The handles are available as contrast and dim in the framebuffers sysfs domain. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de

[PATCH 8/8] fbdev: ssd1307fb: Turn off display on driver unload.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de --- drivers/video/fbdev/ssd1307fb.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 02931c7..be91dfc 100644

[PATCH 4/8] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de It makes sense to use vmalloc to allocate the video buffer since it has to be page aligned memory for using it with mmap. Also deffered io seems buggy in combination with kmalloc'ed memory (crash on unloading the module). Signed-off-by: Thomas

[PATCH 1/8] Documentation: dts: add missing Solomon Systech vendor prefix.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds the solomon prefix for Solomon Systech Limited. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/8] fbdev: ssd1307fb: Unify init code and make controller configurable from device tree

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patches unifies the init code for the ssd130X chips and adds device tree bindings to describe the hardware configuration of the used controller. This gets rid of the magic bit values used in the init code so far. Signed-off-by: Thomas

[PATCH 3/8] fbdev: ssd1307fb: Add support for SSD1305

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds support for the SSD1305 OLED controller. Signed-off-by: Thomas Niederprüm nied...@physik.uni-kl.de --- Documentation/devicetree/bindings/video/ssd1307fb.txt | 2 +- drivers/video/fbdev/ssd1307fb.c | 13

[PATCH 6/8] fbdev: ssd1307fb: Add module parameter to set update delay of the deffered io.

2015-02-06 Thread niederp
From: Thomas Niederprüm nied...@physik.uni-kl.de This patch adds the module parameter delaydivider to set delay for the deferred io. Effectively this is setting the refresh rate for mmap access to the framebuffer. The delay for the deferred io is HZ/delaydivider. Signed-off-by: Thomas Niederprüm