* [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 13:58 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: LKML, bcousson, tony
Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
linux-omap, devicetree, linux-arm-kernel, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..b95bc9a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -183,28 +183,28 @@
&usb {
status = "okay";
- control@44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy@47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy@47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb@47401000 {
+ &usb0 {
status = "okay";
};
- usb@47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller@47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 13:58 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: LKML, bcousson, tony
Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
linux-omap, devicetree, linux-arm-kernel, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..b95bc9a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -183,28 +183,28 @@
&usb {
status = "okay";
- control@44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy@47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy@47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb@47401000 {
+ &usb0 {
status = "okay";
};
- usb@47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller@47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 13:58 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: linux-arm-kernel
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..b95bc9a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -183,28 +183,28 @@
&usb {
status = "okay";
- control at 44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy at 47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy at 47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb at 47401000 {
+ &usb0 {
status = "okay";
};
- usb at 47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller at 47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
(?)
@ 2014-04-28 13:58 ` Guido Martínez
-1 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: LKML, bcousson, tony
Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
linux-omap, devicetree, linux-arm-kernel, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-evm.dts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 6028217..e802627 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -331,28 +331,28 @@
&usb {
status = "okay";
- control@44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy@47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy@47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb@47401000 {
+ &usb0 {
status = "okay";
};
- usb@47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller@47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs
@ 2014-04-28 13:58 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: LKML, bcousson, tony
Cc: mark.rutland, devicetree, linux, pawel.moll, ijc+devicetree,
robh+dt, Guido Martínez, Ezequiel García, galak,
linux-omap, linux-arm-kernel
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-evm.dts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 6028217..e802627 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -331,28 +331,28 @@
&usb {
status = "okay";
- control@44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy@47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy@47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb@47401000 {
+ &usb0 {
status = "okay";
};
- usb@47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller@47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs
@ 2014-04-28 13:58 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: linux-arm-kernel
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-evm.dts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 6028217..e802627 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -331,28 +331,28 @@
&usb {
status = "okay";
- control at 44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy at 47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy at 47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb at 47401000 {
+ &usb0 {
status = "okay";
};
- usb at 47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller at 47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 3/4] ARM: dts: am335x-evmsk: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
@ 2014-04-28 13:58 ` Guido Martínez
-1 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: LKML, bcousson, tony
Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
linux-omap, devicetree, linux-arm-kernel, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-evmsk.dts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index ab23885..44b8d75 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -364,28 +364,28 @@
&usb {
status = "okay";
- control@44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy@47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy@47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb@47401000 {
+ &usb0 {
status = "okay";
};
- usb@47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller@47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 3/4] ARM: dts: am335x-evmsk: use phandles for USB and DMA refs
@ 2014-04-28 13:58 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: linux-arm-kernel
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-evmsk.dts | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index ab23885..44b8d75 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -364,28 +364,28 @@
&usb {
status = "okay";
- control at 44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy at 47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy at 47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb at 47401000 {
+ &usb0 {
status = "okay";
};
- usb at 47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller at 47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
@ 2014-04-28 13:58 ` Guido Martínez
-1 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: LKML, bcousson, tony
Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
linux-omap, devicetree, linux-arm-kernel, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-igep0033.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
index 9f22c18..81cf68b 100644
--- a/arch/arm/boot/dts/am335x-igep0033.dtsi
+++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
@@ -201,28 +201,28 @@
&usb {
status = "okay";
- control@44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy@47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy@47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb@47401000 {
+ &usb0 {
status = "okay";
};
- usb@47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller@47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs
@ 2014-04-28 13:58 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 13:58 UTC (permalink / raw)
To: linux-arm-kernel
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-igep0033.dtsi | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
index 9f22c18..81cf68b 100644
--- a/arch/arm/boot/dts/am335x-igep0033.dtsi
+++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
@@ -201,28 +201,28 @@
&usb {
status = "okay";
- control at 44e10620 {
+ &usb_ctrl_mod {
status = "okay";
};
- usb-phy at 47401300 {
+ &usb0_phy {
status = "okay";
};
- usb-phy at 47401b00 {
+ &usb1_phy {
status = "okay";
};
- usb at 47401000 {
+ &usb0 {
status = "okay";
};
- usb at 47401800 {
+ &usb1 {
status = "okay";
dr_mode = "host";
};
- dma-controller at 47402000 {
+ &cppi41dma {
status = "okay";
};
};
--
1.9.2
^ permalink raw reply related [flat|nested] 34+ messages in thread
* Re: [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 14:41 ` George Cherian
0 siblings, 0 replies; 34+ messages in thread
From: George Cherian @ 2014-04-28 14:41 UTC (permalink / raw)
To: Guido Martínez, LKML, bcousson, tony
Cc: robh+dt, pawel.moll, mark.rutland, ijc+devicetree, galak, linux,
linux-omap, devicetree, linux-arm-kernel, Ezequiel García
On 4/28/2014 7:28 PM, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
The series will give dtb build errors
Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
FATAL ERROR: Unable to parse input tree
Error: arch/arm/boot/dts/am335x-evmsk.dts:367.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-bone.dtb] Error 1
make[1]: *** Waiting for unfinished jobs....
Error: arch/arm/boot/dts/am335x-evm.dts:334.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-evmsk.dtb] Error 1
make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
Error: arch/arm/boot/dts/am335x-igep0033.dtsi:204.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-base0033.dtb] Error 1
Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-boneblack.dtb] Error 1
make: *** [dtbs] Error 2
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..b95bc9a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -183,28 +183,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
Instead the patch should be
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi
b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..06be20a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -182,31 +182,30 @@
&usb {
status = "okay";
+};
+&usb_ctrl_mod {
+ status = "okay";
+};
- control@44e10620 {
- status = "okay";
- };
-
- usb-phy@47401300 {
- status = "okay";
- };
+&usb0_phy {
+ status = "okay";
+};
- usb-phy@47401b00 {
- status = "okay";
- };
+&usb1_phy {
+ status = "okay";
+};
- usb@47401000 {
- status = "okay";
- };
+&usb {
+ status = "okay";
+};
- usb@47401800 {
- status = "okay";
- dr_mode = "host";
- };
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
- dma-controller@47402000 {
- status = "okay";
- };
+&cppi41dma {
+ status = "okay";
};
--
-George
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 14:41 ` George Cherian
0 siblings, 0 replies; 34+ messages in thread
From: George Cherian @ 2014-04-28 14:41 UTC (permalink / raw)
To: Guido Martínez, LKML, bcousson-rdvid1DuHRBWk0Htik3J/w,
tony-4v6yS6AI5VpBDgjK7y7TUQ
Cc: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, pawel.moll-5wv7dgnIgG8,
mark.rutland-5wv7dgnIgG8, ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-lFZ/pmaqli7XmaaqVzeoHQ,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
Ezequiel García
On 4/28/2014 7:28 PM, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
The series will give dtb build errors
Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
FATAL ERROR: Unable to parse input tree
Error: arch/arm/boot/dts/am335x-evmsk.dts:367.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-bone.dtb] Error 1
make[1]: *** Waiting for unfinished jobs....
Error: arch/arm/boot/dts/am335x-evm.dts:334.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-evmsk.dtb] Error 1
make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
Error: arch/arm/boot/dts/am335x-igep0033.dtsi:204.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-base0033.dtb] Error 1
Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-boneblack.dtb] Error 1
make: *** [dtbs] Error 2
>
> Signed-off-by: Guido Martínez <guido-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..b95bc9a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -183,28 +183,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
Instead the patch should be
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi
b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..06be20a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -182,31 +182,30 @@
&usb {
status = "okay";
+};
+&usb_ctrl_mod {
+ status = "okay";
+};
- control@44e10620 {
- status = "okay";
- };
-
- usb-phy@47401300 {
- status = "okay";
- };
+&usb0_phy {
+ status = "okay";
+};
- usb-phy@47401b00 {
- status = "okay";
- };
+&usb1_phy {
+ status = "okay";
+};
- usb@47401000 {
- status = "okay";
- };
+&usb {
+ status = "okay";
+};
- usb@47401800 {
- status = "okay";
- dr_mode = "host";
- };
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
- dma-controller@47402000 {
- status = "okay";
- };
+&cppi41dma {
+ status = "okay";
};
--
-George
--
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] 34+ messages in thread
* [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 14:41 ` George Cherian
0 siblings, 0 replies; 34+ messages in thread
From: George Cherian @ 2014-04-28 14:41 UTC (permalink / raw)
To: linux-arm-kernel
On 4/28/2014 7:28 PM, Guido Mart?nez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
The series will give dtb build errors
Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
FATAL ERROR: Unable to parse input tree
Error: arch/arm/boot/dts/am335x-evmsk.dts:367.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-bone.dtb] Error 1
make[1]: *** Waiting for unfinished jobs....
Error: arch/arm/boot/dts/am335x-evm.dts:334.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-evmsk.dtb] Error 1
make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
Error: arch/arm/boot/dts/am335x-igep0033.dtsi:204.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-base0033.dtb] Error 1
Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
FATAL ERROR: Unable to parse input tree
make[1]: *** [arch/arm/boot/dts/am335x-boneblack.dtb] Error 1
make: *** [dtbs] Error 2
>
> Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..b95bc9a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -183,28 +183,28 @@
> &usb {
> status = "okay";
>
> - control at 44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy at 47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy at 47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb at 47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb at 47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller at 47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
Instead the patch should be
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi
b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..06be20a 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -182,31 +182,30 @@
&usb {
status = "okay";
+};
+&usb_ctrl_mod {
+ status = "okay";
+};
- control at 44e10620 {
- status = "okay";
- };
-
- usb-phy at 47401300 {
- status = "okay";
- };
+&usb0_phy {
+ status = "okay";
+};
- usb-phy at 47401b00 {
- status = "okay";
- };
+&usb1_phy {
+ status = "okay";
+};
- usb at 47401000 {
- status = "okay";
- };
+&usb {
+ status = "okay";
+};
- usb at 47401800 {
- status = "okay";
- dr_mode = "host";
- };
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
- dma-controller at 47402000 {
- status = "okay";
- };
+&cppi41dma {
+ status = "okay";
};
--
-George
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 16:10 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 16:10 UTC (permalink / raw)
To: George Cherian
Cc: LKML, bcousson, tony, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux, linux-omap, devicetree,
linux-arm-kernel, Ezequiel García
On Mon, Apr 28, 2014 at 08:11:33PM +0530, George Cherian wrote:
> On 4/28/2014 7:28 PM, Guido Martínez wrote:
> >Use phandles instead of unit adresses to reference usb and dma nodes.
> >This makes the DT more robust and readable.
> The series will give dtb build errors
> Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> Error: arch/arm/boot/dts/am335x-evmsk.dts:367.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-bone.dtb] Error 1
> make[1]: *** Waiting for unfinished jobs....
> Error: arch/arm/boot/dts/am335x-evm.dts:334.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-evmsk.dtb] Error 1
> make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
> Error: arch/arm/boot/dts/am335x-igep0033.dtsi:204.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-base0033.dtb] Error 1
> Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-boneblack.dtb] Error 1
> make: *** [dtbs] Error 2
>
Terribly sorry about this. I'll send a v2.
> >
> >Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
> >---
> > arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> > 1 file changed, 6 insertions(+), 6 deletions(-)
> >
> >diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> >index 2e7d932..b95bc9a 100644
> >--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> >+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> >@@ -183,28 +183,28 @@
> > &usb {
> > status = "okay";
> >- control@44e10620 {
> >+ &usb_ctrl_mod {
> > status = "okay";
> > };
> >- usb-phy@47401300 {
> >+ &usb0_phy {
> > status = "okay";
> > };
> >- usb-phy@47401b00 {
> >+ &usb1_phy {
> > status = "okay";
> > };
> >- usb@47401000 {
> >+ &usb0 {
> > status = "okay";
> > };
> >- usb@47401800 {
> >+ &usb1 {
> > status = "okay";
> > dr_mode = "host";
> > };
> >- dma-controller@47402000 {
> >+ &cppi41dma {
> > status = "okay";
> > };
> > };
> Instead the patch should be
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi
> b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..06be20a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -182,31 +182,30 @@
>
> &usb {
> status = "okay";
> +};
> +&usb_ctrl_mod {
> + status = "okay";
> +};
>
> - control@44e10620 {
> - status = "okay";
> - };
> -
> - usb-phy@47401300 {
> - status = "okay";
> - };
> +&usb0_phy {
> + status = "okay";
> +};
>
> - usb-phy@47401b00 {
> - status = "okay";
> - };
> +&usb1_phy {
> + status = "okay";
> +};
>
> - usb@47401000 {
> - status = "okay";
> - };
> +&usb {
> + status = "okay";
> +};
>
> - usb@47401800 {
> - status = "okay";
> - dr_mode = "host";
> - };
> +&usb1 {
> + status = "okay";
> + dr_mode = "host";
> +};
>
> - dma-controller@47402000 {
> - status = "okay";
> - };
> +&cppi41dma {
> + status = "okay";
> };
>
>
>
> --
> -George
>
--
Guido Martínez, VanguardiaSur
www.vanguardiasur.com.ar
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 16:10 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 16:10 UTC (permalink / raw)
To: George Cherian
Cc: LKML, bcousson-rdvid1DuHRBWk0Htik3J/w,
tony-4v6yS6AI5VpBDgjK7y7TUQ, robh+dt-DgEjT+Ai2ygdnm+yROfE0A,
pawel.moll-5wv7dgnIgG8, mark.rutland-5wv7dgnIgG8,
ijc+devicetree-KcIKpvwj1kUDXYZnReoRVg,
galak-sgV2jX0FEOL9JmXXK+q4OQ, linux-lFZ/pmaqli7XmaaqVzeoHQ,
linux-omap-u79uwXL29TY76Z2rM5mHXA,
devicetree-u79uwXL29TY76Z2rM5mHXA,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r,
Ezequiel García
On Mon, Apr 28, 2014 at 08:11:33PM +0530, George Cherian wrote:
> On 4/28/2014 7:28 PM, Guido Martínez wrote:
> >Use phandles instead of unit adresses to reference usb and dma nodes.
> >This makes the DT more robust and readable.
> The series will give dtb build errors
> Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> Error: arch/arm/boot/dts/am335x-evmsk.dts:367.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-bone.dtb] Error 1
> make[1]: *** Waiting for unfinished jobs....
> Error: arch/arm/boot/dts/am335x-evm.dts:334.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-evmsk.dtb] Error 1
> make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
> Error: arch/arm/boot/dts/am335x-igep0033.dtsi:204.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-base0033.dtb] Error 1
> Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-boneblack.dtb] Error 1
> make: *** [dtbs] Error 2
>
Terribly sorry about this. I'll send a v2.
> >
> >Signed-off-by: Guido Martínez <guido-30ULvvUtt6G51wMPkGsGjgyUoB5FGQPZ@public.gmane.org>
> >---
> > arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> > 1 file changed, 6 insertions(+), 6 deletions(-)
> >
> >diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> >index 2e7d932..b95bc9a 100644
> >--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> >+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> >@@ -183,28 +183,28 @@
> > &usb {
> > status = "okay";
> >- control@44e10620 {
> >+ &usb_ctrl_mod {
> > status = "okay";
> > };
> >- usb-phy@47401300 {
> >+ &usb0_phy {
> > status = "okay";
> > };
> >- usb-phy@47401b00 {
> >+ &usb1_phy {
> > status = "okay";
> > };
> >- usb@47401000 {
> >+ &usb0 {
> > status = "okay";
> > };
> >- usb@47401800 {
> >+ &usb1 {
> > status = "okay";
> > dr_mode = "host";
> > };
> >- dma-controller@47402000 {
> >+ &cppi41dma {
> > status = "okay";
> > };
> > };
> Instead the patch should be
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi
> b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..06be20a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -182,31 +182,30 @@
>
> &usb {
> status = "okay";
> +};
> +&usb_ctrl_mod {
> + status = "okay";
> +};
>
> - control@44e10620 {
> - status = "okay";
> - };
> -
> - usb-phy@47401300 {
> - status = "okay";
> - };
> +&usb0_phy {
> + status = "okay";
> +};
>
> - usb-phy@47401b00 {
> - status = "okay";
> - };
> +&usb1_phy {
> + status = "okay";
> +};
>
> - usb@47401000 {
> - status = "okay";
> - };
> +&usb {
> + status = "okay";
> +};
>
> - usb@47401800 {
> - status = "okay";
> - dr_mode = "host";
> - };
> +&usb1 {
> + status = "okay";
> + dr_mode = "host";
> +};
>
> - dma-controller@47402000 {
> - status = "okay";
> - };
> +&cppi41dma {
> + status = "okay";
> };
>
>
>
> --
> -George
>
--
Guido Martínez, VanguardiaSur
www.vanguardiasur.com.ar
--
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] 34+ messages in thread
* [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-04-28 16:10 ` Guido Martínez
0 siblings, 0 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 16:10 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 28, 2014 at 08:11:33PM +0530, George Cherian wrote:
> On 4/28/2014 7:28 PM, Guido Mart?nez wrote:
> >Use phandles instead of unit adresses to reference usb and dma nodes.
> >This makes the DT more robust and readable.
> The series will give dtb build errors
> Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> Error: arch/arm/boot/dts/am335x-evmsk.dts:367.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-bone.dtb] Error 1
> make[1]: *** Waiting for unfinished jobs....
> Error: arch/arm/boot/dts/am335x-evm.dts:334.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-evmsk.dtb] Error 1
> make[1]: *** [arch/arm/boot/dts/am335x-evm.dtb] Error 1
> Error: arch/arm/boot/dts/am335x-igep0033.dtsi:204.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-base0033.dtb] Error 1
> Error: arch/arm/boot/dts/am335x-bone-common.dtsi:186.2-15 syntax error
> FATAL ERROR: Unable to parse input tree
> make[1]: *** [arch/arm/boot/dts/am335x-boneblack.dtb] Error 1
> make: *** [dtbs] Error 2
>
Terribly sorry about this. I'll send a v2.
> >
> >Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
> >---
> > arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> > 1 file changed, 6 insertions(+), 6 deletions(-)
> >
> >diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> >index 2e7d932..b95bc9a 100644
> >--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> >+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> >@@ -183,28 +183,28 @@
> > &usb {
> > status = "okay";
> >- control at 44e10620 {
> >+ &usb_ctrl_mod {
> > status = "okay";
> > };
> >- usb-phy at 47401300 {
> >+ &usb0_phy {
> > status = "okay";
> > };
> >- usb-phy at 47401b00 {
> >+ &usb1_phy {
> > status = "okay";
> > };
> >- usb at 47401000 {
> >+ &usb0 {
> > status = "okay";
> > };
> >- usb at 47401800 {
> >+ &usb1 {
> > status = "okay";
> > dr_mode = "host";
> > };
> >- dma-controller at 47402000 {
> >+ &cppi41dma {
> > status = "okay";
> > };
> > };
> Instead the patch should be
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi
> b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..06be20a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -182,31 +182,30 @@
>
> &usb {
> status = "okay";
> +};
> +&usb_ctrl_mod {
> + status = "okay";
> +};
>
> - control at 44e10620 {
> - status = "okay";
> - };
> -
> - usb-phy at 47401300 {
> - status = "okay";
> - };
> +&usb0_phy {
> + status = "okay";
> +};
>
> - usb-phy at 47401b00 {
> - status = "okay";
> - };
> +&usb1_phy {
> + status = "okay";
> +};
>
> - usb at 47401000 {
> - status = "okay";
> - };
> +&usb {
> + status = "okay";
> +};
>
> - usb at 47401800 {
> - status = "okay";
> - dr_mode = "host";
> - };
> +&usb1 {
> + status = "okay";
> + dr_mode = "host";
> +};
>
> - dma-controller at 47402000 {
> - status = "okay";
> - };
> +&cppi41dma {
> + status = "okay";
> };
>
>
>
> --
> -George
>
--
Guido Mart?nez, VanguardiaSur
www.vanguardiasur.com.ar
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH v2 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
` (5 preceding siblings ...)
(?)
@ 2014-04-28 20:54 ` Guido Martínez
2014-04-28 20:54 ` [PATCH v2 2/4] ARM: dts: am335x-evm: " Guido Martínez
` (3 more replies)
-1 siblings, 4 replies; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 20:54 UTC (permalink / raw)
To: bcousson
Cc: tony, linux-omap, george.cherian, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-bone-common.dtsi | 38 +++++++++++++++----------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index 2e7d932..ded1283 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -182,31 +182,31 @@
&usb {
status = "okay";
+};
- control@44e10620 {
- status = "okay";
- };
+&usb_ctrl_mod {
+ status = "okay";
+};
- usb-phy@47401300 {
- status = "okay";
- };
+&usb0_phy {
+ status = "okay";
+};
- usb-phy@47401b00 {
- status = "okay";
- };
+&usb1_phy {
+ status = "okay";
+};
- usb@47401000 {
- status = "okay";
- };
+&usb0 {
+ status = "okay";
+};
- usb@47401800 {
- status = "okay";
- dr_mode = "host";
- };
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
- dma-controller@47402000 {
- status = "okay";
- };
+&cppi41dma {
+ status = "okay";
};
&i2c0 {
--
1.9.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs
2014-04-28 20:54 ` [PATCH v2 " Guido Martínez
@ 2014-04-28 20:54 ` Guido Martínez
2014-05-06 16:18 ` Felipe Balbi
2014-04-28 20:54 ` [PATCH v2 3/4] ARM: dts: am335x-evmsk: " Guido Martínez
` (2 subsequent siblings)
3 siblings, 1 reply; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 20:54 UTC (permalink / raw)
To: bcousson
Cc: tony, linux-omap, george.cherian, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-evm.dts | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index 6028217..33f7c57 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -330,31 +330,31 @@
&usb {
status = "okay";
+};
- control@44e10620 {
- status = "okay";
- };
+&usb_ctrl_mod {
+ status = "okay";
+};
- usb-phy@47401300 {
- status = "okay";
- };
+&usb0_phy {
+ status = "okay";
+};
- usb-phy@47401b00 {
- status = "okay";
- };
+&usb1_phy {
+ status = "okay";
+};
- usb@47401000 {
- status = "okay";
- };
+&usb0 {
+ status = "okay";
+};
- usb@47401800 {
- status = "okay";
- dr_mode = "host";
- };
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
- dma-controller@47402000 {
- status = "okay";
- };
+&cppi41dma {
+ status = "okay";
};
&i2c1 {
--
1.9.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 3/4] ARM: dts: am335x-evmsk: use phandles for USB and DMA refs
2014-04-28 20:54 ` [PATCH v2 " Guido Martínez
2014-04-28 20:54 ` [PATCH v2 2/4] ARM: dts: am335x-evm: " Guido Martínez
@ 2014-04-28 20:54 ` Guido Martínez
2014-05-06 16:18 ` Felipe Balbi
2014-04-28 20:54 ` [PATCH v2 4/4] ARM: dts: am335x-igep0033: " Guido Martínez
2014-05-06 16:17 ` [PATCH v2 1/4] ARM: dts: am335x-bone-common: " Felipe Balbi
3 siblings, 1 reply; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 20:54 UTC (permalink / raw)
To: bcousson
Cc: tony, linux-omap, george.cherian, Ezequiel García,
Guido Martínez
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
---
arch/arm/boot/dts/am335x-evmsk.dts | 38 +++++++++++++++++++-------------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index ab23885..a460c2e 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -363,31 +363,31 @@
&usb {
status = "okay";
+};
- control@44e10620 {
- status = "okay";
- };
+&usb_ctrl_mod {
+ status = "okay";
+};
- usb-phy@47401300 {
- status = "okay";
- };
+&usb0_phy {
+ status = "okay";
+};
- usb-phy@47401b00 {
- status = "okay";
- };
+&usb1_phy {
+ status = "okay";
+};
- usb@47401000 {
- status = "okay";
- };
+&usb0 {
+ status = "okay";
+};
- usb@47401800 {
- status = "okay";
- dr_mode = "host";
- };
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
- dma-controller@47402000 {
- status = "okay";
- };
+&cppi41dma {
+ status = "okay";
};
&epwmss2 {
--
1.9.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 34+ messages in thread
* [PATCH v2 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs
2014-04-28 20:54 ` [PATCH v2 " Guido Martínez
2014-04-28 20:54 ` [PATCH v2 2/4] ARM: dts: am335x-evm: " Guido Martínez
2014-04-28 20:54 ` [PATCH v2 3/4] ARM: dts: am335x-evmsk: " Guido Martínez
@ 2014-04-28 20:54 ` Guido Martínez
2014-05-06 16:18 ` Felipe Balbi
2014-05-06 16:17 ` [PATCH v2 1/4] ARM: dts: am335x-bone-common: " Felipe Balbi
3 siblings, 1 reply; 34+ messages in thread
From: Guido Martínez @ 2014-04-28 20:54 UTC (permalink / raw)
To: bcousson
Cc: tony, linux-omap, george.cherian, Ezequiel García,
Guido Martínez, Enric Balletbo i Serra
Use phandles instead of unit adresses to reference usb and dma nodes.
This makes the DT more robust and readable.
Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com>
---
arch/arm/boot/dts/am335x-igep0033.dtsi | 38 +++++++++++++++++-----------------
1 file changed, 19 insertions(+), 19 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
index 9f22c18..9c53b50 100644
--- a/arch/arm/boot/dts/am335x-igep0033.dtsi
+++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
@@ -200,31 +200,31 @@
&usb {
status = "okay";
+};
- control@44e10620 {
- status = "okay";
- };
+&usb_ctrl_mod {
+ status = "okay";
+};
- usb-phy@47401300 {
- status = "okay";
- };
+&usb0_phy {
+ status = "okay";
+};
- usb-phy@47401b00 {
- status = "okay";
- };
+&usb1_phy {
+ status = "okay";
+};
- usb@47401000 {
- status = "okay";
- };
+&usb0 {
+ status = "okay";
+};
- usb@47401800 {
- status = "okay";
- dr_mode = "host";
- };
+&usb1 {
+ status = "okay";
+ dr_mode = "host";
+};
- dma-controller@47402000 {
- status = "okay";
- };
+&cppi41dma {
+ status = "okay";
};
#include "tps65910.dtsi"
--
1.9.2
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 34+ messages in thread
* Re: [PATCH 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
@ 2014-05-06 16:16 ` Felipe Balbi
-1 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:16 UTC (permalink / raw)
To: Guido Martínez
Cc: LKML, bcousson, tony, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux, linux-omap, devicetree,
linux-arm-kernel, Ezequiel García
[-- Attachment #1: Type: text/plain, Size: 1456 bytes --]
On Mon, Apr 28, 2014 at 10:58:30AM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-evm.dts | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
> index 6028217..e802627 100644
> --- a/arch/arm/boot/dts/am335x-evm.dts
> +++ b/arch/arm/boot/dts/am335x-evm.dts
> @@ -331,28 +331,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs
@ 2014-05-06 16:16 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:16 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 28, 2014 at 10:58:30AM -0300, Guido Mart?nez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-evm.dts | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
> index 6028217..e802627 100644
> --- a/arch/arm/boot/dts/am335x-evm.dts
> +++ b/arch/arm/boot/dts/am335x-evm.dts
> @@ -331,28 +331,28 @@
> &usb {
> status = "okay";
>
> - control at 44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy at 47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy at 47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb at 47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb at 47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller at 47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140506/5da5333c/attachment.sig>
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
(?)
@ 2014-05-06 16:16 ` Felipe Balbi
-1 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:16 UTC (permalink / raw)
To: Guido Martínez
Cc: LKML, bcousson, tony, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux, linux-omap, devicetree,
linux-arm-kernel, Ezequiel García
[-- Attachment #1: Type: text/plain, Size: 1447 bytes --]
On Mon, Apr 28, 2014 at 10:58:29AM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..b95bc9a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -183,28 +183,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-05-06 16:16 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:16 UTC (permalink / raw)
To: Guido Martínez
Cc: mark.rutland, devicetree, linux, pawel.moll, ijc+devicetree,
tony, LKML, robh+dt, Ezequiel García, bcousson, galak,
linux-omap, linux-arm-kernel
[-- Attachment #1.1: Type: text/plain, Size: 1447 bytes --]
On Mon, Apr 28, 2014 at 10:58:29AM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..b95bc9a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -183,28 +183,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 176 bytes --]
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
@ 2014-05-06 16:16 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:16 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 28, 2014 at 10:58:29AM -0300, Guido Mart?nez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..b95bc9a 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -183,28 +183,28 @@
> &usb {
> status = "okay";
>
> - control at 44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy at 47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy at 47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb at 47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb at 47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller at 47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140506/50ded608/attachment.sig>
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 3/4] ARM: dts: am335x-evmsk: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
@ 2014-05-06 16:16 ` Felipe Balbi
-1 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:16 UTC (permalink / raw)
To: Guido Martínez
Cc: LKML, bcousson, tony, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux, linux-omap, devicetree,
linux-arm-kernel, Ezequiel García
[-- Attachment #1: Type: text/plain, Size: 1466 bytes --]
On Mon, Apr 28, 2014 at 10:58:31AM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-evmsk.dts | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
> index ab23885..44b8d75 100644
> --- a/arch/arm/boot/dts/am335x-evmsk.dts
> +++ b/arch/arm/boot/dts/am335x-evmsk.dts
> @@ -364,28 +364,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH 3/4] ARM: dts: am335x-evmsk: use phandles for USB and DMA refs
@ 2014-05-06 16:16 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:16 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 28, 2014 at 10:58:31AM -0300, Guido Mart?nez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-evmsk.dts | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
> index ab23885..44b8d75 100644
> --- a/arch/arm/boot/dts/am335x-evmsk.dts
> +++ b/arch/arm/boot/dts/am335x-evmsk.dts
> @@ -364,28 +364,28 @@
> &usb {
> status = "okay";
>
> - control at 44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy at 47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy at 47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb at 47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb at 47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller at 47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140506/85ae0024/attachment-0001.sig>
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs
2014-04-28 13:58 ` Guido Martínez
@ 2014-05-06 16:17 ` Felipe Balbi
-1 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:17 UTC (permalink / raw)
To: Guido Martínez
Cc: LKML, bcousson, tony, robh+dt, pawel.moll, mark.rutland,
ijc+devicetree, galak, linux, linux-omap, devicetree,
linux-arm-kernel, Ezequiel García
[-- Attachment #1: Type: text/plain, Size: 1486 bytes --]
On Mon, Apr 28, 2014 at 10:58:32AM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-igep0033.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
> index 9f22c18..81cf68b 100644
> --- a/arch/arm/boot/dts/am335x-igep0033.dtsi
> +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
> @@ -201,28 +201,28 @@
> &usb {
> status = "okay";
>
> - control@44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy@47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy@47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb@47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb@47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller@47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* [PATCH 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs
@ 2014-05-06 16:17 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:17 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Apr 28, 2014 at 10:58:32AM -0300, Guido Mart?nez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Mart?nez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-igep0033.dtsi | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
> index 9f22c18..81cf68b 100644
> --- a/arch/arm/boot/dts/am335x-igep0033.dtsi
> +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
> @@ -201,28 +201,28 @@
> &usb {
> status = "okay";
>
> - control at 44e10620 {
> + &usb_ctrl_mod {
> status = "okay";
> };
>
> - usb-phy at 47401300 {
> + &usb0_phy {
> status = "okay";
> };
>
> - usb-phy at 47401b00 {
> + &usb1_phy {
> status = "okay";
> };
>
> - usb at 47401000 {
> + &usb0 {
> status = "okay";
> };
>
> - usb at 47401800 {
> + &usb1 {
> status = "okay";
> dr_mode = "host";
> };
>
> - dma-controller at 47402000 {
> + &cppi41dma {
> status = "okay";
> };
> };
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
--
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140506/b28fe452/attachment.sig>
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH v2 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
2014-04-28 20:54 ` [PATCH v2 " Guido Martínez
` (2 preceding siblings ...)
2014-04-28 20:54 ` [PATCH v2 4/4] ARM: dts: am335x-igep0033: " Guido Martínez
@ 2014-05-06 16:17 ` Felipe Balbi
2014-05-06 16:37 ` Tony Lindgren
3 siblings, 1 reply; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:17 UTC (permalink / raw)
To: Guido Martínez
Cc: bcousson, tony, linux-omap, george.cherian, Ezequiel García
[-- Attachment #1: Type: text/plain, Size: 1724 bytes --]
On Mon, Apr 28, 2014 at 05:54:32PM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
(acked wrong version previously, sorry)
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-bone-common.dtsi | 38 +++++++++++++++----------------
> 1 file changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index 2e7d932..ded1283 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -182,31 +182,31 @@
>
> &usb {
> status = "okay";
> +};
>
> - control@44e10620 {
> - status = "okay";
> - };
> +&usb_ctrl_mod {
> + status = "okay";
> +};
>
> - usb-phy@47401300 {
> - status = "okay";
> - };
> +&usb0_phy {
> + status = "okay";
> +};
>
> - usb-phy@47401b00 {
> - status = "okay";
> - };
> +&usb1_phy {
> + status = "okay";
> +};
>
> - usb@47401000 {
> - status = "okay";
> - };
> +&usb0 {
> + status = "okay";
> +};
>
> - usb@47401800 {
> - status = "okay";
> - dr_mode = "host";
> - };
> +&usb1 {
> + status = "okay";
> + dr_mode = "host";
> +};
>
> - dma-controller@47402000 {
> - status = "okay";
> - };
> +&cppi41dma {
> + status = "okay";
> };
>
> &i2c0 {
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH v2 2/4] ARM: dts: am335x-evm: use phandles for USB and DMA refs
2014-04-28 20:54 ` [PATCH v2 2/4] ARM: dts: am335x-evm: " Guido Martínez
@ 2014-05-06 16:18 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:18 UTC (permalink / raw)
To: Guido Martínez
Cc: bcousson, tony, linux-omap, george.cherian, Ezequiel García
[-- Attachment #1: Type: text/plain, Size: 1643 bytes --]
On Mon, Apr 28, 2014 at 05:54:33PM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-evm.dts | 38 +++++++++++++++++++-------------------
> 1 file changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
> index 6028217..33f7c57 100644
> --- a/arch/arm/boot/dts/am335x-evm.dts
> +++ b/arch/arm/boot/dts/am335x-evm.dts
> @@ -330,31 +330,31 @@
>
> &usb {
> status = "okay";
> +};
>
> - control@44e10620 {
> - status = "okay";
> - };
> +&usb_ctrl_mod {
> + status = "okay";
> +};
>
> - usb-phy@47401300 {
> - status = "okay";
> - };
> +&usb0_phy {
> + status = "okay";
> +};
>
> - usb-phy@47401b00 {
> - status = "okay";
> - };
> +&usb1_phy {
> + status = "okay";
> +};
>
> - usb@47401000 {
> - status = "okay";
> - };
> +&usb0 {
> + status = "okay";
> +};
>
> - usb@47401800 {
> - status = "okay";
> - dr_mode = "host";
> - };
> +&usb1 {
> + status = "okay";
> + dr_mode = "host";
> +};
>
> - dma-controller@47402000 {
> - status = "okay";
> - };
> +&cppi41dma {
> + status = "okay";
> };
>
> &i2c1 {
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH v2 3/4] ARM: dts: am335x-evmsk: use phandles for USB and DMA refs
2014-04-28 20:54 ` [PATCH v2 3/4] ARM: dts: am335x-evmsk: " Guido Martínez
@ 2014-05-06 16:18 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:18 UTC (permalink / raw)
To: Guido Martínez
Cc: bcousson, tony, linux-omap, george.cherian, Ezequiel García
[-- Attachment #1: Type: text/plain, Size: 1656 bytes --]
On Mon, Apr 28, 2014 at 05:54:34PM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-evmsk.dts | 38 +++++++++++++++++++-------------------
> 1 file changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
> index ab23885..a460c2e 100644
> --- a/arch/arm/boot/dts/am335x-evmsk.dts
> +++ b/arch/arm/boot/dts/am335x-evmsk.dts
> @@ -363,31 +363,31 @@
>
> &usb {
> status = "okay";
> +};
>
> - control@44e10620 {
> - status = "okay";
> - };
> +&usb_ctrl_mod {
> + status = "okay";
> +};
>
> - usb-phy@47401300 {
> - status = "okay";
> - };
> +&usb0_phy {
> + status = "okay";
> +};
>
> - usb-phy@47401b00 {
> - status = "okay";
> - };
> +&usb1_phy {
> + status = "okay";
> +};
>
> - usb@47401000 {
> - status = "okay";
> - };
> +&usb0 {
> + status = "okay";
> +};
>
> - usb@47401800 {
> - status = "okay";
> - dr_mode = "host";
> - };
> +&usb1 {
> + status = "okay";
> + dr_mode = "host";
> +};
>
> - dma-controller@47402000 {
> - status = "okay";
> - };
> +&cppi41dma {
> + status = "okay";
> };
>
> &epwmss2 {
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH v2 4/4] ARM: dts: am335x-igep0033: use phandles for USB and DMA refs
2014-04-28 20:54 ` [PATCH v2 4/4] ARM: dts: am335x-igep0033: " Guido Martínez
@ 2014-05-06 16:18 ` Felipe Balbi
0 siblings, 0 replies; 34+ messages in thread
From: Felipe Balbi @ 2014-05-06 16:18 UTC (permalink / raw)
To: Guido Martínez
Cc: bcousson, tony, linux-omap, george.cherian, Ezequiel García,
Enric Balletbo i Serra
[-- Attachment #1: Type: text/plain, Size: 1740 bytes --]
On Mon, Apr 28, 2014 at 05:54:35PM -0300, Guido Martínez wrote:
> Use phandles instead of unit adresses to reference usb and dma nodes.
> This makes the DT more robust and readable.
>
> Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
> Cc: Enric Balletbo i Serra <eballetbo@iseebcn.com>
Acked-by: Felipe Balbi <balbi@ti.com>
> ---
> arch/arm/boot/dts/am335x-igep0033.dtsi | 38 +++++++++++++++++-----------------
> 1 file changed, 19 insertions(+), 19 deletions(-)
>
> diff --git a/arch/arm/boot/dts/am335x-igep0033.dtsi b/arch/arm/boot/dts/am335x-igep0033.dtsi
> index 9f22c18..9c53b50 100644
> --- a/arch/arm/boot/dts/am335x-igep0033.dtsi
> +++ b/arch/arm/boot/dts/am335x-igep0033.dtsi
> @@ -200,31 +200,31 @@
>
> &usb {
> status = "okay";
> +};
>
> - control@44e10620 {
> - status = "okay";
> - };
> +&usb_ctrl_mod {
> + status = "okay";
> +};
>
> - usb-phy@47401300 {
> - status = "okay";
> - };
> +&usb0_phy {
> + status = "okay";
> +};
>
> - usb-phy@47401b00 {
> - status = "okay";
> - };
> +&usb1_phy {
> + status = "okay";
> +};
>
> - usb@47401000 {
> - status = "okay";
> - };
> +&usb0 {
> + status = "okay";
> +};
>
> - usb@47401800 {
> - status = "okay";
> - dr_mode = "host";
> - };
> +&usb1 {
> + status = "okay";
> + dr_mode = "host";
> +};
>
> - dma-controller@47402000 {
> - status = "okay";
> - };
> +&cppi41dma {
> + status = "okay";
> };
>
> #include "tps65910.dtsi"
> --
> 1.9.2
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 34+ messages in thread
* Re: [PATCH v2 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs
2014-05-06 16:17 ` [PATCH v2 1/4] ARM: dts: am335x-bone-common: " Felipe Balbi
@ 2014-05-06 16:37 ` Tony Lindgren
0 siblings, 0 replies; 34+ messages in thread
From: Tony Lindgren @ 2014-05-06 16:37 UTC (permalink / raw)
To: Felipe Balbi
Cc: Guido Martínez, bcousson, linux-omap, george.cherian,
Ezequiel García
* Felipe Balbi <balbi@ti.com> [140506 09:19]:
> On Mon, Apr 28, 2014 at 05:54:32PM -0300, Guido Martínez wrote:
> > Use phandles instead of unit adresses to reference usb and dma nodes.
> > This makes the DT more robust and readable.
> >
> > Signed-off-by: Guido Martínez <guido@vanguardiasur.com.ar>
>
> (acked wrong version previously, sorry)
>
> Acked-by: Felipe Balbi <balbi@ti.com>
Applying all four from the v2 into omap-for-v3.16/dt thanks.
Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 34+ messages in thread
end of thread, other threads:[~2014-05-06 16:37 UTC | newest]
Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-28 13:58 [PATCH 1/4] ARM: dts: am335x-bone-common: use phandles for USB and DMA refs Guido Martínez
2014-04-28 13:58 ` Guido Martínez
2014-04-28 13:58 ` Guido Martínez
2014-04-28 13:58 ` [PATCH 2/4] ARM: dts: am335x-evm: " Guido Martínez
2014-04-28 13:58 ` Guido Martínez
2014-04-28 13:58 ` Guido Martínez
2014-05-06 16:16 ` Felipe Balbi
2014-05-06 16:16 ` Felipe Balbi
2014-04-28 13:58 ` [PATCH 3/4] ARM: dts: am335x-evmsk: " Guido Martínez
2014-04-28 13:58 ` Guido Martínez
2014-05-06 16:16 ` Felipe Balbi
2014-05-06 16:16 ` Felipe Balbi
2014-04-28 13:58 ` [PATCH 4/4] ARM: dts: am335x-igep0033: " Guido Martínez
2014-04-28 13:58 ` Guido Martínez
2014-05-06 16:17 ` Felipe Balbi
2014-05-06 16:17 ` Felipe Balbi
2014-04-28 14:41 ` [PATCH 1/4] ARM: dts: am335x-bone-common: " George Cherian
2014-04-28 14:41 ` George Cherian
2014-04-28 14:41 ` George Cherian
2014-04-28 16:10 ` Guido Martínez
2014-04-28 16:10 ` Guido Martínez
2014-04-28 16:10 ` Guido Martínez
2014-04-28 20:54 ` [PATCH v2 " Guido Martínez
2014-04-28 20:54 ` [PATCH v2 2/4] ARM: dts: am335x-evm: " Guido Martínez
2014-05-06 16:18 ` Felipe Balbi
2014-04-28 20:54 ` [PATCH v2 3/4] ARM: dts: am335x-evmsk: " Guido Martínez
2014-05-06 16:18 ` Felipe Balbi
2014-04-28 20:54 ` [PATCH v2 4/4] ARM: dts: am335x-igep0033: " Guido Martínez
2014-05-06 16:18 ` Felipe Balbi
2014-05-06 16:17 ` [PATCH v2 1/4] ARM: dts: am335x-bone-common: " Felipe Balbi
2014-05-06 16:37 ` Tony Lindgren
2014-05-06 16:16 ` [PATCH " Felipe Balbi
2014-05-06 16:16 ` Felipe Balbi
2014-05-06 16:16 ` Felipe Balbi
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.