Re: [PATCH v2 2/2] i2c: stm32f7: add SMBus-Alert support

2021-03-25 Thread Pierre Yves MORDRET
e_smbus_host; > + } > + } > + > dev_info(i2c_dev->dev, "STM32F7 I2C-%d bus adapter\n", adap->nr); > > pm_runtime_mark_last_busy(i2c_dev->dev); > @@ -2176,6 +2245,9 @@ static int stm32f7_i2c_probe(struct platform_device > *pdev) > > return 0; > > +i2c_disable_smbus_host: > + stm32f7_i2c_disable_smbus_host(i2c_dev); > + > i2c_adapter_remove: > i2c_del_adapter(adap); > > @@ -2210,6 +2282,7 @@ static int stm32f7_i2c_remove(struct platform_device > *pdev) > { > struct stm32f7_i2c_dev *i2c_dev = platform_get_drvdata(pdev); > > + stm32f7_i2c_disable_smbus_alert(i2c_dev); > stm32f7_i2c_disable_smbus_host(i2c_dev); > > i2c_del_adapter(_dev->adap); > Reviewed-by: Pierre-Yves MORDRET Regards -- -- ~ Py MORDRET --

Re: [PATCH] i2c-stm32f4: Mundane typo fix

2021-03-25 Thread Pierre Yves MORDRET
On 3/25/21 10:19 AM, Pierre Yves MORDRET wrote: > > s/postion/position/ > > Signed-off-by: Bhaskar Chowdhury > --- > drivers/i2c/busses/i2c-stm32f4.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/i2c/busses/i2c-stm32f4.c > b/

Re: [PATCH] i2c: stm32f7: avoid ifdef CONFIG_PM_SLEEP for pm callbacks

2021-03-18 Thread Pierre Yves MORDRET
Hi All, Reviewed-by: Pierre-Yves MORDRET Regards On 3/12/21 12:53 PM, Alain Volmat wrote: > Avoid CONFIG_PM preprocessor check for pm suspend/resume > callbacks and identify the functions with __maybe_unused. > > Signed-off-by: Alain Volmat > --- > drivers/i2c/busses/

Re: [PATCH 4/5] ARM: dts: stm32: enable the analog filter for all I2C nodes in stm32mp151

2021-02-10 Thread Pierre Yves MORDRET
Hello Looks good to me Reviewed-by: Pierre-Yves MORDRET Thx Regards On 2/5/21 9:51 AM, Alain Volmat wrote: > Enable the analog filter for all I2C nodes of the stm32mp151. > > Signed-off-by: Alain Volmat > --- > arch/arm/boot/dts/stm32mp151.dtsi | 6 ++ > 1 file cha

Re: [PATCH 3/5] i2c: stm32f7: add support for DNF i2c-digital-filter binding

2021-02-05 Thread Pierre Yves MORDRET
Hello all Looks good to me Signed-off-by: Pierre-Yves MORDRET Regards On 2/5/21 9:51 AM, Alain Volmat wrote: > Add the support for the i2c-digital-filter binding, allowing to enable > the digital filter via the device-tree and indicate its value in the DT. > > Signed-off-by:

Re: [PATCH 1/5] i2c: stm32f7: fix configuration of the digital filter

2021-02-05 Thread Pierre Yves MORDRET
Hello all Looks good to me Signed-off-by: Pierre-Yves MORDRET Regards On 2/5/21 9:51 AM, Alain Volmat wrote: > The digital filter related computation are present in the driver > however the programming of the filter within the IP is missing. > The maximum value for the DNF is wrong a

Re: [PATCH 5/5] i2c: stm32f7: indicate the address being accessed on errors

2021-02-05 Thread Pierre Yves MORDRET
Hello all Looks good to me Signed-off-by: Pierre-Yves MORDRET Regards On 2/5/21 9:51 AM, Alain Volmat wrote: > To help debugging issues, add the address of the slave being > accessed when getting an error. > > Signed-off-by: Alain Volmat > --- > drivers/i2c/busses

Re: [PATCH 0/5] i2c: stm32: filter binding support & debug info

2021-02-05 Thread Pierre Yves MORDRET
Hello all Looks good to me Signed-off-by: Pierre-Yves MORDRET Regards On 2/5/21 9:51 AM, Alain Volmat wrote: > This serie add support for the analog and digital filter binding > for the stm32f7 i2c driver. > An additional patch add also debug informations, displayed in case &g

Re: [PATCH 2/5] i2c: stm32f7: support DT binding i2c-analog-filter

2021-02-05 Thread Pierre Yves MORDRET
Hello all Looks good to me Signed-off-by: Pierre-Yves MORDRET Regards On 2/5/21 9:51 AM, Alain Volmat wrote: > Replace driver internally coded enabling/disabling of the > analog-filter with the DT binding "i2c-analog-filter". > > Signed-off-by: Alain Volmat > ---

Re: [PATCH] [v2] i2c: stm32f7: Fix runtime PM imbalance on error

2020-11-13 Thread Pierre Yves MORDRET
Hello Looks good to me Reviewed-by: Pierre-Yves MORDRET Thx Regards On 6/1/20 7:56 AM, Alain Volmat wrote: > Hi, > > Reviewed-by: Alain Volmat > > Thanks, > Alain > > On Wed, May 27, 2020 at 01:38:53AM +, Dinghao Liu wrote: >> pm_runtime_get_sync() i

Re: [PATCH] i2c: stm32f7: add SMBus-Alert support

2020-09-09 Thread Pierre Yves MORDRET
Hi Alain Sounds good Reviewed-by: Pierre-Yves MORDRET Best Regards On 8/3/20 7:26 AM, Alain Volmat wrote: > Add support for the SMBus-Alert protocol. > > Signed-off-by: Alain Volmat > --- > This patch has to be integrated on top of the patch > 'i2c: stm32f7: Add

Re: [PATCH v3 2/2] i2c: stm32f7: Add SMBus Host-Notify protocol support

2020-08-04 Thread Pierre Yves MORDRET
Hi Alain Look good for me Reviewed-by: Pierre-Yves MORDRET Best Regards On 8/3/20 7:17 AM, Alain Volmat wrote: > Rely on the core functions to implement the host-notify > protocol via the a I2C slave device. > > Signed-off-by: Alain Volmat > --- > v3: identical to v2

Re: [PATCH v3 1/2] i2c: smbus: add core function handling SMBus host-notify

2020-08-04 Thread Pierre Yves MORDRET
Hi Alain Look good for me Reviewed-by: Pierre-Yves MORDRET Best Regards On 8/3/20 7:17 AM, Alain Volmat wrote: > SMBus Host-Notify protocol, from the adapter point of view > consist of receiving a message from a client, including the > client address and some other data. > > I

Re: [PATCH 2/4] i2c: addition of client reg/unreg callbacks

2020-05-11 Thread Pierre Yves MORDRET
Hi all, Reviewed-by: Pierre-Yves MORDRET Thanks On 5/5/20 7:51 AM, Alain Volmat wrote: > Addition of two callbacks reg_client and unreg_client that can be > implemented by adapter drivers in order to take action whenever a > client is being registered to it. > > Signed-off-b

Re: [PATCH 4/4] i2c: stm32f7: Add SMBus-specific protocols support

2020-05-11 Thread Pierre Yves MORDRET
Hi all, Reviewed-by: Pierre-Yves MORDRET Thanks On 5/5/20 7:51 AM, Alain Volmat wrote: > This patch adds the support for SMBus Host notify and SMBus Alert > extensions protocols > > Signed-off-by: Alain Volmat > --- > drivers/i2c/busses/Kconfig | 1 + > d

Re: [PATCH 1/4] i2c: smbus: add core function handling SMBus host-notify

2020-05-11 Thread Pierre Yves MORDRET
Hi all, Reviewed-by: Pierre-Yves MORDRET Thanks On 5/5/20 7:51 AM, Alain Volmat wrote: > SMBus Host-Notify protocol, from the adapter point of view > consist of receiving a message from a client, including the > client address and some other data. > > It can be simply hand

Re: [PATCH v2] i2c: i2c-stm32f7: remove warning when compiling with W=1

2019-10-22 Thread Pierre Yves MORDRET
Hello Looks good Reviewed-by: Pierre-Yves MORDRET Thx Regards On 10/15/19 3:11 PM, Alain Volmat wrote: > Remove the following warning: > > drivers/i2c/busses/i2c-stm32f7.c:315: > warning: cannot understand function prototype: > 'struct stm32f7_i2c_spec i2c_specs[] = > &

Re: [PATCH] i2c: i2c-stm32f7: rework slave_id allocation

2019-10-22 Thread Pierre Yves MORDRET
Hello Looks good Reviewed-by: Pierre-Yves MORDRET Thx Regards On 10/15/19 3:03 PM, Alain Volmat wrote: > The IP can handle two slave addresses. One address can either be > 7 bits or 10 bits while the other can only be 7 bits. > In order to ensure that a 10 bits address can always be

Re: [PATCH] i2c: i2c-stm32f7: remove warning when compiling with W=1

2019-10-07 Thread Pierre Yves MORDRET
Hi Alain Fixes tag is missing in your patch. [ i.e ==> Fixes: aeb068c57214 ("i2c: i2c-stm32f7: add driver") ] Nonetheless patch only consists in removing a comment character ? Thanks On 10/4/19 4:55 PM, Alain Volmat wrote: > Remove the following warning: > >

Re: [PATCH] i2c: i2c-stm32f7: fix a race in slave mode with arbitration loss irq

2019-10-01 Thread Pierre Yves MORDRET
Hi Reviewed-by: Pierre-Yves MORDRET Thx On 10/1/19 10:51 AM, Fabrice Gasnier wrote: > When in slave mode, an arbitration loss (ARLO) may be detected before the > slave had a chance to detect the stop condition (STOPF in ISR). > This is seen when two master + slave adapters switch th

Re: [PATCH] i2c: i2c-stm32f7: fix first byte to send in slave mode

2019-10-01 Thread Pierre Yves MORDRET
Hi, Reviewed-by: Pierre-Yves MORDRET Thx On 9/30/19 5:28 PM, Fabrice Gasnier wrote: > The slave-interface documentation [1] states "the bus driver should > transmit the first byte" upon I2C_SLAVE_READ_REQUESTED slave event: > - 'val': backend returns first byte to b

Re: [PATCH] i2c: stm32f7: Make structure stm32f7_i2c_algo constant

2019-09-04 Thread Pierre Yves MORDRET
Hi Wolfram Sorry for the delay. Acked-by: Pierre-Yves MORDRET BR On 9/3/19 8:05 PM, Wolfram Sang wrote: > On Thu, Aug 15, 2019 at 11:28:57AM +0530, Nishka Dasgupta wrote: >> Static structure stm32f7_i2c_algo, of type i2c_algorithm, is used only >> when it is assigned to cons

Re: [PATCH] dt-bindings: i2c-stm32: document optional dmas

2019-06-26 Thread Pierre Yves MORDRET
Hi It looks good to me Reviewed-by: Pierre-Yves MORDRET Thx On 6/4/19 3:34 PM, Fabrice Gasnier wrote: > Add missing documentation for "dmas" and "dma-names" properties that can be > used on i2c-stm32. > > Signed-off-by: Fabrice Gasnier > --- > Doc

Re: [PATCH] i2c: i2c-stm32f7: Add I2C_SMBUS_I2C_BLOCK_DATA support

2019-06-26 Thread Pierre Yves MORDRET
Hi I looks good to me Reviewed-by: Pierre-Yves MORDRET Thx On 6/26/19 3:45 PM, Wolfram Sang wrote: > On Tue, Jun 04, 2019 at 03:20:51PM +0200, Fabrice Gasnier wrote: >> This patch adds the support of I2C_SMBUS_I2C_BLOCK_DATA transaction type >> for the stm32f7 SMBUS Con

[RESEND v2 0/3] Add Vivante GPU support on STM32MP157c

2019-05-17 Thread Pierre-Yves MORDRET
Add and enable Vivante GPU on stm32mp157c for ED1, DK1 and DK2 boards. --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- Pierre-Yves MORDRET (3): ARM: dts: stm32: Add Vivante GPU support

[RESEND v2 3/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157a-dk1 board

2019-05-17 Thread Pierre-Yves MORDRET
Enable Vivante GPU driver for stm32mp157a-dk1 and dk2 boards. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- --- arch/arm/boot/dts/stm32mp157a-dk1.dts

[RESEND v2 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board

2019-05-17 Thread Pierre-Yves MORDRET
Enable Vivante GPU driver for stm32mp157c-ed1 board. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 16

[RESEND v2 1/3] ARM: dts: stm32: Add Vivante GPU support on STM32MP157c

2019-05-17 Thread Pierre-Yves MORDRET
Append Vivante GPU DT configuration. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts

Re: [PATCH] i2c: i2c-stm32f7: fix the get_irq error cases

2019-05-16 Thread Pierre Yves MORDRET
Hi Reviewed-by: Pierre-Yves MORDRET Thanks Regards On 5/15/19 5:09 PM, Fabrice Gasnier wrote: > During probe, return the "get_irq" error value instead of -EINVAL which > allows the driver to be deferred probed if needed. > Fix also the case where of_irq_get() returns a neg

Re: [PATCH] dmaengine: stm32-dma: dmaengine: stm32-dma: use platform_get_irq()

2019-04-24 Thread Pierre Yves MORDRET
Hello Reviewed-by: Pierre-Yves MORDRET Thanks On 4/24/19 11:21 AM, Fabien Dessenne wrote: > platform_get_resource(pdev, IORESOURCE_IRQ) is not recommended for > requesting IRQ's resources, as they can be not ready yet. Using > platform_get_irq() instead is preferred for getting

Re: [PATCH] dmaengine: stm32-dma: fix residue calculation in stm32-dma

2019-04-24 Thread Pierre Yves MORDRET
Hello Reviewed-by: Pierre-Yves MORDRET Thanks On 4/23/19 5:18 PM, Arnaud Pouliquen wrote: > Hello Vinod, > > Just a gentle reminder, if you could take a moment to review this patch. > FYI, the patch has already been internally reviewed by Pierre Yves > mordret...

[PATCH v2 3/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157a-dk1 board

2019-04-10 Thread Pierre-Yves MORDRET
Enable Vivante GPU driver for stm32mp157a-dk1 and dk2 boards. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- --- arch/arm/boot/dts/stm32mp157a-dk1.dts

[PATCH v2 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board

2019-04-10 Thread Pierre-Yves MORDRET
Enable Vivante GPU driver for stm32mp157c-ed1 board. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 16

[PATCH v2 0/3] Add Vivante GPU support on STM32MP157c

2019-04-10 Thread Pierre-Yves MORDRET
Add and enable Vivante GPU on stm32mp157c for ED1, DK1 and DK2 boards. --- Version history: v2: * move GPU reserved memeory out of bottom DDR to let free this area for U-Boot v1: * Initial --- Pierre-Yves MORDRET (3): ARM: dts: stm32: Add Vivante GPU support

[PATCH v2 1/3] ARM: dts: stm32: Add Vivante GPU support on STM32MP157c

2019-04-10 Thread Pierre-Yves MORDRET
Append Vivante GPU DT configuration. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: v1: * Initial --- --- arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts

Re: [PATCH v2] dmaengine: stm32-mdma: Revert "Add a check on read_u32_array"

2019-03-26 Thread Pierre Yves MORDRET
On 3/25/19 5:28 PM, Vinod Koul wrote: > On 25-03-19, 17:21, Pierre-Yves MORDRET wrote: >> This reverts commit 906b40b246b0 ("Add a check on read_u32_array") > > This and patch title should contain: > 906b40b246b0 ("dmaengine: stm32-mdma: Add a check on read_u3

[PATCH v2] dmaengine: stm32-mdma: Revert "Add a check on read_u32_array"

2019-03-25 Thread Pierre-Yves MORDRET
This reverts commit 906b40b246b0 ("Add a check on read_u32_array") As stated by bindings "st,ahb-addr-masks" is optional. The statement inserted by this commit makes this property mandatory and prevents MDMA to be probed in case property not present. Signed-off-by:

Re: [PATCH v1] Revert "dmaengine: stm32-mdma: Add a check on read_u32_array"

2019-03-25 Thread Pierre Yves MORDRET
On 3/25/19 4:25 PM, Vinod Koul wrote: > On 25-03-19, 15:46, Pierre-Yves MORDRET wrote: > > Please use the right subsystem name dmaengine, revert is not a subsystem > name! ok. sorry. I thought revert keyword was correct. > >> This reverts commit 906b40b246b0acb54c4

[PATCH v1] Revert "dmaengine: stm32-mdma: Add a check on read_u32_array"

2019-03-25 Thread Pierre-Yves MORDRET
This reverts commit 906b40b246b0acb54c4dc97e815cf734761c9820. As stated by bindings "st,ahb-addr-masks" is optional. The statement inserted by this commit makes this property mandatory and prevents MDMA to be probed in case property not present. Signed-off-by: Pierre-Yves MORDRET --

Re: [PATCH 2/2] dt-bindings: i2c-stm32: update optional properties for stm32h7/stm32mp1

2019-03-21 Thread Pierre Yves MORDRET
Reviewed-by: Pierre-Yves MORDRET On 3/6/19 4:11 PM, Bich HEMON wrote: > Add STM32H7 and STM32MP1 in the list of compatible socs for each > optional property. > > Signed-off-by: Bich Hemon > --- > Documentation/devicetree/bindings/i2c/i2c-stm32.txt | 17 + &g

Re: [PATCH 1/2] dt-bindings: i2c-stm32: remove extra spaces

2019-03-21 Thread Pierre Yves MORDRET
Reviewed-by: Pierre-Yves MORDRET On 3/6/19 4:11 PM, Bich HEMON wrote: > Remove extra spaces before colons. > > Signed-off-by: Bich Hemon > --- > .../devicetree/bindings/i2c/i2c-stm32.txt | 26 > +++--- > 1 file changed, 13 insertions(+), 13 d

Re: [PATCH v1 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board

2019-03-18 Thread Pierre Yves MORDRET
Hi Lucas, I'm going to resend a new version on this DT. I have to move this region elsewhere. However I didn't get your feedback about statement I did. Would it be possible to have your feelings ? Thanks :) On 2/25/19 4:57 PM, Pierre Yves MORDRET wrote: > Hi again, > > On 2/15/1

Re: [PATCH] i2c: i2c-stm32f7: improve loopback in timing algorithm

2019-03-07 Thread Pierre Yves MORDRET
Hi Reviewed-by: Pierre-Yves MORDRET Thanks On 3/6/19 4:12 PM, Bich HEMON wrote: > From: Nicolas Le Bayon > > This avoids useless loops inside the I2C timing algorithm. > Actually, we support only one possible solution per prescaler value. > So after finding a solution w

Re: [PATCH] i2c: i2c-stm32f7: Fix SDADEL minimum formula

2019-03-07 Thread Pierre Yves MORDRET
Hi Reviewed-by: Pierre-Yves MORDRET Thanks On 3/6/19 4:12 PM, Bich HEMON wrote: > From: Nicolas Le Bayon > > It conforms with Reference Manual I2C timing section. > > Signed-off-by: Nicolas Le Bayon > Signed-off-by: Bich Hemon > --- > drivers/i2c/busses/i2c-st

Re: [PATCH v1 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board

2019-02-25 Thread Pierre Yves MORDRET
Hi again, On 2/15/19 5:14 PM, Lucas Stach wrote: > Am Freitag, den 15.02.2019, 16:58 +0100 schrieb Pierre-Yves MORDRET: >> Enable Vivante GPU driver for stm32mp157c-ed1 board. >> >> Signed-off-by: Pierre-Yves MORDRET >> --- >>  arch/arm/boot/dts/stm32mp157c-ed

Re: [PATCH v1 1/3] ARM: dts: stm32: Add Vivante GPU support on STM32MP157c

2019-02-25 Thread Pierre Yves MORDRET
Hi Lucas sorry for the delay : winter season :) On 2/15/19 5:11 PM, Lucas Stach wrote: > Hi Pierre-Yves, > > Am Freitag, den 15.02.2019, 16:58 +0100 schrieb Pierre-Yves MORDRET: >> Append Vivante GPU DT configuration. >> >> Signed-off-by: Pierre-Yves MORDRET &

[PATCH v1 3/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-dk1 board

2019-02-15 Thread Pierre-Yves MORDRET
Enable Vivante GPU driver for stm32mp157c-dk1 and dk2 boards. Signed-off-by: Pierre-Yves MORDRET --- arch/arm/boot/dts/stm32mp157a-dk1.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts index

[PATCH v1 2/3] ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board

2019-02-15 Thread Pierre-Yves MORDRET
Enable Vivante GPU driver for stm32mp157c-ed1 board. Signed-off-by: Pierre-Yves MORDRET --- arch/arm/boot/dts/stm32mp157c-ed1.dts | 16 1 file changed, 16 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts index 98ef7a0

[PATCH v1 0/3] Add Vivante GPU support on STM32MP157c

2019-02-15 Thread Pierre-Yves MORDRET
Add and enable Vivante GPU on stm32mp157c for ED1, DK1 and DK2 boards. Pierre-Yves MORDRET (3): ARM: dts: stm32: Add Vivante GPU support on STM32MP157c ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-ed1 board ARM: dts: stm32: enable Vivante GPU support on stm32mp157c-dk1 board

[PATCH v1 1/3] ARM: dts: stm32: Add Vivante GPU support on STM32MP157c

2019-02-15 Thread Pierre-Yves MORDRET
Append Vivante GPU DT configuration. Signed-off-by: Pierre-Yves MORDRET --- arch/arm/boot/dts/stm32mp157c.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index f8bbfff..29540bc 100644 --- a/arch/arm

Re: [PATCH] dmaengine: stm32-mdma: Add a check on read_u32_array

2019-01-04 Thread Pierre Yves MORDRET
Hello Acked-by: Pierre-Yves MORDRET Regards On 12/28/18 8:26 PM, Aditya Pakki wrote: > In stm32_mdma_probe, after reading the property "st,ahb-addr-masks", the > second call is not checked for failure. This time of check to time of use > case of "count" error is s

[RESEND PATCH v1 3/3] dmaengine: stm32-mdma: Add PM Runtime support

2019-01-03 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-mdma.c | 52 ++-- 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/drivers

[RESEND PATCH v1 1/3] dmaengine: stm32-dma: Add PM Runtime support

2019-01-03 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dma.c | 58 +++-- 1 file changed, 51 insertions(+), 7 deletions(-) diff --git a/drivers

[RESEND PATCH v1 0/3] Add PM Runtime support

2019-01-03 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose for both DMA, DMAMUX and MDMA --- Version history: v1: * Initial --- Pierre-Yves MORDRET (3): dmaengine: stm32-dma: Add PM Runtime support dmaengine: stm32-dmamux: Add PM Runtime support dmaengine: stm32-mdma: Add PM Runtime

[RESEND PATCH v1] dmaengine: stm32-dma: check FIFO error interrupt enable

2019-01-03 Thread Pierre-Yves MORDRET
For avoiding false FIFO detection, check FIFO Error interrupt is enabled prior raising any errors. This will prevent having spurious FIFO error where it shouldn't. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dma.c | 13

[RESEND PATCH v1 2/3] dmaengine: stm32-dmamux: Add PM Runtime support

2019-01-03 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dmamux.c | 58 +- 1 file changed, 47 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH v3] i2c: i2c-stm32f7: add PM Runtime support

2018-11-27 Thread Pierre-Yves MORDRET
Use PM Runtime API to enable/disable clock Signed-off-by: Pierre-Yves MORDRET --- Version history: v3: * Rebase v2: * missing define v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 144 +++ 1 file changed, 101

[PATCH v3] i2c: i2c-stm32f7: add PM Runtime support

2018-11-27 Thread Pierre-Yves MORDRET
Use PM Runtime API to enable/disable clock Signed-off-by: Pierre-Yves MORDRET --- Version history: v3: * Rebase v2: * missing define v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 144 +++ 1 file changed, 101

Re: [PATCH v2] i2c: i2c-stm32f7: add PM Runtime support

2018-11-27 Thread Pierre Yves MORDRET
Hi Wolfram, Sorry for the inconvenience. I re-submit a v3 right now. Thanks On 11/27/18 1:10 PM, Wolfram Sang wrote: > On Mon, Nov 19, 2018 at 12:04:24PM +0100, Pierre-Yves MORDRET wrote: >> Use PM Runtime API to enable/disable clock >> >> Signed-off-by: Pierre-Yves MOR

Re: [PATCH v2] i2c: i2c-stm32f7: add PM Runtime support

2018-11-27 Thread Pierre Yves MORDRET
Hi Wolfram, Sorry for the inconvenience. I re-submit a v3 right now. Thanks On 11/27/18 1:10 PM, Wolfram Sang wrote: > On Mon, Nov 19, 2018 at 12:04:24PM +0100, Pierre-Yves MORDRET wrote: >> Use PM Runtime API to enable/disable clock >> >> Signed-off-by: Pierre-Yves MOR

[PATCH v2] i2c: i2c-stm32f7: add PM Runtime support

2018-11-19 Thread Pierre-Yves MORDRET
Use PM Runtime API to enable/disable clock Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * missing define v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 144 +++ 1 file changed, 101 insertions(+), 43 deletions

[PATCH v2] i2c: i2c-stm32f7: add PM Runtime support

2018-11-19 Thread Pierre-Yves MORDRET
Use PM Runtime API to enable/disable clock Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * missing define v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 144 +++ 1 file changed, 101 insertions(+), 43 deletions

[PATCH v2 1/2] dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-19 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET Reviewed-by: Rob Herring --- Version history: v2: v1: * Initial --- --- Documentation/devicetree/bindings/i2c/i2c-stm32.txt | 6 ++ 1 file

[PATCH v2 1/2] dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-19 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET Reviewed-by: Rob Herring --- Version history: v2: v1: * Initial --- --- Documentation/devicetree/bindings/i2c/i2c-stm32.txt | 6 ++ 1 file

[PATCH v2 0/2] SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-19 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. --- Version history: v2: * solve some build issues v1: * Initial --- Pierre-Yves MORDRET (2): dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7 i2c

[PATCH v2 2/2] i2c: i2c-stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-19 Thread Pierre-Yves MORDRET
Read SYSCFG bindings to set Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * Missing header file inclusion v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 38

[PATCH v2 0/2] SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-19 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. --- Version history: v2: * solve some build issues v1: * Initial --- Pierre-Yves MORDRET (2): dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7 i2c

[PATCH v2 2/2] i2c: i2c-stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-19 Thread Pierre-Yves MORDRET
Read SYSCFG bindings to set Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET --- Version history: v2: * Missing header file inclusion v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 38

[PATCH v1 0/3] Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose for both DMA, DMAMUX and MDMA --- Version history: v1: * Initial --- Pierre-Yves MORDRET (3): dmaengine: stm32-dma: Add PM Runtime support dmaengine: stm32-dmamux: Add PM Runtime support dmaengine: stm32-mdma: Add PM Runtime

[PATCH v1 2/3] dmaengine: stm32-dmamux: Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dmamux.c | 58 +- 1 file changed, 47 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH v1] dmaengine: stm32-dma: check FIFO error interrupt enable

2018-11-16 Thread Pierre-Yves MORDRET
For avoiding false FIFO detection, check FIFO Error interrupt is enabled prior raising any errors. This will prevent having spurious FIFO error where it shouldn't. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dma.c | 13

[PATCH v1 0/3] Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose for both DMA, DMAMUX and MDMA --- Version history: v1: * Initial --- Pierre-Yves MORDRET (3): dmaengine: stm32-dma: Add PM Runtime support dmaengine: stm32-dmamux: Add PM Runtime support dmaengine: stm32-mdma: Add PM Runtime

[PATCH v1 2/3] dmaengine: stm32-dmamux: Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dmamux.c | 58 +- 1 file changed, 47 insertions(+), 11 deletions(-) diff --git a/drivers

[PATCH v1] dmaengine: stm32-dma: check FIFO error interrupt enable

2018-11-16 Thread Pierre-Yves MORDRET
For avoiding false FIFO detection, check FIFO Error interrupt is enabled prior raising any errors. This will prevent having spurious FIFO error where it shouldn't. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dma.c | 13

[PATCH v1 3/3] dmaengine: stm32-mdma: Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-mdma.c | 52 ++-- 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v1 3/3] dmaengine: stm32-mdma: Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-mdma.c | 52 ++-- 1 file changed, 46 insertions(+), 6 deletions(-) diff --git a/drivers

[PATCH v1 1/3] dmaengine: stm32-dma: Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dma.c | 58 +++-- 1 file changed, 51 insertions(+), 7 deletions(-) diff --git a/drivers

[PATCH v1 1/3] dmaengine: stm32-dma: Add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use pm_runtime engine for clock management purpose. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/dma/stm32-dma.c | 58 +++-- 1 file changed, 51 insertions(+), 7 deletions(-) diff --git a/drivers

[PATCH v1 0/2] SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-16 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (2): dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7 i2c: i2c-stm32f7: SYSCFG Fast Mode Plus

[PATCH v1 0/2] SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-16 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. --- Version history: v1: * Initial --- Pierre-Yves MORDRET (2): dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7 i2c: i2c-stm32f7: SYSCFG Fast Mode Plus

[PATCH v1 2/2] i2c: i2c-stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-16 Thread Pierre-Yves MORDRET
Read SYSCFG bindings to set Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 37 ++--- 1 file changed, 34 insertions(+), 3

[PATCH v1 1/2] dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-16 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- Documentation/devicetree/bindings/i2c/i2c-stm32.txt | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH v1 2/2] i2c: i2c-stm32f7: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-16 Thread Pierre-Yves MORDRET
Read SYSCFG bindings to set Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 37 ++--- 1 file changed, 34 insertions(+), 3

[PATCH v1 1/2] dt-bindings: i2c-stm32: SYSCFG Fast Mode Plus support for I2C STM32F7

2018-11-16 Thread Pierre-Yves MORDRET
Append optional bindings to update SYSCFG Fast Mode Plus bits if Fast Mode Plus speed is selected. Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- Documentation/devicetree/bindings/i2c/i2c-stm32.txt | 6 ++ 1 file changed, 6 insertions(+) diff

[PATCH v1] i2c: i2c-stm32f7: add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use PM Runtime API to enable/disable clock Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 142 +++ 1 file changed, 99 insertions(+), 43 deletions(-) diff --git a/drivers/i2c

[PATCH v1] i2c: i2c-stm32f7: add PM Runtime support

2018-11-16 Thread Pierre-Yves MORDRET
Use PM Runtime API to enable/disable clock Signed-off-by: Pierre-Yves MORDRET --- Version history: v1: * Initial --- --- drivers/i2c/busses/i2c-stm32f7.c | 142 +++ 1 file changed, 99 insertions(+), 43 deletions(-) diff --git a/drivers/i2c

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-19 Thread Pierre Yves MORDRET
On 10/16/18 4:44 PM, Vinod wrote: > On 16-10-18, 11:19, Pierre Yves MORDRET wrote: >> >> >> On 10/15/18 7:14 PM, Vinod wrote: >>> On 10-10-18, 09:02, Pierre Yves MORDRET wrote: >>>> >>>> >>>> On 10/10/2018 06:03 AM

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-19 Thread Pierre Yves MORDRET
On 10/16/18 4:44 PM, Vinod wrote: > On 16-10-18, 11:19, Pierre Yves MORDRET wrote: >> >> >> On 10/15/18 7:14 PM, Vinod wrote: >>> On 10-10-18, 09:02, Pierre Yves MORDRET wrote: >>>> >>>> >>>> On 10/10/2018 06:03 AM

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-16 Thread Pierre Yves MORDRET
On 10/15/18 7:14 PM, Vinod wrote: > On 10-10-18, 09:02, Pierre Yves MORDRET wrote: >> >> >> On 10/10/2018 06:03 AM, Vinod wrote: >>> On 09-10-18, 10:40, Pierre Yves MORDRET wrote: >>>> >>>> >>>> On 10/07/2018 06:00 PM

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-16 Thread Pierre Yves MORDRET
On 10/15/18 7:14 PM, Vinod wrote: > On 10-10-18, 09:02, Pierre Yves MORDRET wrote: >> >> >> On 10/10/2018 06:03 AM, Vinod wrote: >>> On 09-10-18, 10:40, Pierre Yves MORDRET wrote: >>>> >>>> >>>> On 10/07/2018 06:00 PM

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-10 Thread Pierre Yves MORDRET
On 10/10/2018 06:03 AM, Vinod wrote: > On 09-10-18, 10:40, Pierre Yves MORDRET wrote: >> >> >> On 10/07/2018 06:00 PM, Vinod wrote: >>> On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >>>> This patch adds support of DMA/MDMA chaining support. >>&

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-10 Thread Pierre Yves MORDRET
On 10/10/2018 06:03 AM, Vinod wrote: > On 09-10-18, 10:40, Pierre Yves MORDRET wrote: >> >> >> On 10/07/2018 06:00 PM, Vinod wrote: >>> On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >>>> This patch adds support of DMA/MDMA chaining support. >>&

Re: [PATCH v3 1/7] dt-bindings: stm32-dma: Add DMA/MDMA chaining support bindings

2018-10-09 Thread Pierre Yves MORDRET
On 10/09/2018 10:57 AM, Vinod wrote: > Hi Pierre, > > On 09-10-18, 09:18, Pierre Yves MORDRET wrote: > >>>> * DMA client >>>> @@ -68,7 +84,16 @@ channel: a phandle to the DMA controller plus the >>>> following four integer cells: >&

Re: [PATCH v3 1/7] dt-bindings: stm32-dma: Add DMA/MDMA chaining support bindings

2018-10-09 Thread Pierre Yves MORDRET
On 10/09/2018 10:57 AM, Vinod wrote: > Hi Pierre, > > On 09-10-18, 09:18, Pierre Yves MORDRET wrote: > >>>> * DMA client >>>> @@ -68,7 +84,16 @@ channel: a phandle to the DMA controller plus the >>>> following four integer cells: >&

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-09 Thread Pierre Yves MORDRET
On 10/07/2018 06:00 PM, Vinod wrote: > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >> This patch adds support of DMA/MDMA chaining support. >> It introduces an intermediate transfer between peripherals and STM32 DMA. >> This intermediate transfer is triggered by SW fo

Re: [PATCH v3 4/7] dmaengine: stm32-dma: Add DMA/MDMA chaining support

2018-10-09 Thread Pierre Yves MORDRET
On 10/07/2018 06:00 PM, Vinod wrote: > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >> This patch adds support of DMA/MDMA chaining support. >> It introduces an intermediate transfer between peripherals and STM32 DMA. >> This intermediate transfer is triggered by SW fo

Re: [PATCH v3 3/7] dt-bindings: stm32-mdma: Add DMA/MDMA chaining support bindings

2018-10-09 Thread Pierre Yves MORDRET
On 10/07/2018 04:59 PM, Vinod wrote: > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >> From: M'boumba Cedric Madianga >> >> This patch adds the description of the 2 properties needed to support M2M >> transfer triggered by STM32 DMA when his transfer is complete.

Re: [PATCH v3 3/7] dt-bindings: stm32-mdma: Add DMA/MDMA chaining support bindings

2018-10-09 Thread Pierre Yves MORDRET
On 10/07/2018 04:59 PM, Vinod wrote: > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >> From: M'boumba Cedric Madianga >> >> This patch adds the description of the 2 properties needed to support M2M >> transfer triggered by STM32 DMA when his transfer is complete.

Re: [PATCH v3 2/7] dt-bindings: stm32-dmamux: Add one cell to support DMA/MDMA chain

2018-10-09 Thread Pierre Yves MORDRET
On 10/07/2018 04:58 PM, Vinod wrote: > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >> From: M'boumba Cedric Madianga >> >> Add one cell to support DMA/MDMA chaining. >> >> Signed-off-by: Pierre-Yves MORDRET >> --- >> Version history: >

Re: [PATCH v3 2/7] dt-bindings: stm32-dmamux: Add one cell to support DMA/MDMA chain

2018-10-09 Thread Pierre Yves MORDRET
On 10/07/2018 04:58 PM, Vinod wrote: > On 28-09-18, 15:01, Pierre-Yves MORDRET wrote: >> From: M'boumba Cedric Madianga >> >> Add one cell to support DMA/MDMA chaining. >> >> Signed-off-by: Pierre-Yves MORDRET >> --- >> Version history: >

  1   2   3   4   5   6   7   >