linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] arm: omap5: dts: fix reg property size
@ 2013-07-12 11:58 Felipe Balbi
  2013-07-12 12:37 ` Kishon Vijay Abraham I
  2013-07-12 12:45 ` Felipe Balbi
  0 siblings, 2 replies; 3+ messages in thread
From: Felipe Balbi @ 2013-07-12 11:58 UTC (permalink / raw)
  To: linux-arm-kernel

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 <balbi@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 at 4a020000 {
 			compatible = "ti,dwc3";
 			ti,hwmods = "usb_otg_ss";
-			reg = <0x4a020000 0x1000>;
+			reg = <0x4a020000 0x10000>;
 			interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
 			#address-cells = <1>;
 			#size-cells = <1>;
@@ -645,7 +645,7 @@
 			ranges;
 			dwc3 at 4a030000 {
 				compatible = "synopsys,dwc3";
-				reg = <0x4a030000 0x1000>;
+				reg = <0x4a030000 0x10000>;
 				interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
 				usb-phy = <&usb2_phy>, <&usb3_phy>;
 				tx-fifo-resize;
-- 
1.8.2.1

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

* [PATCH] arm: omap5: dts: fix reg property size
  2013-07-12 11:58 [PATCH] arm: omap5: dts: fix reg property size Felipe Balbi
@ 2013-07-12 12:37 ` Kishon Vijay Abraham I
  2013-07-12 12:45 ` Felipe Balbi
  1 sibling, 0 replies; 3+ messages in thread
From: Kishon Vijay Abraham I @ 2013-07-12 12:37 UTC (permalink / raw)
  To: linux-arm-kernel

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 <balbi@ti.com>
> ---
> 
> does anybody know Benoit's knew email address ?
benoit.cousson at linaro.org

-Kishon

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

* [PATCH] arm: omap5: dts: fix reg property size
  2013-07-12 11:58 [PATCH] arm: omap5: dts: fix reg property size Felipe Balbi
  2013-07-12 12:37 ` Kishon Vijay Abraham I
@ 2013-07-12 12:45 ` Felipe Balbi
  1 sibling, 0 replies; 3+ messages in thread
From: Felipe Balbi @ 2013-07-12 12:45 UTC (permalink / raw)
  To: linux-arm-kernel

+ 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 <balbi@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 at 4a020000 {
>  			compatible = "ti,dwc3";
>  			ti,hwmods = "usb_otg_ss";
> -			reg = <0x4a020000 0x1000>;
> +			reg = <0x4a020000 0x10000>;
>  			interrupts = <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>;
>  			#address-cells = <1>;
>  			#size-cells = <1>;
> @@ -645,7 +645,7 @@
>  			ranges;
>  			dwc3 at 4a030000 {
>  				compatible = "synopsys,dwc3";
> -				reg = <0x4a030000 0x1000>;
> +				reg = <0x4a030000 0x10000>;
>  				interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>;
>  				usb-phy = <&usb2_phy>, <&usb3_phy>;
>  				tx-fifo-resize;
> -- 
> 1.8.2.1
> 

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130712/5a82452d/attachment.sig>

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

end of thread, other threads:[~2013-07-12 12:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-12 11:58 [PATCH] arm: omap5: dts: fix reg property size Felipe Balbi
2013-07-12 12:37 ` Kishon Vijay Abraham I
2013-07-12 12:45 ` Felipe Balbi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).