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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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_
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
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
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__);
-
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
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
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
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
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
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
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
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
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
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
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
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
(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
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
(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
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
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
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
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
++
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
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
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
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
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
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
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
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
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
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
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
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
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
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
(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
(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
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
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(
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
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
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
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
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
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
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
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
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
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
301 - 400 of 806 matches
Mail list logo