Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1737231

Re: [PATCH] dt-bindings: i2c: Add armada-38x i2c binding

From Gregory CLEMENT <gregory.clement@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] dt-bindings: i2c: Add armada-38x i2c binding
Date 2017-09-22 09:40 +0200
Message-ID <usqJ4-3kU-9@gated-at.bofh.it> (permalink)
References <uslzI-j7-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Kalyan,
 
 On ven., sept. 22 2017, Kalyan Kinthada <kalyan.kinthada@alliedtelesis.co.nz> wrote:

> All armada-38x variants(380, 385, 388) SoCs have an issue
> in i2c controller which violates the i2c repeated start timing.


Did you had an issue with one of the SoC ?
If yes what was your setting ?
On my side I never managed to have this sort of issue on Armada 38x.

>
> This errata is fixed in the i2c-mv64xxx driver but enabled
> only for devices with compatible string "marvell,mv78230-i2c".

In this case why not just adding the "marvell,mv78230-i2c" as compatible
string in the appropriate device tree files ?

Gregory

>
> This patch introduces a new compatible string
> "marvell,armada-38x-i2c" for the i2c controller on armada-38x SoCs
> so that the workaound is enabled.


>
> Signed-off-by: Kalyan Kinthada <kalyan.kinthada@alliedtelesis.co.nz>
> ---
>  Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt b/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
> index 5c30026921..fc100b6bdb 100644
> --- a/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
> +++ b/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt
> @@ -14,6 +14,7 @@ Required properties :
>                           very rare, initial version of the SoC which
>                           had broken offload support.  Linux
>                           auto-detects this and sets it appropriately.
> +                     - "marvell,armada-38x-i2c"
>   - interrupts      : The interrupt number
>  
>  Optional properties :
> -- 
> 2.14.1
>

-- 
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] dt-bindings: i2c: Add armada-38x i2c binding Kalyan Kinthada <kalyan.kinthada@alliedtelesis.co.nz> - 2017-09-22 04:10 +0200
  Re: [PATCH] dt-bindings: i2c: Add armada-38x i2c binding Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-09-22 09:40 +0200
    Re: [PATCH] dt-bindings: i2c: Add armada-38x i2c binding Kalyan Kinthada <Kalyan.Kinthada@alliedtelesis.co.nz> - 2017-09-24 23:50 +0200
      Re: [PATCH] dt-bindings: i2c: Add armada-38x i2c binding Gregory CLEMENT <gregory.clement@free-electrons.com> - 2017-09-26 14:00 +0200

csiph-web