[PATCH v2] media: ov7740: use SCCB regmap

2020-08-06 Thread Raag Jadav
Make use of SCCB APIs for regmap operations. Remove i2c_check_functionality as devm_regmap_init_sccb does it for us. Signed-off-by: Raag Jadav --- Changes since v1: - Changed commit message. - Added SCCB config for ov7740. drivers/media/i2c/Kconfig | 2 +- drivers/media/i2c/ov7740.c | 10

[PATCH v2 0/2] act8865 regulator modes and suspend states

2019-08-13 Thread Raag Jadav
addresses in set_mode() hook. - Reverted act8865.h changes. Raag Jadav (2): regulator: act8865: operating mode and suspend state support dt-bindings: regulator: act8865 regulator modes and suspend states .../bindings/regulator/act8865-regulator.txt | 27 ++- drivers/regulator/act8865

[PATCH v2 2/2] dt-bindings: regulator: act8865 regulator modes and suspend states

2019-08-13 Thread Raag Jadav
Add documentation for act8865 regulator modes and suspend states. Add active-semi,8865-regulator.h file for device tree binding constants for act8865 regulators. Signed-off-by: Raag Jadav --- .../bindings/regulator/act8865-regulator.txt | 27 +++-- .../regulator/active

[PATCH v2 1/2] regulator: act8865: operating mode and suspend state support

2019-08-13 Thread Raag Jadav
Implement ->set_mode(), ->get_mode() and ->set_suspend_xx() hooks for act8865 with unlocked expert registers. Based on work done by Borris Brezillon on [1]. [1] https://www.spinics.net/lists/kernel/msg2942960.html Signed-off-by: Raag Jadav --- drivers/regulator/act8865-regulato

[PATCH] regulator: act8945a-regulator: fix ldo register addresses in set_mode hook

2019-08-12 Thread Raag Jadav
ned-off-by: Raag Jadav --- drivers/regulator/act8945a-regulator.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/regulator/act8945a-regulator.c b/drivers/regulator/act8945a-regulator.c index 5842849..d2f804d 100644 --- a/drivers/regulator/act8945a-regulator.c +++

[PATCH 1/2] regulator: act8865: operating mode and suspend state support

2019-08-10 Thread Raag Jadav
Implement ->set_mode(), ->get_mode() and ->set_suspend_xx() hooks for act8865 with unlocked expert registers. Based on work done by Borris Brezillon on [1]. [1] https://www.spinics.net/lists/kernel/msg2942960.html Signed-off-by: Raag Jadav --- drivers/regulator/act8865-regulato

[PATCH 2/2] dt-bindings: regulator: act8865 regulator modes and suspend states

2019-08-10 Thread Raag Jadav
Add documentation for act8865 regulator modes and suspend states. Add active-semi,8865-regulator.h file for device tree binding constants for act8865 regulators. Signed-off-by: Raag Jadav --- .../bindings/regulator/act8865-regulator.txt | 27 +++-- .../regulator/active

[PATCH 0/2] act8865 regulator modes and suspend states

2019-08-10 Thread Raag Jadav
This series implements operating mode and suspend state support for act8865. Raag Jadav (2): regulator: act8865: operating mode and suspend state support dt-bindings: regulator: act8865 regulator modes and suspend states .../bindings/regulator/act8865-regulator.txt | 27 +++- drivers

[PATCH] dmaengine: at_xdmac: check for non-empty xfers_list before invoking callback

2019-06-29 Thread Raag Jadav
tx descriptor retrieved from an empty xfers_list may not have valid pointers to the callback functions. Avoid calling dmaengine_desc_get_callback_invoke if xfers_list is empty. Signed-off-by: Raag Jadav --- drivers/dma/at_xdmac.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions

Re: [PATCH] i2c: at91: handle TXRDY interrupt spam

2019-05-06 Thread Raag Jadav
On Mon, May 06, 2019 at 08:19:01AM +, eugen.hris...@microchip.com wrote: > > > On 04.05.2019 02:58, Raag Jadav wrote: > > > On Thu, May 02, 2019 at 04:01:16PM +0200, Ludovic Desroches wrote: > >> On Tue, Apr 30, 2019 at 04:03:32AM +0530, Raag Jadav w

Re: [PATCH] i2c: at91: handle TXRDY interrupt spam

2019-05-03 Thread Raag Jadav
On Thu, May 02, 2019 at 04:01:16PM +0200, Ludovic Desroches wrote: > On Tue, Apr 30, 2019 at 04:03:32AM +0530, Raag Jadav wrote: > > External E-Mail > > > > > > On Mon, Apr 29, 2019 at 11:00:05AM +0200, Ludovic Desroches wrote: > > > Hello Raag, > > &

Re: [PATCH] i2c: at91: handle TXRDY interrupt spam

2019-04-29 Thread Raag Jadav
On Mon, Apr 29, 2019 at 11:00:05AM +0200, Ludovic Desroches wrote: > Hello Raag, > > On Tue, Apr 23, 2019 at 01:06:48PM +0530, Raag Jadav wrote: > > External E-Mail > > > > > > Performing i2c write operation while SDA or SCL line is held > > or ground

[PATCH] i2c: at91: handle TXRDY interrupt spam

2019-04-23 Thread Raag Jadav
Performing i2c write operation while SDA or SCL line is held or grounded by slave device, we go into infinite at91_twi_write_next_byte loop with TXRDY interrupt spam. Signed-off-by: Raag Jadav --- drivers/i2c/busses/i2c-at91.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff

[PATCH] i2c: at91: fix TXRDY interrupt spam

2019-04-19 Thread Raag Jadav
Performing i2c write operation while SDA or SCL line is grounded, TXRDY interrupt spam hangs the processor, not allowing to boot. Signed-off-by: raag --- drivers/i2c/busses/i2c-at91.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/busses/i2c-at91.c b/drivers/i