From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gerd Hoffmann Subject: Re: [PATCH V3 RFT 3/5] ARM64: dts: bcm283x: Use dtsi for USB host mode Date: Wed, 07 Sep 2016 16:17:17 +0200 Message-ID: <1473257837.28663.80.camel@redhat.com> References: <1471792204-21908-1-git-send-email-stefan.wahren@i2se.com> <1471792204-21908-4-git-send-email-stefan.wahren@i2se.com> <1473245956.28663.50.camel@redhat.com> <18641a83-ddd7-1689-535a-c5a15b8a54f9@i2se.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Return-path: In-Reply-To: <18641a83-ddd7-1689-535a-c5a15b8a54f9-eS4NqCHxEME@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Stefan Wahren Cc: Mark Rutland , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Florian Fainelli , Catalin Marinas , Scott Branden , Stephen Warren , Ray Jui , Will Deacon , Eric Anholt , Rob Herring , bcm-kernel-feedback-list-dY08KVG/lbpWk0Htik3J/w@public.gmane.org, linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Ian Campbell , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org Hi, > ARM: dts: Remove use of skeleton.dtsi from bcm283x.dtsi > ARM64: dts: bcm: Use a symlink to R-Pi dtsi files from arch=arm Picked them up. > In case of a multiplatform config with following settings the driver > isn't able to "detect" the role: > > CONFIG_USB=y > CONFIG_USB_OTG=y > CONFIG_USB_DWC2=y > CONFIG_USB_DWC2_DUAL_ROLE=y > CONFIG_USB_PHY=y > CONFIG_NOP_USB_XCEIV=y > CONFIG_USB_GADGET=y > CONFIG_USB_ZERO=y Configured my kernel that way so the test actually tests something ;) And ... everything looks fine. usb ethernet works, and so does the usb keyboard. /proc/device-tree/soc/usb@7e980000/dr_mode exists and contains "host". Tested-by: Gerd Hoffmann cheers, Gerd -- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: kraxel@redhat.com (Gerd Hoffmann) Date: Wed, 07 Sep 2016 16:17:17 +0200 Subject: [PATCH V3 RFT 3/5] ARM64: dts: bcm283x: Use dtsi for USB host mode In-Reply-To: <18641a83-ddd7-1689-535a-c5a15b8a54f9@i2se.com> References: <1471792204-21908-1-git-send-email-stefan.wahren@i2se.com> <1471792204-21908-4-git-send-email-stefan.wahren@i2se.com> <1473245956.28663.50.camel@redhat.com> <18641a83-ddd7-1689-535a-c5a15b8a54f9@i2se.com> Message-ID: <1473257837.28663.80.camel@redhat.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi, > ARM: dts: Remove use of skeleton.dtsi from bcm283x.dtsi > ARM64: dts: bcm: Use a symlink to R-Pi dtsi files from arch=arm Picked them up. > In case of a multiplatform config with following settings the driver > isn't able to "detect" the role: > > CONFIG_USB=y > CONFIG_USB_OTG=y > CONFIG_USB_DWC2=y > CONFIG_USB_DWC2_DUAL_ROLE=y > CONFIG_USB_PHY=y > CONFIG_NOP_USB_XCEIV=y > CONFIG_USB_GADGET=y > CONFIG_USB_ZERO=y Configured my kernel that way so the test actually tests something ;) And ... everything looks fine. usb ethernet works, and so does the usb keyboard. /proc/device-tree/soc/usb at 7e980000/dr_mode exists and contains "host". Tested-by: Gerd Hoffmann cheers, Gerd