Thread (27 messages) 27 messages, 6 authors, 2014-11-17

Re: [PATCH v7 11/13] ARM: dts: Berlin: enable USB on the BG2Q DMP

From: Antoine Tenart <hidden>
Date: 2014-11-14 21:14:50
Also in: linux-arm-kernel, lkml

Hi,

On Fri, Nov 14, 2014 at 09:47:11PM +0300, Sergei Shtylyov wrote:
On 11/14/2014 06:26 PM, Antoine Tenart wrote:
quoted
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q
DMP.
quoted
Signed-off-by: Antoine Tenart <redacted>
---
 arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
quoted
diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
index ea1f99b8eed6..f7c25580e122 100644
--- a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
+++ b/arch/arm/boot/dts/berlin2q-marvell-dmp.dts
[...]
quoted
@@ -21,6 +23,39 @@
 	choosen {
 		bootargs = "console=ttyS0,115200 earlyprintk";
 	};
+
+	regulators {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <0>;
+
+		reg_usb0_vbus: regulator@0 {
   Erm, I'm not seeing the "reg" prop. The <unit-address> part of the name
shouldn't be used without the "reg" prop.

[...]
Well, I respect the bindings described at:
Documentation/devicetree/bindings/regulator/fixed-regulator.txt

Antoine

-- 
Antoine Ténart, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help