[PATCH] arm: omap5: dts: fix reg property size

2013-07-12 Thread Felipe Balbi
USB3 block has a 64KiB space, another 64KiB is
used for the wrapper.

Without this change, resource_size() will get
confused and driver won't probe because size
will be negative.

Signed-off-by: Felipe Balbi ba...@ti.com
---

does anybody know Benoit's knew email address ?

 arch/arm/boot/dts/omap5.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
index e643620..5c99f19 100644
--- a/arch/arm/boot/dts/omap5.dtsi
+++ b/arch/arm/boot/dts/omap5.dtsi
@@ -637,7 +637,7 @@
omap_dwc3@4a02 {
compatible = ti,dwc3;
ti,hwmods = usb_otg_ss;
-   reg = 0x4a02 0x1000;
+   reg = 0x4a02 0x1;
interrupts = GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH;
#address-cells = 1;
#size-cells = 1;
@@ -645,7 +645,7 @@
ranges;
dwc3@4a03 {
compatible = synopsys,dwc3;
-   reg = 0x4a03 0x1000;
+   reg = 0x4a03 0x1;
interrupts = GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH;
usb-phy = usb2_phy, usb3_phy;
tx-fifo-resize;
-- 
1.8.2.1

--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] arm: omap5: dts: fix reg property size

2013-07-12 Thread Kishon Vijay Abraham I
On Friday 12 July 2013 05:28 PM, Felipe Balbi wrote:
 USB3 block has a 64KiB space, another 64KiB is
 used for the wrapper.
 
 Without this change, resource_size() will get
 confused and driver won't probe because size
 will be negative.
 
 Signed-off-by: Felipe Balbi ba...@ti.com
 ---
 
 does anybody know Benoit's knew email address ?
benoit.cous...@linaro.org

-Kishon
--
To unsubscribe from this list: send the line unsubscribe linux-omap in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [PATCH] arm: omap5: dts: fix reg property size

2013-07-12 Thread Felipe Balbi
+ Benoit

On Fri, Jul 12, 2013 at 02:58:05PM +0300, Felipe Balbi wrote:
 USB3 block has a 64KiB space, another 64KiB is
 used for the wrapper.
 
 Without this change, resource_size() will get
 confused and driver won't probe because size
 will be negative.
 
 Signed-off-by: Felipe Balbi ba...@ti.com
 ---
 
 does anybody know Benoit's knew email address ?
 
  arch/arm/boot/dts/omap5.dtsi | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
 
 diff --git a/arch/arm/boot/dts/omap5.dtsi b/arch/arm/boot/dts/omap5.dtsi
 index e643620..5c99f19 100644
 --- a/arch/arm/boot/dts/omap5.dtsi
 +++ b/arch/arm/boot/dts/omap5.dtsi
 @@ -637,7 +637,7 @@
   omap_dwc3@4a02 {
   compatible = ti,dwc3;
   ti,hwmods = usb_otg_ss;
 - reg = 0x4a02 0x1000;
 + reg = 0x4a02 0x1;
   interrupts = GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH;
   #address-cells = 1;
   #size-cells = 1;
 @@ -645,7 +645,7 @@
   ranges;
   dwc3@4a03 {
   compatible = synopsys,dwc3;
 - reg = 0x4a03 0x1000;
 + reg = 0x4a03 0x1;
   interrupts = GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH;
   usb-phy = usb2_phy, usb3_phy;
   tx-fifo-resize;
 -- 
 1.8.2.1
 

-- 
balbi


signature.asc
Description: Digital signature