* [PATCH 1/4] ARM: dts: keystone: fix io range for usb_phy0
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 2/4] ARM: dts: keystone-k2e: update usb1 node for dma properties Grygorii Strashko
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ 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] 6+ messages in thread* [PATCH 2/4] ARM: dts: keystone-k2e: update usb1 node for dma properties
2014-10-01 10:37 [PATCH 0/4] ARM: dts: keystone: fixes 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 3/4] ARM: dts: keystone-k2e: fix mdio io start address Grygorii Strashko
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ 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] 6+ messages in thread* [PATCH 3/4] ARM: dts: keystone-k2e: fix mdio io start address
2014-10-01 10:37 [PATCH 0/4] ARM: dts: keystone: fixes 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 ` [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 4/4] ARM: dts: keystone-k2l: " Grygorii Strashko
2014-10-01 13:54 ` [PATCH 0/4] ARM: dts: keystone: fixes Santosh Shilimkar
4 siblings, 0 replies; 6+ 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] 6+ messages in thread* [PATCH 4/4] ARM: dts: keystone-k2l: fix mdio io start address
2014-10-01 10:37 [PATCH 0/4] ARM: dts: keystone: fixes Grygorii Strashko
` (2 preceding siblings ...)
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 13:54 ` [PATCH 0/4] ARM: dts: keystone: fixes Santosh Shilimkar
4 siblings, 0 replies; 6+ 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] 6+ messages in thread* [PATCH 0/4] ARM: dts: keystone: fixes
2014-10-01 10:37 [PATCH 0/4] ARM: dts: keystone: fixes Grygorii Strashko
` (3 preceding siblings ...)
2014-10-01 10:37 ` [PATCH 4/4] ARM: dts: keystone-k2l: " Grygorii Strashko
@ 2014-10-01 13:54 ` Santosh Shilimkar
4 siblings, 0 replies; 6+ 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] 6+ messages in thread