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


Groups > linux.kernel > #1546184 > unrolled thread

[PATCH] ARM64: zynqmp: Fix i2c node's compatible string

Started byMoritz Fischer <moritz.fischer@ettus.com>
First post2016-12-22 07:00 +0100
Last post2016-12-22 17:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM64: zynqmp: Fix i2c node's compatible string Moritz Fischer <moritz.fischer@ettus.com> - 2016-12-22 07:00 +0100
    Re: [PATCH] ARM64: zynqmp: Fix i2c node's compatible string Moritz Fischer <moritz.fischer.private@gmail.com> - 2016-12-22 17:30 +0100

#1546184 — [PATCH] ARM64: zynqmp: Fix i2c node's compatible string

FromMoritz Fischer <moritz.fischer@ettus.com>
Date2016-12-22 07:00 +0100
Subject[PATCH] ARM64: zynqmp: Fix i2c node's compatible string
Message-ID<sR4A1-5hg-9@gated-at.bofh.it>
From: Moritz Fischer <mdf@kernel.org>

The Zynq Ultrascale MP uses version 1.4 of the Cadence IP core
which fixes some silicon bugs that needed software workarounds
in Version 1.0 that was used on Zynq systems.

Signed-off-by: Moritz Fischer <mdf@kernel.org>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Cc: U-Boot List <u-boot@lists.denx.de>
Cc: Rob Herring <robh+dt@kernel.org>
---

Hi Michal,

I think this is a slip up and should be r1p14 for
Ultrascale ZynqMP. drivers/i2c/i2c-cadence.c already uses this.
I Cc'd the u-boot list, because the same change would be required there.

Cheers,

Moritz

---
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 68a90833..a5a5f91 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -175,7 +175,7 @@
 		};
 
 		i2c0: i2c@ff020000 {
-			compatible = "cdns,i2c-r1p10";
+			compatible = "cdns,i2c-r1p14";
 			status = "disabled";
 			interrupt-parent = <&gic>;
 			interrupts = <0 17 4>;
@@ -185,7 +185,7 @@
 		};
 
 		i2c1: i2c@ff030000 {
-			compatible = "cdns,i2c-r1p10";
+			compatible = "cdns,i2c-r1p14";
 			status = "disabled";
 			interrupt-parent = <&gic>;
 			interrupts = <0 18 4>;
-- 
2.4.11

[toc] | [next] | [standalone]


#1546462

FromMoritz Fischer <moritz.fischer.private@gmail.com>
Date2016-12-22 17:30 +0100
Message-ID<sRepH-3kK-5@gated-at.bofh.it>
In reply to#1546184
Hi Michal,

On Wed, Dec 21, 2016 at 11:35 PM, Michal Simek <michal.simek@xilinx.com> wrote:

> compatible = "cdns,i2c-r1p14", "cdns,i2c-r1p10";

I keep getting that wrong .. .damn ... :) Will resubmit.

> The same of course for u-boot where also p14 should be added to the driver.

Yeah, I realized that part after submitting...

Thanks

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web