[PATCH v3 1/7] drm: Add DRM support for tiny LCD displays

2017-01-31 Thread Noralf Trønnes
tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Acked-by: Daniel Vetter <daniel.vet...@ffwll.ch> --- Changes since version 2: - Remove fbdev after drm unregister

[PATCH v3 1/7] drm: Add DRM support for tiny LCD displays

2017-01-31 Thread Noralf Trønnes
tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes Acked-by: Daniel Vetter --- Changes since version 2: - Remove fbdev after drm unregister, not before. Changes since version 1: - Add tinydrm.rst

[PATCH v3 7/7] drm/tinydrm: Add support for Multi-Inno MI0283QT display

2017-01-31 Thread Noralf Trønnes
Add driver to support the Multi-Inno MI0283QT display panel. It has an ILI9341 MIPI DBI compatible display controller. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- MAINTAINERS| 6 + drivers/gpu/drm/tinydrm/Kconfig| 8 ++ drivers/gpu/drm/tinydrm/Ma

[PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support

2017-01-31 Thread Noralf Trønnes
Add support for MIPI DBI compatible controllers. Interface type C option 1 and 3 are supported (SPI). Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Documentation/gpu/tinydrm.rst | 12 + drivers/gpu/drm/tinydrm/Kconfig|3 + drivers/gpu/drm/tinydrm/Makefile

[PATCH v3 7/7] drm/tinydrm: Add support for Multi-Inno MI0283QT display

2017-01-31 Thread Noralf Trønnes
Add driver to support the Multi-Inno MI0283QT display panel. It has an ILI9341 MIPI DBI compatible display controller. Signed-off-by: Noralf Trønnes --- MAINTAINERS| 6 + drivers/gpu/drm/tinydrm/Kconfig| 8 ++ drivers/gpu/drm/tinydrm/Makefile | 3 + drivers

[PATCH v3 3/7] drm/tinydrm: Add MIPI DBI support

2017-01-31 Thread Noralf Trønnes
Add support for MIPI DBI compatible controllers. Interface type C option 1 and 3 are supported (SPI). Signed-off-by: Noralf Trønnes --- Documentation/gpu/tinydrm.rst | 12 + drivers/gpu/drm/tinydrm/Kconfig|3 + drivers/gpu/drm/tinydrm/Makefile |3 + drivers/gpu/drm/tinydrm

[PATCH v3 5/7] dt-bindings: display: Add common rotation property

2017-01-31 Thread Noralf Trønnes
Display panels can be oriented many ways, especially in the embedded world. The rotation property is a way to describe this orientation. The counter clockwise direction is chosen because that's what fbdev and drm use. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Documen

[PATCH v3 5/7] dt-bindings: display: Add common rotation property

2017-01-31 Thread Noralf Trønnes
Display panels can be oriented many ways, especially in the embedded world. The rotation property is a way to describe this orientation. The counter clockwise direction is chosen because that's what fbdev and drm use. Signed-off-by: Noralf Trønnes --- Documentation/devicetree/bindings/display

[PATCH v3 4/7] of: Add vendor prefix for Multi-Inno

2017-01-31 Thread Noralf Trønnes
Multi-Inno Technology Co.,Ltd is a Hong Kong based company offering LCD, LCD module products and complete panel solutions. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Acked-by: Rob Herring <r...@kernel.org> --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 fil

[PATCH v3 0/7] drm: Add support for tiny LCD displays

2017-01-31 Thread Noralf Trønnes
c code. - Added support for partial display updates. Noralf Trønnes (7): drm: Add DRM support for tiny LCD displays drm/tinydrm: Add helper functions drm/tinydrm: Add MIPI DBI support of: Add vendor prefix for Multi-Inno dt-bindings: display: Add common rotation property dt-bindings: Add

[PATCH v3 4/7] of: Add vendor prefix for Multi-Inno

2017-01-31 Thread Noralf Trønnes
Multi-Inno Technology Co.,Ltd is a Hong Kong based company offering LCD, LCD module products and complete panel solutions. Signed-off-by: Noralf Trønnes Acked-by: Rob Herring --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH v3 0/7] drm: Add support for tiny LCD displays

2017-01-31 Thread Noralf Trønnes
c code. - Added support for partial display updates. Noralf Trønnes (7): drm: Add DRM support for tiny LCD displays drm/tinydrm: Add helper functions drm/tinydrm: Add MIPI DBI support of: Add vendor prefix for Multi-Inno dt-bindings: display: Add common rotation property dt-bindings: Add

[PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-01-31 Thread Noralf Trønnes
Add common functionality needed by many tinydrm drivers. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Acked-by: Daniel Vetter <daniel.vet...@ffwll.ch> --- Documentation/gpu/tinydrm.rst | 9 + drivers/gpu/drm/tinydrm/core/Makefile | 2 +- dri

[PATCH v3 2/7] drm/tinydrm: Add helper functions

2017-01-31 Thread Noralf Trønnes
Add common functionality needed by many tinydrm drivers. Signed-off-by: Noralf Trønnes Acked-by: Daniel Vetter --- Documentation/gpu/tinydrm.rst | 9 + drivers/gpu/drm/tinydrm/core/Makefile | 2 +- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 462

[PATCH v3 6/7] dt-bindings: Add Multi-Inno MI0283QT binding

2017-01-31 Thread Noralf Trønnes
Add device-tree binding documentation for the MI0283QT display panel. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Datasheet: https://cdn-shop.adafruit.com/datasheets/MI0283QT-11+V1.1.PDF .../bindings/display/multi-inno,mi0283qt.txt | 27 ++ 1 file c

[PATCH v3 6/7] dt-bindings: Add Multi-Inno MI0283QT binding

2017-01-31 Thread Noralf Trønnes
Add device-tree binding documentation for the MI0283QT display panel. Signed-off-by: Noralf Trønnes --- Datasheet: https://cdn-shop.adafruit.com/datasheets/MI0283QT-11+V1.1.PDF .../bindings/display/multi-inno,mi0283qt.txt | 27 ++ 1 file changed, 27 insertions

Re: [PATCH v2 0/2] drm: Add support for tiny LCD displays

2017-01-30 Thread Noralf Trønnes
Den 30.01.2017 19.06, skrev Daniel Vetter: On Mon, Jan 30, 2017 at 04:03:53PM +0100, Noralf Trønnes wrote: Den 30.01.2017 09.44, skrev Daniel Vetter: Hi Noralf, On Fri, Jan 27, 2017 at 08:56:29PM +0100, Noralf Trønnes wrote: This is an attempt at providing a DRM version of drivers/staging

Re: [PATCH v2 0/2] drm: Add support for tiny LCD displays

2017-01-30 Thread Noralf Trønnes
Den 30.01.2017 19.06, skrev Daniel Vetter: On Mon, Jan 30, 2017 at 04:03:53PM +0100, Noralf Trønnes wrote: Den 30.01.2017 09.44, skrev Daniel Vetter: Hi Noralf, On Fri, Jan 27, 2017 at 08:56:29PM +0100, Noralf Trønnes wrote: This is an attempt at providing a DRM version of drivers/staging

Re: [PATCH v2 0/2] drm: Add support for tiny LCD displays

2017-01-30 Thread Noralf Trønnes
Den 30.01.2017 09.44, skrev Daniel Vetter: Hi Noralf, On Fri, Jan 27, 2017 at 08:56:29PM +0100, Noralf Trønnes wrote: This is an attempt at providing a DRM version of drivers/staging/fbtft. The tinydrm library provides a very simplified view of DRM in particular for tiny displays that has

Re: [PATCH v2 0/2] drm: Add support for tiny LCD displays

2017-01-30 Thread Noralf Trønnes
Den 30.01.2017 09.44, skrev Daniel Vetter: Hi Noralf, On Fri, Jan 27, 2017 at 08:56:29PM +0100, Noralf Trønnes wrote: This is an attempt at providing a DRM version of drivers/staging/fbtft. The tinydrm library provides a very simplified view of DRM in particular for tiny displays that has

[PATCH v2 1/2] drm: Add DRM support for tiny LCD displays

2017-01-27 Thread Noralf Trønnes
tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Changes since version 1: - Add tinydrm.rst - Set tdev->fbdev_cma=NULL on unregister (lastclose is cal

[PATCH v2 1/2] drm: Add DRM support for tiny LCD displays

2017-01-27 Thread Noralf Trønnes
tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes --- Changes since version 1: - Add tinydrm.rst - Set tdev->fbdev_cma=NULL on unregister (lastclose is called after that). - Remove some DRM_DE

[PATCH v2 2/2] drm/tinydrm: Add helper functions

2017-01-27 Thread Noralf Trønnes
Add common functionality needed by many tinydrm drivers. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Changes since version 1: - Remove some DRM_DEBUG*() - Write-combined memory has uncached reads, so speed up by copying/buffering one pixel line before conversion. Documentati

[PATCH v2 2/2] drm/tinydrm: Add helper functions

2017-01-27 Thread Noralf Trønnes
Add common functionality needed by many tinydrm drivers. Signed-off-by: Noralf Trønnes --- Changes since version 1: - Remove some DRM_DEBUG*() - Write-combined memory has uncached reads, so speed up by copying/buffering one pixel line before conversion. Documentation/gpu/tinydrm.rst

[PATCH v2 0/2] drm: Add support for tiny LCD displays

2017-01-27 Thread Noralf Trønnes
since version 1: - Add tinydrm.rst - Set tdev->fbdev_cma=NULL on unregister (lastclose is called after that). - Remove some DRM_DEBUG*() - Write-combined memory has uncached reads, so speed up by copying/buffering one pixel line before conversion. Noralf Trønnes (2): drm: Add DRM support for t

[PATCH v2 0/2] drm: Add support for tiny LCD displays

2017-01-27 Thread Noralf Trønnes
since version 1: - Add tinydrm.rst - Set tdev->fbdev_cma=NULL on unregister (lastclose is called after that). - Remove some DRM_DEBUG*() - Write-combined memory has uncached reads, so speed up by copying/buffering one pixel line before conversion. Noralf Trønnes (2): drm: Add DRM support for t

Re: [PATCH 4/9] drm: Add DRM support for tiny LCD displays

2017-01-24 Thread Noralf Trønnes
Den 23.01.2017 10.28, skrev Daniel Vetter: On Sun, Jan 22, 2017 at 07:11:12PM +0100, Noralf Trønnes wrote: tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Looks all

Re: [PATCH 4/9] drm: Add DRM support for tiny LCD displays

2017-01-24 Thread Noralf Trønnes
Den 23.01.2017 10.28, skrev Daniel Vetter: On Sun, Jan 22, 2017 at 07:11:12PM +0100, Noralf Trønnes wrote: tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes Looks all pretty. A bunch of ideas

[PATCH 6/9] drm/tinydrm: Add MIPI DBI support

2017-01-22 Thread Noralf Trønnes
Add support for MIPI DBI compatible controllers. Interface type C option 1 and 3 are supported (SPI). Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Documentation/gpu/drm-kms-helpers.rst | 12 + drivers/gpu/drm/tinydrm/Kconfig |3 + drivers/gpu/drm/tinydrm/Ma

[PATCH 6/9] drm/tinydrm: Add MIPI DBI support

2017-01-22 Thread Noralf Trønnes
Add support for MIPI DBI compatible controllers. Interface type C option 1 and 3 are supported (SPI). Signed-off-by: Noralf Trønnes --- Documentation/gpu/drm-kms-helpers.rst | 12 + drivers/gpu/drm/tinydrm/Kconfig |3 + drivers/gpu/drm/tinydrm/Makefile |3 + drivers/gpu/drm

[PATCH 9/9] drm/tinydrm: Add support for Multi-Inno MI0283QT display

2017-01-22 Thread Noralf Trønnes
Add driver to support the Multi-Inno MI0283QT display panel. It has an ILI9341 MIPI DBI compatible display controller. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- MAINTAINERS| 6 + drivers/gpu/drm/tinydrm/Kconfig| 8 ++ drivers/gpu/drm/tinydrm/Ma

[PATCH 9/9] drm/tinydrm: Add support for Multi-Inno MI0283QT display

2017-01-22 Thread Noralf Trønnes
Add driver to support the Multi-Inno MI0283QT display panel. It has an ILI9341 MIPI DBI compatible display controller. Signed-off-by: Noralf Trønnes --- MAINTAINERS| 6 + drivers/gpu/drm/tinydrm/Kconfig| 8 ++ drivers/gpu/drm/tinydrm/Makefile | 3 + drivers

[PATCH 7/9] of: Add vendor prefix for Multi-Inno

2017-01-22 Thread Noralf Trønnes
Multi-Inno Technology Co.,Ltd is a Hong Kong based company offering LCD, LCD module products and complete panel solutions. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff

[PATCH 8/9] dt-bindings: Add Multi-Inno MI0283QT binding

2017-01-22 Thread Noralf Trønnes
Add device-tree binding documentation for the MI0283QT display panel. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Datasheet: https://cdn-shop.adafruit.com/datasheets/MI0283QT-11+V1.1.PDF .../bindings/display/multi-inno,mi0283qt.txt | 27 ++ 1 file c

[PATCH 7/9] of: Add vendor prefix for Multi-Inno

2017-01-22 Thread Noralf Trønnes
Multi-Inno Technology Co.,Ltd is a Hong Kong based company offering LCD, LCD module products and complete panel solutions. Signed-off-by: Noralf Trønnes --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree

[PATCH 8/9] dt-bindings: Add Multi-Inno MI0283QT binding

2017-01-22 Thread Noralf Trønnes
Add device-tree binding documentation for the MI0283QT display panel. Signed-off-by: Noralf Trønnes --- Datasheet: https://cdn-shop.adafruit.com/datasheets/MI0283QT-11+V1.1.PDF .../bindings/display/multi-inno,mi0283qt.txt | 27 ++ 1 file changed, 27 insertions

[PATCH 4/9] drm: Add DRM support for tiny LCD displays

2017-01-22 Thread Noralf Trønnes
tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Documentation/gpu/drm-kms-helpers.rst | 15 ++ MAINTAINERS | 7 + drivers/g

[PATCH 4/9] drm: Add DRM support for tiny LCD displays

2017-01-22 Thread Noralf Trønnes
tinydrm provides helpers for very simple displays that can use CMA backed framebuffers and need flushing on changes. Signed-off-by: Noralf Trønnes --- Documentation/gpu/drm-kms-helpers.rst | 15 ++ MAINTAINERS | 7 + drivers/gpu/drm/Kconfig

[PATCH 5/9] drm/tinydrm: Add helper functions

2017-01-22 Thread Noralf Trønnes
Add common functionality needed by many tinydrm drivers. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- Documentation/gpu/drm-kms-helpers.rst | 6 + drivers/gpu/drm/tinydrm/core/Makefile | 2 +- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c

[PATCH 5/9] drm/tinydrm: Add helper functions

2017-01-22 Thread Noralf Trønnes
Add common functionality needed by many tinydrm drivers. Signed-off-by: Noralf Trønnes --- Documentation/gpu/drm-kms-helpers.rst | 6 + drivers/gpu/drm/tinydrm/core/Makefile | 2 +- drivers/gpu/drm/tinydrm/core/tinydrm-helpers.c | 490 + include/drm

[PATCH 1/9] drm/fb-cma-helper: Add drm_fbdev_cma_set_suspend_unlocked()

2017-01-22 Thread Noralf Trønnes
Add a CMA version of drm_fb_helper_set_suspend_unlocked(). Cc: laurent.pinch...@ideasonboard.com Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- drivers/gpu/drm/drm_fb_cma_helper.c | 18 ++ include/drm/drm_fb_cma_helper.h | 2 ++ 2 files changed, 20 inse

[PATCH 1/9] drm/fb-cma-helper: Add drm_fbdev_cma_set_suspend_unlocked()

2017-01-22 Thread Noralf Trønnes
Add a CMA version of drm_fb_helper_set_suspend_unlocked(). Cc: laurent.pinch...@ideasonboard.com Signed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_fb_cma_helper.c | 18 ++ include/drm/drm_fb_cma_helper.h | 2 ++ 2 files changed, 20 insertions(+) diff --git a/drivers

[PATCH 2/9] drm: debugfs: Remove all files automatically on cleanup

2017-01-22 Thread Noralf Trønnes
ed-off-by: Noralf Trønnes <nor...@tronnes.org> --- drivers/gpu/drm/drm_debugfs.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index 37fd612..0510ce2 100644 --- a/drivers/gpu/drm/drm_deb

[PATCH 3/9] drm/simple-helpers: Add missing includes

2017-01-22 Thread Noralf Trønnes
Add missing includes to pull in definitions for drm_crtc, drm_plane and drm_encoder. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- include/drm/drm_simple_kms_helper.h | 4 1 file changed, 4 insertions(+) diff --git a/include/drm/drm_simple_kms_helper.h b/inclu

[PATCH 2/9] drm: debugfs: Remove all files automatically on cleanup

2017-01-22 Thread Noralf Trønnes
ed-off-by: Noralf Trønnes --- drivers/gpu/drm/drm_debugfs.c | 17 +++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/drm_debugfs.c b/drivers/gpu/drm/drm_debugfs.c index 37fd612..0510ce2 100644 --- a/drivers/gpu/drm/drm_debugfs.c +++ b/drivers/g

[PATCH 3/9] drm/simple-helpers: Add missing includes

2017-01-22 Thread Noralf Trønnes
Add missing includes to pull in definitions for drm_crtc, drm_plane and drm_encoder. Signed-off-by: Noralf Trønnes --- include/drm/drm_simple_kms_helper.h | 4 1 file changed, 4 insertions(+) diff --git a/include/drm/drm_simple_kms_helper.h b/include/drm/drm_simple_kms_helper.h index

[PATCH 0/9] drm: Add support for tiny LCD displays

2017-01-22 Thread Noralf Trønnes
ort for partial display updates. Noralf Trønnes (9): drm/fb-cma-helper: Add drm_fbdev_cma_set_suspend_unlocked() drm: debugfs: Remove all files automatically on cleanup drm/simple-helpers: Add missing includes drm: Add DRM support for tiny LCD displays drm/tinydrm: Add helper functions drm/tiny

[PATCH 0/9] drm: Add support for tiny LCD displays

2017-01-22 Thread Noralf Trønnes
ort for partial display updates. Noralf Trønnes (9): drm/fb-cma-helper: Add drm_fbdev_cma_set_suspend_unlocked() drm: debugfs: Remove all files automatically on cleanup drm/simple-helpers: Add missing includes drm: Add DRM support for tiny LCD displays drm/tinydrm: Add helper functions drm/tiny

Re: [PATCH v3 0/5] fbtft: make it work with DMA enabled SPI

2017-01-11 Thread Noralf Trønnes
rkfun for Intel Edison) OLED displays at their maximum speed (25MHz and 10MHz). Noralf, are you okay with this version of series? Yes, Greg applies them without my ack, unless it touches core stuff. Series: Acked-by: Noralf Trønnes <nor...@tronnes.org> Since v2: - fix kbuild bot warni

Re: [PATCH v3 0/5] fbtft: make it work with DMA enabled SPI

2017-01-11 Thread Noralf Trønnes
rkfun for Intel Edison) OLED displays at their maximum speed (25MHz and 10MHz). Noralf, are you okay with this version of series? Yes, Greg applies them without my ack, unless it touches core stuff. Series: Acked-by: Noralf Trønnes Since v2: - fix kbuild bot warning - remove duplication of might_

Re: [PATCH v2 3/6] staging: fbtft: fallback to usual allocation when DMA fails

2017-01-03 Thread Noralf Trønnes
Den 03.01.2017 17:12, skrev Andy Shevchenko: On Mon, 2017-01-02 at 13:35 +0200, Andy Shevchenko wrote: Fall back to usual allocation method if DMA coherent allocation fails. SPI framework will map and use DMA mapped memory when possible. Locally I have re-done DMA approach and thus this

Re: [PATCH v2 3/6] staging: fbtft: fallback to usual allocation when DMA fails

2017-01-03 Thread Noralf Trønnes
Den 03.01.2017 17:12, skrev Andy Shevchenko: On Mon, 2017-01-02 at 13:35 +0200, Andy Shevchenko wrote: Fall back to usual allocation method if DMA coherent allocation fails. SPI framework will map and use DMA mapped memory when possible. Locally I have re-done DMA approach and thus this

Re: [PATCH v2 1/6] staging: fbtft: convert fbtft_reset() to be non-atomic

2017-01-03 Thread Noralf Trønnes
if (par->gpio.reset == -1) return; + + might_sleep(); gpio_set_value_cansleep() already does might_sleep(). So with that removed: Reviewed-by: Noralf Trønnes <nor...@tronnes.org> + fbtft_par_dbg(DEBUG_RESET, par, "%s()\n", __func__); -

Re: [PATCH v2 1/6] staging: fbtft: convert fbtft_reset() to be non-atomic

2017-01-03 Thread Noralf Trønnes
return; + + might_sleep(); gpio_set_value_cansleep() already does might_sleep(). So with that removed: Reviewed-by: Noralf Trønnes + fbtft_par_dbg(DEBUG_RESET, par, "%s()\n", __func__); - gpio_set_value(par->gpio.reset, 0); - udelay(20); - gpio_se

Re: [PATCH v2 5/6] staging: fbtft: fb_ssd1306: Support smaller screen sizes

2017-01-03 Thread Noralf Trønnes
and 6: Acked-by: Noralf Trønnes <nor...@tronnes.org> drivers/staging/fbtft/fb_ssd1306.c | 21 + 1 file changed, 21 insertions(+) diff --git a/drivers/staging/fbtft/fb_ssd1306.c b/drivers/staging/fbtft/fb_ssd1306.c index 80fc57029fee..bede2d5a5571 100644 --- a/drivers/s

Re: [PATCH v2 5/6] staging: fbtft: fb_ssd1306: Support smaller screen sizes

2017-01-03 Thread Noralf Trønnes
Den 02.01.2017 12:35, skrev Andy Shevchenko: There is 64x48 display exists. In order to support that set multiplexer to 48 pixels and window address to proper position in the graphic display data RAM. Signed-off-by: Andy Shevchenko --- Patches 5 and 6: Acked-by: Noralf Trønnes drivers

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-03 Thread Noralf Trønnes
Den 03.01.2017 14:58, skrev Andy Shevchenko: On Tue, 2017-01-03 at 12:51 +0200, Andy Shevchenko wrote: On Mon, 2017-01-02 at 19:14 +0100, Noralf Trønnes wrote: Den 02.01.2017 12:35, skrev Andy Shevchenko: Usually it's not consumer's business to override resources passed from provider

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-03 Thread Noralf Trønnes
Den 03.01.2017 14:58, skrev Andy Shevchenko: On Tue, 2017-01-03 at 12:51 +0200, Andy Shevchenko wrote: On Mon, 2017-01-02 at 19:14 +0100, Noralf Trønnes wrote: Den 02.01.2017 12:35, skrev Andy Shevchenko: Usually it's not consumer's business to override resources passed from provider

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-02 Thread Noralf Trønnes
Den 02.01.2017 12:35, skrev Andy Shevchenko: Usually it's not consumer's business to override resources passed from provider, in particularly DMA coherent mask. Signed-off-by: Andy Shevchenko --- drivers/staging/fbtft/fbtft-core.c | 1 - 1 file changed, 1

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-02 Thread Noralf Trønnes
Den 02.01.2017 12:35, skrev Andy Shevchenko: Usually it's not consumer's business to override resources passed from provider, in particularly DMA coherent mask. Signed-off-by: Andy Shevchenko --- drivers/staging/fbtft/fbtft-core.c | 1 - 1 file changed, 1 deletion(-) diff --git

Re: [RFC PATCH 3/3] staging: remove fbtft

2016-11-23 Thread Noralf Trønnes
NERS b/MAINTAINERS index 772330b38212..466a86a3b2fc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4839,12 +4839,6 @@ S: Supported F:Documentation/fault-injection/ F:lib/fault-inject.c -FBTFT Framebuffer drivers -M: Thomas Petazzoni <thomas.petazz...@free-electrons.com> -M

Re: [RFC PATCH 3/3] staging: remove fbtft

2016-11-23 Thread Noralf Trønnes
772330b38212..466a86a3b2fc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4839,12 +4839,6 @@ S: Supported F:Documentation/fault-injection/ F:lib/fault-inject.c -FBTFT Framebuffer drivers -M: Thomas Petazzoni -M: Noralf Trønnes -S: Maintained -F: drivers/staging/fbtft

Re: [PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-10-04 Thread Noralf Trønnes
Den 03.10.2016 21:42, skrev Eric Anholt: Noralf Trønnes <nor...@tronnes.org> writes: Den 29.09.2016 00:00, skrev Eric Anholt: Noralf Trønnes <nor...@tronnes.org> writes: If an unexpected TXW or RXR interrupt occurs (msg_buf_remaining == 0), the driver has no way to fill/dr

Re: [PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-10-04 Thread Noralf Trønnes
Den 03.10.2016 21:42, skrev Eric Anholt: Noralf Trønnes writes: Den 29.09.2016 00:00, skrev Eric Anholt: Noralf Trønnes writes: If an unexpected TXW or RXR interrupt occurs (msg_buf_remaining == 0), the driver has no way to fill/drain the FIFO to stop the interrupts. In this case

[PATCH v4 7/7] i2c: bcm2835: Add support for dynamic clock

2016-10-03 Thread Noralf Trønnes
Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Reviewed-by: Martin Sperl <ker...@martin.sperl.org> --- drivers/i2c/busses/i2c-bc

[PATCH v4 5/7] i2c: bcm2835: Add support for Repeated Start Condition

2016-10-03 Thread Noralf Trønnes
(eeprom) in parallel without problems. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Acked-by: Eric Anholt <e...@anholt.net> --- drivers/i2c/busses/i2c-bcm2835.c | 101 --- 1 file changed, 63 insertions(+), 38 deletions(-) diff --git a/driver

[PATCH v4 7/7] i2c: bcm2835: Add support for dynamic clock

2016-10-03 Thread Noralf Trønnes
Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Signed-off-by: Noralf Trønnes Reviewed-by: Martin Sperl --- drivers/i2c/busses/i2c-bcm2835.c | 51 +--- 1 file changed, 32 insertions

[PATCH v4 5/7] i2c: bcm2835: Add support for Repeated Start Condition

2016-10-03 Thread Noralf Trønnes
(eeprom) in parallel without problems. Signed-off-by: Noralf Trønnes Acked-by: Eric Anholt --- drivers/i2c/busses/i2c-bcm2835.c | 101 --- 1 file changed, 63 insertions(+), 38 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c

[PATCH v4 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-10-03 Thread Noralf Trønnes
be cleared that way. Add the status value to the error value in case of TXW/RXR errors to distinguish them from the other S_LEN error. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Reviewed-by: Eric Anholt <e...@anholt.net> --- Changes since v3: - Add comment about I2C_C_CL

[PATCH v4 4/7] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK

2016-10-03 Thread Noralf Trønnes
ent. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Reviewed-by: Eric Anholt <e...@anholt.net> --- drivers/i2c/busses/i2c-bcm2835.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index 54d510a..565ef69 10064

[PATCH v4 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-10-03 Thread Noralf Trønnes
be cleared that way. Add the status value to the error value in case of TXW/RXR errors to distinguish them from the other S_LEN error. Signed-off-by: Noralf Trønnes Reviewed-by: Eric Anholt --- Changes since v3: - Add comment about I2C_C_CLEAR on error drivers/i2c/busses/i2c-bcm2835.c | 40

[PATCH v4 4/7] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK

2016-10-03 Thread Noralf Trønnes
ent. Signed-off-by: Noralf Trønnes Reviewed-by: Eric Anholt --- drivers/i2c/busses/i2c-bcm2835.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index 54d510a..565ef69 100644 --- a/drivers/i2c/busses/i2c-bcm2835.c ++

[PATCH v4 6/7] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT

2016-10-03 Thread Noralf Trønnes
Use i2c_adapter->timeout for the completion timeout value. The core default is 1 second. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Reviewed-by: Eric Anholt <e...@anholt.net> --- drivers/i2c/busses/i2c-bcm2835.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions

[PATCH v4 6/7] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT

2016-10-03 Thread Noralf Trønnes
Use i2c_adapter->timeout for the completion timeout value. The core default is 1 second. Signed-off-by: Noralf Trønnes Reviewed-by: Eric Anholt --- drivers/i2c/busses/i2c-bcm2835.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/driv

[PATCH v4 3/7] i2c: bcm2835: Use dev_dbg logging on transfer errors

2016-10-03 Thread Noralf Trønnes
dev_err() on transfer error, so switch to dev_dbg() instead. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> Reviewed-by: Eric Anholt <e...@anholt.net> --- drivers/i2c/busses/i2c-bcm2835.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c

[PATCH v4 0/7] i2c: bcm2835: Bring in changes from downstream

2016-10-03 Thread Noralf Trønnes
I2C_C_CLEAR on error Noralf. Noralf Trønnes (7): i2c: bcm2835: Fix hang for writing messages larger than 16 bytes i2c: bcm2835: Protect against unexpected TXW/RXR interrupts i2c: bcm2835: Use dev_dbg logging on transfer errors i2c: bcm2835: Can't support I2C_M_IGNORE_NAK i2c: bcm2835: Add

[PATCH v4 1/7] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes

2016-10-03 Thread Noralf Trønnes
when the FIFO contains at least one byte of data. TXW: is set during a write transfer and the FIFO is less than full. RXR: is set during a read transfer and the FIFO is or more full. Implementing the logic from the downstream i2c-bcm2708 driver solved the hang problem. Signed-off-by: Noralf

[PATCH v4 0/7] i2c: bcm2835: Bring in changes from downstream

2016-10-03 Thread Noralf Trønnes
I2C_C_CLEAR on error Noralf. Noralf Trønnes (7): i2c: bcm2835: Fix hang for writing messages larger than 16 bytes i2c: bcm2835: Protect against unexpected TXW/RXR interrupts i2c: bcm2835: Use dev_dbg logging on transfer errors i2c: bcm2835: Can't support I2C_M_IGNORE_NAK i2c: bcm2835: Add

[PATCH v4 1/7] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes

2016-10-03 Thread Noralf Trønnes
when the FIFO contains at least one byte of data. TXW: is set during a write transfer and the FIFO is less than full. RXR: is set during a read transfer and the FIFO is or more full. Implementing the logic from the downstream i2c-bcm2708 driver solved the hang problem. Signed-off-by: Noralf

[PATCH v4 3/7] i2c: bcm2835: Use dev_dbg logging on transfer errors

2016-10-03 Thread Noralf Trønnes
dev_err() on transfer error, so switch to dev_dbg() instead. Signed-off-by: Noralf Trønnes Reviewed-by: Eric Anholt --- drivers/i2c/busses/i2c-bcm2835.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index

Re: [PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-10-02 Thread Noralf Trønnes
Den 29.09.2016 07:37, skrev Stefan Wahren: Noralf Trønnes <nor...@tronnes.org> hat am 29. September 2016 um 00:22 geschrieben: Den 29.09.2016 00:00, skrev Eric Anholt: Noralf Trønnes <nor...@tronnes.org> writes: If an unexpected TXW or RXR interrupt occurs (msg_buf_re

Re: [PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-10-02 Thread Noralf Trønnes
Den 29.09.2016 07:37, skrev Stefan Wahren: Noralf Trønnes hat am 29. September 2016 um 00:22 geschrieben: Den 29.09.2016 00:00, skrev Eric Anholt: Noralf Trønnes writes: If an unexpected TXW or RXR interrupt occurs (msg_buf_remaining == 0), the driver has no way to fill/drain the FIFO

Re: [PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-09-28 Thread Noralf Trønnes
Den 29.09.2016 00:00, skrev Eric Anholt: Noralf Trønnes <nor...@tronnes.org> writes: If an unexpected TXW or RXR interrupt occurs (msg_buf_remaining == 0), the driver has no way to fill/drain the FIFO to stop the interrupts. In this case the controller has to be disabled and the tr

Re: [PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-09-28 Thread Noralf Trønnes
Den 29.09.2016 00:00, skrev Eric Anholt: Noralf Trønnes writes: If an unexpected TXW or RXR interrupt occurs (msg_buf_remaining == 0), the driver has no way to fill/drain the FIFO to stop the interrupts. In this case the controller has to be disabled and the transfer completed to avoid hang

Re: [PATCH v3 7/7] i2c: bcm2835: Add support for dynamic clock

2016-09-28 Thread Noralf Trønnes
Den 28.09.2016 23:24, skrev Eric Anholt: Noralf Trønnes <nor...@tronnes.org> writes: Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Is this fixing some particular case you could note in the commit m

Re: [PATCH v3 7/7] i2c: bcm2835: Add support for dynamic clock

2016-09-28 Thread Noralf Trønnes
Den 28.09.2016 23:24, skrev Eric Anholt: Noralf Trønnes writes: Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Is this fixing some particular case you could note in the commit message? As is, it makes me think

[PATCH v3 5/7] i2c: bcm2835: Add support for Repeated Start Condition

2016-09-28 Thread Noralf Trønnes
(eeprom) in parallel without problems. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- drivers/i2c/busses/i2c-bcm2835.c | 101 --- 1 file changed, 63 insertions(+), 38 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/buss

[PATCH v3 5/7] i2c: bcm2835: Add support for Repeated Start Condition

2016-09-28 Thread Noralf Trønnes
(eeprom) in parallel without problems. Signed-off-by: Noralf Trønnes --- drivers/i2c/busses/i2c-bcm2835.c | 101 --- 1 file changed, 63 insertions(+), 38 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index 99857f8

[PATCH v3 0/7] i2c: bcm2835: Bring in changes from downstream

2016-09-28 Thread Noralf Trønnes
for transfer errors - drop i2c2 disabling patch, vc4 uses it. Noralf. Noralf Trønnes (7): i2c: bcm2835: Fix hang for writing messages larger than 16 bytes i2c: bcm2835: Protect against unexpected TXW/RXR interrupts i2c: bcm2835: Use dev_dbg logging on transfer errors i2c: bcm2835: Can't

[PATCH v3 7/7] i2c: bcm2835: Add support for dynamic clock

2016-09-28 Thread Noralf Trønnes
Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- drivers/i2c/busses/i2c-bcm2835.c | 51 +--- 1 file changed, 32 insertions(

[PATCH v3 4/7] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK

2016-09-28 Thread Noralf Trønnes
ent. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- drivers/i2c/busses/i2c-bcm2835.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index 8cdb139..99857f8 100644 --- a/drivers/i2c/busses/i2c-bcm2835.c +++ b/dr

[PATCH v3 6/7] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT

2016-09-28 Thread Noralf Trønnes
Use i2c_adapter->timeout for the completion timeout value. The core default is 1 second. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- drivers/i2c/busses/i2c-bcm2835.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/dr

[PATCH v3 0/7] i2c: bcm2835: Bring in changes from downstream

2016-09-28 Thread Noralf Trønnes
for transfer errors - drop i2c2 disabling patch, vc4 uses it. Noralf. Noralf Trønnes (7): i2c: bcm2835: Fix hang for writing messages larger than 16 bytes i2c: bcm2835: Protect against unexpected TXW/RXR interrupts i2c: bcm2835: Use dev_dbg logging on transfer errors i2c: bcm2835: Can't

[PATCH v3 7/7] i2c: bcm2835: Add support for dynamic clock

2016-09-28 Thread Noralf Trønnes
Support a dynamic clock by reading the frequency and setting the divisor in the transfer function instead of during probe. Signed-off-by: Noralf Trønnes --- drivers/i2c/busses/i2c-bcm2835.c | 51 +--- 1 file changed, 32 insertions(+), 19 deletions(-) diff

[PATCH v3 4/7] i2c: bcm2835: Can't support I2C_M_IGNORE_NAK

2016-09-28 Thread Noralf Trønnes
ent. Signed-off-by: Noralf Trønnes --- drivers/i2c/busses/i2c-bcm2835.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm2835.c index 8cdb139..99857f8 100644 --- a/drivers/i2c/busses/i2c-bcm2835.c +++ b/drivers/i2c/busses/i2c-bcm283

[PATCH v3 6/7] i2c: bcm2835: Support i2c-dev ioctl I2C_TIMEOUT

2016-09-28 Thread Noralf Trønnes
Use i2c_adapter->timeout for the completion timeout value. The core default is 1 second. Signed-off-by: Noralf Trønnes --- drivers/i2c/busses/i2c-bcm2835.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/i2c/busses/i2c-bcm2835.c b/drivers/i2c/busses/i2c-bcm283

[PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-09-28 Thread Noralf Trønnes
be cleared that way. Add the status value to the error value in case of TXW/RXR errors to distinguish them from the other S_LEN error. Signed-off-by: Noralf Trønnes <nor...@tronnes.org> --- drivers/i2c/busses/i2c-bcm2835.c | 31 ++- 1 file changed, 22 insertions

[PATCH v3 1/7] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes

2016-09-28 Thread Noralf Trønnes
when the FIFO contains at least one byte of data. TXW: is set during a write transfer and the FIFO is less than full. RXR: is set during a read transfer and the FIFO is or more full. Implementing the logic from the downstream i2c-bcm2708 driver solved the hang problem. Signed-off-by: Noralf

[PATCH v3 2/7] i2c: bcm2835: Protect against unexpected TXW/RXR interrupts

2016-09-28 Thread Noralf Trønnes
be cleared that way. Add the status value to the error value in case of TXW/RXR errors to distinguish them from the other S_LEN error. Signed-off-by: Noralf Trønnes --- drivers/i2c/busses/i2c-bcm2835.c | 31 ++- 1 file changed, 22 insertions(+), 9 deletions(-) diff

[PATCH v3 1/7] i2c: bcm2835: Fix hang for writing messages larger than 16 bytes

2016-09-28 Thread Noralf Trønnes
when the FIFO contains at least one byte of data. TXW: is set during a write transfer and the FIFO is less than full. RXR: is set during a read transfer and the FIFO is or more full. Implementing the logic from the downstream i2c-bcm2708 driver solved the hang problem. Signed-off-by: Noralf

<    1   2   3   4   5   6   7   8   9   >