mbox series

[0/3] SAMA5D2 i2c bus recovery testing

Message ID 20191205140305.1144788-1-kamel.bouhara@bootlin.com (mailing list archive)
Headers show
Series SAMA5D2 i2c bus recovery testing | expand

Message

Kamel BOUHARA Dec. 5, 2019, 2:03 p.m. UTC
Here are the sama5d2 patches, as there is not pinmux defined in the
dtsi. I choosed to only apply it to derivated board as the i2c
configuration is specific for each.

Of course, it could be great if could test it on the ptc board as well.

Best Regards,
Kamel

Kamel Bouhara (3):
  dt-bindings: i2c: at91: document optional bus recovery properties
  i2c: at91: implement i2c bus recovery
  ARM: at91/dt: sama5d2: add i2c gpio pinctrl

 .../devicetree/bindings/i2c/i2c-at91.txt      | 10 +++
 arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts     | 33 +++++++++-
 arch/arm/boot/dts/at91-sama5d2_xplained.dts   | 33 +++++++++-
 drivers/i2c/busses/i2c-at91-master.c          | 64 +++++++++++++++++++
 drivers/i2c/busses/i2c-at91.h                 |  8 +++
 5 files changed, 142 insertions(+), 6 deletions(-)

--
2.24.0

Comments

Ludovic Desroches Dec. 16, 2019, 10:10 a.m. UTC | #1
Hi Kamel,

On Thu, Dec 05, 2019 at 03:03:02PM +0100, Kamel Bouhara wrote:
> 
> Here are the sama5d2 patches, as there is not pinmux defined in the
> dtsi. I choosed to only apply it to derivated board as the i2c
> configuration is specific for each.
> 
> Of course, it could be great if could test it on the ptc board as well.
> 

The i2c mailing list is missing, can you resend it please.

By the way, it fails to apply against next and 5.5-rc1. On which version is it
based? I assume a cherry-pick should work but git am fails.

Regards

Ludovic

> Best Regards,
> Kamel
> 
> Kamel Bouhara (3):
>   dt-bindings: i2c: at91: document optional bus recovery properties
>   i2c: at91: implement i2c bus recovery
>   ARM: at91/dt: sama5d2: add i2c gpio pinctrl
> 
>  .../devicetree/bindings/i2c/i2c-at91.txt      | 10 +++
>  arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts     | 33 +++++++++-
>  arch/arm/boot/dts/at91-sama5d2_xplained.dts   | 33 +++++++++-
>  drivers/i2c/busses/i2c-at91-master.c          | 64 +++++++++++++++++++
>  drivers/i2c/busses/i2c-at91.h                 |  8 +++
>  5 files changed, 142 insertions(+), 6 deletions(-)
> 
> --
> 2.24.0
>
Kamel BOUHARA Dec. 16, 2019, 10:26 a.m. UTC | #2
On Mon, Dec 16, 2019 at 11:10:44AM +0100, Ludovic Desroches wrote:
> Hi Kamel,
>

Hi Ludovic,

> On Thu, Dec 05, 2019 at 03:03:02PM +0100, Kamel Bouhara wrote:
> >
> > Here are the sama5d2 patches, as there is not pinmux defined in the
> > dtsi. I choosed to only apply it to derivated board as the i2c
> > configuration is specific for each.
> >
> > Of course, it could be great if could test it on the ptc board as well.
> >
>
> The i2c mailing list is missing, can you resend it please.
>

Actually it was not intended to be sent to any mailing list, it is a
mail for Codrin so he can achieve some tests.

> By the way, it fails to apply against next and 5.5-rc1. On which version is it
> based? I assume a cherry-pick should work but git am fails.
>

It's based on 5.4, Im not sure it will apply on next but it should on
5.5, anyway it is a WIP here.

Best Regards,
Kamel

> Regards
>
> Ludovic
>
> > Best Regards,
> > Kamel
> >
> > Kamel Bouhara (3):
> >   dt-bindings: i2c: at91: document optional bus recovery properties
> >   i2c: at91: implement i2c bus recovery
> >   ARM: at91/dt: sama5d2: add i2c gpio pinctrl
> >
> >  .../devicetree/bindings/i2c/i2c-at91.txt      | 10 +++
> >  arch/arm/boot/dts/at91-sama5d2_ptc_ek.dts     | 33 +++++++++-
> >  arch/arm/boot/dts/at91-sama5d2_xplained.dts   | 33 +++++++++-
> >  drivers/i2c/busses/i2c-at91-master.c          | 64 +++++++++++++++++++
> >  drivers/i2c/busses/i2c-at91.h                 |  8 +++
> >  5 files changed, 142 insertions(+), 6 deletions(-)
> >
> > --
> > 2.24.0
> >

--
Kamel Bouhara, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com