All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] ARM: dts: keystone: fixes
@ 2014-10-01 10:37 ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Snatosh,

This small set of DTS fixes for Keystone 2 SoCs, which
I've done while testing kernel boot on linux-next (3.18).

Grygorii Strashko (4):
  ARM: dts: keystone: fix io range for usb_phy
  ARM: dts: keystone-k2e: update usb1 node for dma properties
  ARM: dts: keystone-k2e: fix mdio io start address
  ARM: dts: keystone-k2l: fix mdio io start address

 arch/arm/boot/dts/k2e.dtsi      | 6 ++++++
 arch/arm/boot/dts/k2l.dtsi      | 4 ++++
 arch/arm/boot/dts/keystone.dtsi | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

-- 
1.9.1

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

* [PATCH 0/4] ARM: dts: keystone: fixes
@ 2014-10-01 10:37 ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: santosh.shilimkar-l0cyMroinI0
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Grygorii Strashko

Hi Snatosh,

This small set of DTS fixes for Keystone 2 SoCs, which
I've done while testing kernel boot on linux-next (3.18).

Grygorii Strashko (4):
  ARM: dts: keystone: fix io range for usb_phy
  ARM: dts: keystone-k2e: update usb1 node for dma properties
  ARM: dts: keystone-k2e: fix mdio io start address
  ARM: dts: keystone-k2l: fix mdio io start address

 arch/arm/boot/dts/k2e.dtsi      | 6 ++++++
 arch/arm/boot/dts/k2l.dtsi      | 4 ++++
 arch/arm/boot/dts/keystone.dtsi | 2 +-
 3 files changed, 11 insertions(+), 1 deletion(-)

-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 1/4] ARM: dts: keystone: fix io range for usb_phy0
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

The IO range size is set incorrectly for USB PHY0 deivice
it should be 24 instead of 32. Otherwise, It causes
USB PHY1 probing failure.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 arch/arm/boot/dts/keystone.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
index 4e53494..d1f03a0 100644
--- a/arch/arm/boot/dts/keystone.dtsi
+++ b/arch/arm/boot/dts/keystone.dtsi
@@ -177,7 +177,7 @@
 			compatible = "ti,keystone-usbphy";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			reg = <0x2620738 32>;
+			reg = <0x2620738 24>;
 			status = "disabled";
 		};
 
-- 
1.9.1

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

* [PATCH 1/4] ARM: dts: keystone: fix io range for usb_phy0
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: santosh.shilimkar-l0cyMroinI0
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Grygorii Strashko

The IO range size is set incorrectly for USB PHY0 deivice
it should be 24 instead of 32. Otherwise, It causes
USB PHY1 probing failure.

Signed-off-by: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/keystone.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/keystone.dtsi b/arch/arm/boot/dts/keystone.dtsi
index 4e53494..d1f03a0 100644
--- a/arch/arm/boot/dts/keystone.dtsi
+++ b/arch/arm/boot/dts/keystone.dtsi
@@ -177,7 +177,7 @@
 			compatible = "ti,keystone-usbphy";
 			#address-cells = <1>;
 			#size-cells = <1>;
-			reg = <0x2620738 32>;
+			reg = <0x2620738 24>;
 			status = "disabled";
 		};
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 2/4] ARM: dts: keystone-k2e: update usb1 node for dma properties
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

Keystone supports dma-coherent on USB master and also needs
dma-ranges to specify the hardware alias memory range in which DMA
can be operational.
Such configuration applied for USB0 devices, but It's missed for
USB1 device which is present only in K2E SoC - hence apply it.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 arch/arm/boot/dts/k2e.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 03d0190..0e25f79 100644
--- a/arch/arm/boot/dts/k2e.dtsi
+++ b/arch/arm/boot/dts/k2e.dtsi
@@ -67,6 +67,8 @@
 			clock-names = "usb";
 			interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
 			ranges;
+			dma-coherent;
+			dma-ranges;
 			status = "disabled";
 
 			dwc3 at 25010000 {
-- 
1.9.1

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

* [PATCH 2/4] ARM: dts: keystone-k2e: update usb1 node for dma properties
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: santosh.shilimkar-l0cyMroinI0
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Grygorii Strashko

Keystone supports dma-coherent on USB master and also needs
dma-ranges to specify the hardware alias memory range in which DMA
can be operational.
Such configuration applied for USB0 devices, but It's missed for
USB1 device which is present only in K2E SoC - hence apply it.

Signed-off-by: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/k2e.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 03d0190..0e25f79 100644
--- a/arch/arm/boot/dts/k2e.dtsi
+++ b/arch/arm/boot/dts/k2e.dtsi
@@ -67,6 +67,8 @@
 			clock-names = "usb";
 			interrupts = <GIC_SPI 414 IRQ_TYPE_EDGE_RISING>;
 			ranges;
+			dma-coherent;
+			dma-ranges;
 			status = "disabled";
 
 			dwc3@25010000 {
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 3/4] ARM: dts: keystone-k2e: fix mdio io start address
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

The K2E MDIO io space has different start address.
Hence, fix it to be 0x24200f00 according to TRM.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 arch/arm/boot/dts/k2e.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 0e25f79..13b0feb 100644
--- a/arch/arm/boot/dts/k2e.dtsi
+++ b/arch/arm/boot/dts/k2e.dtsi
@@ -80,3 +80,7 @@
 		};
 	};
 };
+
+&mdio {
+	reg = <0x24200f00 0x100>;
+};
-- 
1.9.1

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

* [PATCH 3/4] ARM: dts: keystone-k2e: fix mdio io start address
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: santosh.shilimkar-l0cyMroinI0
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Grygorii Strashko

The K2E MDIO io space has different start address.
Hence, fix it to be 0x24200f00 according to TRM.

Signed-off-by: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/k2e.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/k2e.dtsi b/arch/arm/boot/dts/k2e.dtsi
index 0e25f79..13b0feb 100644
--- a/arch/arm/boot/dts/k2e.dtsi
+++ b/arch/arm/boot/dts/k2e.dtsi
@@ -80,3 +80,7 @@
 		};
 	};
 };
+
+&mdio {
+	reg = <0x24200f00 0x100>;
+};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 4/4] ARM: dts: keystone-k2l: fix mdio io start address
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: linux-arm-kernel

The K2L MDIO io space has different start address.
Hence, fix it to be 0x26200f00 according to TRM.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
---
 arch/arm/boot/dts/k2l.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi
index 1f7f479..5e44983 100644
--- a/arch/arm/boot/dts/k2l.dtsi
+++ b/arch/arm/boot/dts/k2l.dtsi
@@ -53,3 +53,7 @@
 		};
 	};
 };
+
+&mdio {
+	reg = <0x26200f00 0x100>;
+};
-- 
1.9.1

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

* [PATCH 4/4] ARM: dts: keystone-k2l: fix mdio io start address
@ 2014-10-01 10:37   ` Grygorii Strashko
  0 siblings, 0 replies; 12+ messages in thread
From: Grygorii Strashko @ 2014-10-01 10:37 UTC (permalink / raw)
  To: santosh.shilimkar-l0cyMroinI0
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
	Grygorii Strashko

The K2L MDIO io space has different start address.
Hence, fix it to be 0x26200f00 according to TRM.

Signed-off-by: Grygorii Strashko <grygorii.strashko-l0cyMroinI0@public.gmane.org>
---
 arch/arm/boot/dts/k2l.dtsi | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/arch/arm/boot/dts/k2l.dtsi b/arch/arm/boot/dts/k2l.dtsi
index 1f7f479..5e44983 100644
--- a/arch/arm/boot/dts/k2l.dtsi
+++ b/arch/arm/boot/dts/k2l.dtsi
@@ -53,3 +53,7 @@
 		};
 	};
 };
+
+&mdio {
+	reg = <0x26200f00 0x100>;
+};
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* [PATCH 0/4] ARM: dts: keystone: fixes
@ 2014-10-01 13:54   ` Santosh Shilimkar
  0 siblings, 0 replies; 12+ messages in thread
From: Santosh Shilimkar @ 2014-10-01 13:54 UTC (permalink / raw)
  To: linux-arm-kernel

On Wednesday 01 October 2014 06:37 AM, Grygorii Strashko wrote:
> Hi Snatosh,
> 
> This small set of DTS fixes for Keystone 2 SoCs, which
> I've done while testing kernel boot on linux-next (3.18).
> 
> Grygorii Strashko (4):
>   ARM: dts: keystone: fix io range for usb_phy
>   ARM: dts: keystone-k2e: update usb1 node for dma properties
>   ARM: dts: keystone-k2e: fix mdio io start address
>   ARM: dts: keystone-k2l: fix mdio io start address
> 
Thanks Grygorii !!
I will queue this up for 3.18

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

* Re: [PATCH 0/4] ARM: dts: keystone: fixes
@ 2014-10-01 13:54   ` Santosh Shilimkar
  0 siblings, 0 replies; 12+ messages in thread
From: Santosh Shilimkar @ 2014-10-01 13:54 UTC (permalink / raw)
  To: Grygorii Strashko
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA,
	linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r

On Wednesday 01 October 2014 06:37 AM, Grygorii Strashko wrote:
> Hi Snatosh,
> 
> This small set of DTS fixes for Keystone 2 SoCs, which
> I've done while testing kernel boot on linux-next (3.18).
> 
> Grygorii Strashko (4):
>   ARM: dts: keystone: fix io range for usb_phy
>   ARM: dts: keystone-k2e: update usb1 node for dma properties
>   ARM: dts: keystone-k2e: fix mdio io start address
>   ARM: dts: keystone-k2l: fix mdio io start address
> 
Thanks Grygorii !!
I will queue this up for 3.18

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2014-10-01 13:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-01 10:37 [PATCH 0/4] ARM: dts: keystone: fixes Grygorii Strashko
2014-10-01 10:37 ` Grygorii Strashko
2014-10-01 10:37 ` [PATCH 1/4] ARM: dts: keystone: fix io range for usb_phy0 Grygorii Strashko
2014-10-01 10:37   ` Grygorii Strashko
2014-10-01 10:37 ` [PATCH 2/4] ARM: dts: keystone-k2e: update usb1 node for dma properties Grygorii Strashko
2014-10-01 10:37   ` Grygorii Strashko
2014-10-01 10:37 ` [PATCH 3/4] ARM: dts: keystone-k2e: fix mdio io start address Grygorii Strashko
2014-10-01 10:37   ` Grygorii Strashko
2014-10-01 10:37 ` [PATCH 4/4] ARM: dts: keystone-k2l: " Grygorii Strashko
2014-10-01 10:37   ` Grygorii Strashko
2014-10-01 13:54 ` [PATCH 0/4] ARM: dts: keystone: fixes Santosh Shilimkar
2014-10-01 13:54   ` Santosh Shilimkar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.