[PATCH v2 1/2] irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-02-23 Thread Radoslaw Pietrzyk
- discards setting handle_simple_irq handler for hierarchy interrupts - removes acking in chained irq handler as this is done by irq_chip itself inside handle_edge_irq - removes unneeded irq_domain_ops.xlate callback Signed-off-by: Radoslaw Pietrzyk --- drivers/irqchip/irq-stm32-exti.c | 13

[PATCH v2 2/2] pinctrl: stm32: Optimizes and enhances stm32gpio irqchip

2018-02-23 Thread Radoslaw Pietrzyk
- removes unneeded irq_chip.irq_eoi callback - adds irq_chip.irq_set_wake callback for possible in the future GPIO wakeup - adds irq_chip.irq_ack callback Signed-off-by: Radoslaw Pietrzyk --- drivers/pinctrl/stm32/pinctrl-stm32.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH v2 0/2] v2 patches for stm32-exti irq hierarchy

2018-02-23 Thread Radoslaw Pietrzyk
Radoslaw Pietrzyk (2): irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain pinctrl: stm32: Optimizes and enhances stm32gpio irqchip drivers/irqchip/irq-stm32-exti.c | 13 - drivers/pinctrl/stm32/pinctrl-stm32.c | 3 ++- 2 files changed, 2 insertions(+), 14

[PATCH 2/2] ARM: pinctrl: stm32: Optimizes and enhances stm32gpio irqchip

2018-02-21 Thread Radoslaw Pietrzyk
- removes unneeded irq_chip.irq_eoi callback - adds irq_chip.irq_set_wake callback for possible in the future GPIO wakeup Signed-off-by: Radoslaw Pietrzyk --- drivers/pinctrl/stm32/pinctrl-stm32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a

[PATCH 1/2] ARM: irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain

2018-02-21 Thread Radoslaw Pietrzyk
callback Signed-off-by: Radoslaw Pietrzyk --- drivers/irqchip/irq-stm32-exti.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/irqchip/irq-stm32-exti.c b/drivers/irqchip/irq-stm32-exti.c index 36f0fbe..42e74e3 100644 --- a/drivers/irqchip/irq-stm32-exti.c +++ b

[PATCH 0/2] Optimizes, cleans up and enhances stm32-exti irq hierarchy

2018-02-21 Thread Radoslaw Pietrzyk
- optimizes and cleans up stm32-exti irq domain - optimizes and enhances stm32gpio irq chip Radoslaw Pietrzyk (2): ARM: irqchip: stm32: Optimizes and cleans up stm32-exti irq_domain ARM: pinctrl: stm32: Optimizes and enhances stm32gpio irqchip drivers/irqchip/irq-stm32-exti.c | 10

[PATCH] i2c: stm32: Fixes multibyte transfer for STM32F4 I2C controller

2017-10-11 Thread Radoslaw Pietrzyk
Do not read data on RXNE but on BTF only due to HW synchronisation problems and NACKing read data too early. It was found during testing of stmpe811 touchscreen driver. Signed-off-by: Radoslaw Pietrzyk --- drivers/i2c/busses/i2c-stm32f4.c | 11 +-- 1 file changed

[PATCH v2] staging: fbtft: Allows bpp to be set from dt

2017-03-13 Thread Radoslaw Pietrzyk
Allows bpp to be set from dt Signed-off-by: Radoslaw Pietrzyk --- drivers/staging/fbtft/fbtft-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 7c8af29..cb0c10d 100644 --- a/drivers/staging/fbtft/fbtft

[PATCH] Allows setting bpp from dt

2017-03-10 Thread Radoslaw Pietrzyk
Allows setting bpp from dt Radoslaw Pietrzyk (1): staging: fbtft: Allows bpp to be set from dt drivers/staging/fbtft/fbtft-core.c | 2 ++ 1 file changed, 2 insertions(+) -- 1.9.1

[PATCH] staging: fbtft: Allows bpp to be set from dt

2017-03-10 Thread Radoslaw Pietrzyk
Allows bpp to be set from dt Signed-off-by: Radoslaw Pietrzyk --- drivers/staging/fbtft/fbtft-core.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c index 7c8af29..b25288b 100644 --- a/drivers/staging/fbtft/fbtft