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

2015-03-20 Thread Thomas Niederprüm
Am Fri, 20 Mar 2015 16:24:29 +0100 schrieb Geert Uytterhoeven : > On Fri, Mar 20, 2015 at 3:47 PM, Maxime Ripard > wrote: > > On Fri, Mar 20, 2015 at 01:37:50PM +0200, Tomi Valkeinen wrote: > >> On 15/03/15 00:02, Geert Uytterhoeven wrote: > >> > On Fri,

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

2015-03-20 Thread Thomas Niederprüm
Am Fri, 20 Mar 2015 17:25:29 +0200 schrieb Tomi Valkeinen : > On 20/03/15 16:47, Maxime Ripard wrote: > > On Fri, Mar 20, 2015 at 01:37:50PM +0200, Tomi Valkeinen wrote: > >> On 15/03/15 00:02, Geert Uytterhoeven wrote: > >>> On Fri, Mar 13, 2015 at 10:31 PM,

Re: [PATCHv4 07/10] fbdev: ssd1307fb: Add a module parameter to set the refresh rate

2015-03-20 Thread Thomas Niederprüm
Am Thu, 19 Mar 2015 14:18:24 +0100 schrieb Maxime Ripard : > On Mon, Mar 16, 2015 at 06:11:55PM +0100, Thomas Niederprüm wrote: > > This patch adds the module parameter "refreshrate" to set delay for > > the deferred io. The refresh rate is given in units of Hertz. The &g

Re: [PATCHv4 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-20 Thread Thomas Niederprüm
Am Wed, 18 Mar 2015 20:27:19 +0100 schrieb Maxime Ripard : > Hi Thomas, > > On Mon, Mar 16, 2015 at 06:11:52PM +0100, Thomas Niederprüm wrote: > > The 130X controllers are very similar from the configuration point > > of view. The configuration registers for the SSD1305/6/7

[PATCHv6 10/10] fbdev: ssd1307fb: Add blank mode

2015-03-31 Thread Thomas Niederprüm
This patch adds ssd1307fb_blank() to make the framebuffer capable of blanking. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 77efed7

[PATCHv6 03/10] of: Add Solomon Systech vendor prefix.

2015-03-31 Thread 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 b/Documentation/devicetree

[PATCHv6 09/10] fbdev: ssd1307fb: add backlight controls for setting the contrast

2015-03-31 Thread Thomas Niederprüm
The backlight class is used to create userspace handles for setting the OLED contrast. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/Kconfig | 1 + drivers/video/fbdev/ssd1307fb.c | 58 + 2 files changed, 59

[PATCHv6 06/10] fbdev: ssd1307fb: Add support for SSD1305

2015-03-31 Thread 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 | 11 +++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a

[PATCHv6 07/10] fbdev: ssd1307fb: Add a module parameter to set the refresh rate

2015-03-31 Thread Thomas Niederprüm
ossible to change it individually. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c ind

[PATCHv6 01/10] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-31 Thread Thomas Niederprüm
memory due to an access to the wrong memory address. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index f7ed6d9

[PATCHv6 02/10] fbdev: ssd1307fb: Allocate page aligned video memory.

2015-03-31 Thread Thomas Niederprüm
ll is not able to access the video memory from the start to the next page boundary. This patch changes the allocation of the video memory to use __get_free_pages() in order to obtain memory that is aligned to page boundaries. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/

[PATCHv6 08/10] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-31 Thread Thomas Niederprüm
This patch turns off the display when the driver is unloaded. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 85eeda0

[PATCHv6 00/10] Cleanup and add support for SSD1305

2015-03-31 Thread Thomas Niederprüm
seq" - added one ACK (Maxime Ripard) - added Tested-by Olliver Schinagl Thomas Niederprüm (10): fbdev: ssd1307fb: fix memory address smem_start. fbdev: ssd1307fb: Allocate page aligned video memory. of: Add Solomon Systech vendor prefix. fbdev: ssd1307fb: Unify init code and obtain

[PATCHv6 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-31 Thread Thomas Niederprüm
onfiguration written to the registers at all. Therefore this patch does not try to maintain these values without changes in DT. For reference an example is added to the DT bindings documentation that reproduces the configuration that is set in the current init code. Signed-off-by: Thomas Niederprü

[PATCHv6 05/10] ARM: mxs: fix in tree users of ssd1306

2015-03-31 Thread Thomas Niederprüm
This patch updates the in tree-users of the SSD1306 controller for using the newly introduced DT properties. Signed-off-by: Thomas Niederprüm --- arch/arm/boot/dts/imx28-cfa10036.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts

[PATCH] fbdev: ssd1307fb: fix logical error

2015-05-25 Thread Thomas Niederprüm
The logical not needs to be done after the bit masking. Fixes: a3998fe03e87 ("fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT") Signed-off-by: Thomas Niederprüm Reported-by: Dan Carpenter --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 inser

[PATCHv3 10/10] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-09 Thread Thomas Niederprüm
This patch turns off the display when the driver is unloaded. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index fee6324

[PATCHv3 05/10] ARM: mxs: fix in tree users of ssd1306

2015-03-09 Thread Thomas Niederprüm
This patch updates the in tree-users of the SSD1306 controller for using the newly introduced DT properties. Signed-off-by: Thomas Niederprüm --- arch/arm/boot/dts/imx28-cfa10036.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot

[PATCHv3 01/10] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-09 Thread Thomas Niederprüm
, while the address presented on a mmap call is aligned to the next page boudary. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev

[PATCHv3 00/10] fbdev: ssd1307fb: Cleanup and add support for SSD1305

2015-03-09 Thread Thomas Niederprüm
es to in tree users of ssd130X - rebased to apply on top of linux-next changes since v2 (thanks to Maxime again): - free memory allocated by vmalloc on driver unload - set default values in the init code to the ones of the existing ssd1307 init code - added two ACKs (Maxime Ripard) Thomas Niede

[PATCHv3 06/10] fbdev: ssd1307fb: Add support for SSD1305

2015-03-09 Thread 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 deletion(-) diff --git a

[PATCHv3 08/10] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-03-09 Thread Thomas Niederprüm
play with the specified depth. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 7c8e627..3cf4da1 100644 --- a/

[PATCHv3 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-09 Thread Thomas Niederprüm
onfiguration written to the registers at all. Therefore this patch does not try to maintain these values without changes in DT. For reference an example is added to the DT bindings documentation that reproduces the configuration that is set in the current init code. Signed-off-by: Thomas Niederprüm -

[PATCHv3 09/10] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-09 Thread 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/fb

[PATCHv3 02/10] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-03-09 Thread 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 --- drivers/video/fbdev/ssd1307fb.

[PATCHv3 03/10] of: Add Solomon Systech vendor prefix.

2015-03-09 Thread 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 b/Documentation/devicetree

[PATCHv3 07/10] fbdev: ssd1307fb: Add module parameter to set refresh rate of the display

2015-03-09 Thread Thomas Niederprüm
This patch adds the module parameter "refreshrate" to set delay for the deferred io. The refresh rate is given in units of Hertz. The default refresh rate is 1 Hz. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 23 +-- 1 file changed, 17

[PATCHv5 02/11] fbdev: ssd1307fb: Allocate page aligned video memory.

2015-03-24 Thread Thomas Niederprüm
ll is not able to access the video memory from the start to the next page boundary. This patch changes the allocation of the video memory to use __get_free_pages() in order to obtain memory that is aligned to page boundaries. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/

[PATCHv5 07/11] fbdev: ssd1307fb: Add a module parameter to set the refresh rate

2015-03-24 Thread Thomas Niederprüm
ossible to change it individually. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 284c527..b38973e 100644 ---

[PATCHv5 11/11] fbdev: ssd1307fb: Add blank mode

2015-03-24 Thread Thomas Niederprüm
This patch adds ssd1307fb_blank() to make the framebuffer capable of blanking. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 061cc95

[PATCHv5 09/11] fbdev: ssd1307fb: Add module parameter to set the initial contrast

2015-03-24 Thread Thomas Niederprüm
This patch adds the module parameter "contrast" to determine the contrast value that is used to initialize the display. This setting applies to all instances of the driver. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 5 - 1 file changed, 4 insert

[PATCHv5 08/11] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-24 Thread Thomas Niederprüm
This patch turns off the display when the driver is unloaded. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index b38973e

[PATCHv5 00/11] Cleanup and add support for SSD1305

2015-03-24 Thread Thomas Niederprüm
ipard) - fixed typo: s/REFRASHRATE/REFRESHRATE - updated the documentation to make clear the unit of com-offset - move addition of the module parameter contrast to a separate patch (09/11) - fix indentation errors - get rid of device_id in the device_info struct Thomas Niederprüm (11):

[PATCHv5 01/11] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-24 Thread Thomas Niederprüm
memory due to an access to the wrong memory address. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index f7ed6d9

[PATCHv5 10/11] fbdev: ssd1307fb: add backlight controls for setting the contrast

2015-03-24 Thread Thomas Niederprüm
The backlight class is used to create userspace handles for setting the OLED contrast. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/Kconfig | 1 + drivers/video/fbdev/ssd1307fb.c | 58 + 2 files changed, 59

[PATCHv5 04/11] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-24 Thread Thomas Niederprüm
onfiguration written to the registers at all. Therefore this patch does not try to maintain these values without changes in DT. For reference an example is added to the DT bindings documentation that reproduces the configuration that is set in the current init code. Signed-off-by: Thomas

[PATCHv5 05/11] ARM: mxs: fix in tree users of ssd1306

2015-03-24 Thread Thomas Niederprüm
This patch updates the in tree-users of the SSD1306 controller for using the newly introduced DT properties. Signed-off-by: Thomas Niederprüm --- arch/arm/boot/dts/imx28-cfa10036.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts

[PATCHv5 03/11] of: Add Solomon Systech vendor prefix.

2015-03-24 Thread 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 b/Documentation/devicetree

[PATCHv5 06/11] fbdev: ssd1307fb: Add support for SSD1305

2015-03-24 Thread 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 deletion(-) diff --git a

Re: [PATCHv5 04/11] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-25 Thread Thomas Niederprüm
Am Tue, 24 Mar 2015 15:14:28 -0700 schrieb Maxime Ripard : > On Tue, Mar 24, 2015 at 10:23:51PM +0100, Thomas Niederprüm wrote: > > The 130X controllers are very similar from the configuration point > > of view. The configuration registers for the SSD1305/6/7 are bit > > iden

Re: [PATCHv5 04/11] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-25 Thread Thomas Niederprüm
s for > that after testing your patch-set. Yeah, it turned out to be quite some work. But I'm glad to see that it might turn out useful for you and I'm looking forward to see support added for even more controllers. > On 24-03-15 22:23, Thomas Niederprüm wrote: > > The 13

Re: [PATCHv5 09/11] fbdev: ssd1307fb: Add module parameter to set the initial contrast

2015-03-25 Thread Thomas Niederprüm
Am Tue, 24 Mar 2015 15:16:36 -0700 schrieb Maxime Ripard : > On Tue, Mar 24, 2015 at 10:23:56PM +0100, Thomas Niederprüm wrote: > > This patch adds the module parameter "contrast" to determine the > > contrast value that is used to initialize the display. This > > s

Re: [PATCHv5 11/11] fbdev: ssd1307fb: Add blank mode

2015-03-25 Thread Thomas Niederprüm
Am Wed, 25 Mar 2015 16:50:05 +0100 schrieb Olliver Schinagl : > Hey Thomas, > > On 24-03-15 22:23, Thomas Niederprüm wrote: > > This patch adds ssd1307fb_blank() to make the framebuffer capable > > of blanking. > > > > Signed-off-by: Thomas Niederprüm

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

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 13:28:25 +0200 schrieb Tomi Valkeinen : > On 14/02/15 16:22, Thomas Niederprüm wrote: > > Am Thu, 12 Feb 2015 16:11:21 +0100 > > schrieb Maxime Ripard : > > > >> On Sat, Feb 07, 2015 at 04:35:41PM +0100, Thomas Niederprüm wrote: > >

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

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 12:45:49 +0200 schrieb Tomi Valkeinen : > On 14/02/15 17:54, Maxime Ripard wrote: > > On Sat, Feb 07, 2015 at 05:05:03PM +0100, Thomas Niederprüm wrote: > >> Am Sat, 7 Feb 2015 12:20:43 +0100 > >> schrieb Maxime Ripard : > >> > >&

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

2015-03-13 Thread Thomas Niederprüm
Am Tue, 10 Mar 2015 12:49:19 +0200 schrieb Tomi Valkeinen : > On 09/02/15 10:52, Maxime Ripard wrote: > > On Sat, Feb 07, 2015 at 05:42:44PM +0100, Thomas Niederprüm wrote: > >>>> +static struct device_attribute device_attrs[] = { > >>>> +__ATTR(c

[PATCHv4 10/10] fbdev: ssd1307fb: Add blank mode

2015-03-16 Thread Thomas Niederprüm
This patch adds ssd1307fb_blank() to make the framebuffer capable of blanking. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 13 + 1 file changed, 13 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 4ebfcaf

[PATCHv4 09/10] fbdev: ssd1307fb: add backlight controls for setting the contrast

2015-03-16 Thread Thomas Niederprüm
The backlight class is used to create userspace handles for setting the OLED contrast. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/Kconfig | 1 + drivers/video/fbdev/ssd1307fb.c | 58 + 2 files changed, 59 insertions(+) diff --git a

[PATCHv4 07/10] fbdev: ssd1307fb: Add a module parameter to set the refresh rate

2015-03-16 Thread Thomas Niederprüm
ossible to change it individually. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 23 +-- 1 file changed, 17 insertions(+), 6 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 6fecec8..8a8d305 100644 ---

[PATCHv4 02/10] fbdev: ssd1307fb: Allocate page aligned video memory.

2015-03-16 Thread Thomas Niederprüm
ll is not able to access the video memory from the start to the next page boundary. This patch changes the allocation of the video memory to use __get_free_pages() in order to obtain memory that is aligned to page boundaries. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.

[PATCHv4 00/10] Cleanup and add support for SSD1305

2015-03-16 Thread Thomas Niederprüm
: Add module parameter bitsperpixel - add new patch to blank the display (unreviewed) - allocate video memory through __get_free_pages() rather than vmalloc (Thanks to Geert Uytterhoeven) - minor rewordings of the commit messages Thomas Niederprüm (10): fbdev: ssd1307fb: fix memory address smem_

[PATCHv4 08/10] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-16 Thread Thomas Niederprüm
This patch turns off the display when the driver is unloaded. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 8a8d305

[PATCHv4 01/10] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-16 Thread Thomas Niederprüm
memory due to an access to the wrong memory address. Signed-off-by: Thomas Niederprüm Acked-by: Maxime Ripard --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index f7ed6d9

[PATCHv4 03/10] of: Add Solomon Systech vendor prefix.

2015-03-16 Thread 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 b/Documentation/devicetree

[PATCHv4 06/10] fbdev: ssd1307fb: Add support for SSD1305

2015-03-16 Thread 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 deletion(-) diff --git a

[PATCHv4 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-16 Thread Thomas Niederprüm
onfiguration written to the registers at all. Therefore this patch does not try to maintain these values without changes in DT. For reference an example is added to the DT bindings documentation that reproduces the configuration that is set in the current init code. Signed-off-by: Thomas Niederprüm -

[PATCHv4 05/10] ARM: mxs: fix in tree users of ssd1306

2015-03-16 Thread Thomas Niederprüm
This patch updates the in tree-users of the SSD1306 controller for using the newly introduced DT properties. Signed-off-by: Thomas Niederprüm --- arch/arm/boot/dts/imx28-cfa10036.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts

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

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 11:42:25 +0100 schrieb Maxime Ripard : > Hi, > > On Fri, Feb 06, 2015 at 11:28:08PM +0100, nied...@physik.uni-kl.de > wrote: > > From: Thomas Niederprüm > > > > This patches unifies the init code for the ssd130X chips and > > adds

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

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 12:18:21 +0100 schrieb Maxime Ripard : > Hi, > > On Fri, Feb 06, 2015 at 11:28:10PM +0100, nied...@physik.uni-kl.de > wrote: > > From: Thomas Niederprüm > > > > It makes sense to use vmalloc to allocate the video buffer since it > > has to

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

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 12:20:43 +0100 schrieb Maxime Ripard : > On Fri, Feb 06, 2015 at 11:28:11PM +0100, nied...@physik.uni-kl.de > wrote: > > From: Thomas Niederprüm > > > > This patch adds a module parameter 'bitsperpixel' to adjust the > > colordept

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

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 12:26:27 +0100 schrieb Maxime Ripard : > On Fri, Feb 06, 2015 at 11:28:12PM +0100, nied...@physik.uni-kl.de > wrote: > > From: Thomas Niederprüm > > > > This patch adds the module parameter "delaydivider" to set delay > > for the defe

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

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 12:43:29 +0100 schrieb Maxime Ripard : > On Fri, Feb 06, 2015 at 11:28:13PM +0100, nied...@physik.uni-kl.de > wrote: > > From: Thomas Niederprüm > > > > This patch adds sysfs handles to enable userspace control over the > > display contras

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

2015-02-07 Thread Thomas Niederprüm
Am Sat, 7 Feb 2015 12:45:34 +0100 schrieb Maxime Ripard : > On Fri, Feb 06, 2015 at 11:28:14PM +0100, nied...@physik.uni-kl.de > wrote: > > From: Thomas Niederprüm > > > > A commit log is always nice :) Will be added. > > > Signed-off-by: Thomas Niederprüm

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

2015-02-09 Thread Thomas Niederprüm
Am Samstag, den 07.02.2015, 16:19 +0100 schrieb Noralf Trønnes: > Hi, > > Den 07.02.2015 15:59, skrev Thomas Niederprüm: > > Am Sat, 7 Feb 2015 11:42:25 +0100 > > schrieb Maxime Ripard : > > > >> Hi, > >> > >> On Fri, Feb 06, 2015 at

Re: [PATCHv2 02/10] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-03-03 Thread Thomas Niederprüm
Am Tue, 3 Mar 2015 09:52:55 +0100 schrieb Maxime Ripard : > Hi, > > On Sun, Mar 01, 2015 at 11:27:55PM +0100, Thomas Niederprüm wrote: > > 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

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

2015-02-14 Thread Thomas Niederprüm
Am Thu, 12 Feb 2015 16:11:21 +0100 schrieb Maxime Ripard : > On Sat, Feb 07, 2015 at 04:35:41PM +0100, Thomas Niederprüm wrote: > > Am Sat, 7 Feb 2015 12:18:21 +0100 > > schrieb Maxime Ripard : > > > > > Hi, > > > > > > On Fri, Feb 06, 20

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

2015-02-14 Thread Thomas Niederprüm
Am Thu, 12 Feb 2015 17:41:47 +0100 schrieb Maxime Ripard : > On Sat, Feb 07, 2015 at 03:59:33PM +0100, Thomas Niederprüm wrote: > > Am Sat, 7 Feb 2015 11:42:25 +0100 > > schrieb Maxime Ripard : > > > > > Hi, > > > > > > On Fri, Feb 06, 20

[PATCHv2 02/10] fbdev: ssd1307fb: Use vmalloc to allocate video memory.

2015-03-01 Thread 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 --- drivers/video/fbdev/ssd1307fb.

[PATCHv2 08/10] fbdev: ssd1307fb: Add module parameter bitsperpixel.

2015-03-01 Thread Thomas Niederprüm
play with the specified depth. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index ea58e87..5bf570b 100644 --- a/

[PATCHv2 10/10] fbdev: ssd1307fb: Turn off display on driver unload.

2015-03-01 Thread Thomas Niederprüm
This patch turns off the display when the driver is unloaded. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index 2a2e7c3..3b7a69f 100644 --- a/drivers

[PATCHv2 07/10] fbdev: ssd1307fb: Add module parameter to set refresh rate of the display

2015-03-01 Thread Thomas Niederprüm
This patch adds the module parameter "refreshrate" to set delay for the deferred io. The refresh rate is given in units of Hertz. The default refresh rate is 1 Hz. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 23 +-- 1 file changed, 17

[PATCHv2 09/10] fbdev: ssd1307fb: Add sysfs handles to expose contrast and dim setting to userspace.

2015-03-01 Thread 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 brightness group of the framebuffers sysfs domain. Signed-off-by: Thomas Niederprüm --- drivers/video/fb

[PATCHv2 06/10] fbdev: ssd1307fb: Add support for SSD1305

2015-03-01 Thread 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 deletion(-) diff --git a

[PATCHv2 05/10] fbdev: ssd1307fb: fix in tree users of ssd1306

2015-03-01 Thread Thomas Niederprüm
introducing the new DT properties the in tree users of the SSD1306 controller are updated to be up to date. Signed-off-by: Thomas Niederprüm --- arch/arm/boot/dts/imx28-cfa10036.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/imx28-cfa10036.dts b/arch/arm/boot/dts

[PATCHv2 01/10] fbdev: ssd1307fb: fix memory address smem_start.

2015-03-01 Thread Thomas Niederprüm
, while the address presented on a mmap call is aligned to the next page boudary. Signed-off-by: Thomas Niederprüm --- drivers/video/fbdev/ssd1307fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c index

[PATCHv2 03/10] Documentation: dts: add missing Solomon Systech vendor prefix.

2015-03-01 Thread 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 b/Documentation/devicetree

[PATCHv2 04/10] fbdev: ssd1307fb: Unify init code and obtain hw specific bits from DT

2015-03-01 Thread Thomas Niederprüm
at all. Nevertheless an example is added to the DT bindings documentation that would lead to the same configuration as the current init code. Signed-off-by: Thomas Niederprüm --- .../devicetree/bindings/video/ssd1307fb.txt| 22 +++ drivers/video/fbdev/ssd1307fb.c| 195

[PATCHv2 00/10] fbdev: ssd1307fb: Cleanup and add support for SSD1305

2015-03-01 Thread Thomas Niederprüm
es to in tree users of ssd130X - rebased to apply on top of linux-nextThis patch series is the result of making the ssd1307fb driver work with Thomas Niederprüm (10): fbdev: ssd1307fb: fix memory address smem_start. fbdev: ssd1307fb: Use vmalloc to allocate video memory. Documentation: dts