mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] ARM: i.MX5x: Make IIM driver kernel-compatible
@ 2013-10-25 10:11 Alexander Shiyan
  2013-10-29  7:56 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Shiyan @ 2013-10-25 10:11 UTC (permalink / raw)
  To: barebox

Since kernel uses "imx27-iim" compatible string in i.MX5x DTS templates,
do IIM driver compatible.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/dts/imx53.dtsi | 2 +-
 arch/arm/mach-imx/iim.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/imx53.dtsi b/arch/arm/dts/imx53.dtsi
index 5c8608b..09c5772 100644
--- a/arch/arm/dts/imx53.dtsi
+++ b/arch/arm/dts/imx53.dtsi
@@ -962,7 +962,7 @@
 			ranges;
 
 			iim: iim@63f98000 {
-				compatible = "fsl,imx53-iim", "fsl,imx-iim";
+				compatible = "fsl,imx53-iim", "fsl,imx27-iim";
 				reg = <0x63f98000 0x4000>;
 				interrupts = <69>;
 				clocks = <&clks 107>;
diff --git a/arch/arm/mach-imx/iim.c b/arch/arm/mach-imx/iim.c
index 956811c..938c3f3 100644
--- a/arch/arm/mach-imx/iim.c
+++ b/arch/arm/mach-imx/iim.c
@@ -296,7 +296,7 @@ static int imx_iim_probe(struct device_d *dev)
 
 static __maybe_unused struct of_device_id imx_iim_dt_ids[] = {
 	{
-		.compatible = "fsl,imx-iim",
+		.compatible = "fsl,imx27-iim",
 	}, {
 		/* sentinel */
 	}
-- 
1.8.1.5


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-10-29  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-25 10:11 [PATCH] ARM: i.MX5x: Make IIM driver kernel-compatible Alexander Shiyan
2013-10-29  7:56 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox