lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Wed, 17 Dec 2014 16:44:29 +0100 From: Arnd Bergmann <arnd@...db.de> To: "Sneeker. Yeh" <Sneeker.Yeh@...fujitsu.com> Cc: Sneeker Yeh <sneeker.yeh@...il.com>, Rob Herring <robh+dt@...nel.org>, Pawel Moll <pawel.moll@....com>, Mark Rutland <mark.rutland@....com>, Ian Campbell <ijc+devicetree@...lion.org.uk>, Kumar Gala <galak@...eaurora.org>, Felipe Balbi <balbi@...com>, Greg Kroah-Hartman <gregkh@...uxfoundation.org>, Mathias Nyman <mathias.nyman@...el.com>, Grant Likely <grant.likely@...aro.org>, Alan Stern <stern@...land.harvard.edu>, Paul Bolle <pebolle@...cali.nl>, Hans de Goede <hdegoede@...hat.com>, Thomas Pugliese <thomas.pugliese@...il.com>, David Mosberger <davidm@...uge.net>, Peter Griffin <peter.griffin@...aro.org>, Sylwester Nawrocki <s.nawrocki@...sung.com>, Andrew Bresticker <abrestic@...omium.org>, Gregory CLEMENT <gregory.clement@...e-electrons.com>, Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>, "devicetree@...r.kernel.org" <devicetree@...r.kernel.org>, "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, "linux-usb@...r.kernel.org" <linux-usb@...r.kernel.org>, "linux-omap@...r.kernel.org" <linux-omap@...r.kernel.org>, Andy Green <andy.green@...aro.org>, Jassi Brar <jaswinder.singh@...aro.org> Subject: Re: [PATCH 1/3] usb: host: f_usb20ho: add support for Fujitsu ehci/ohci USB 2.0 host controller On Wednesday 17 December 2014 23:33:02 Sneeker. Yeh wrote: > > > >No need for playing games with child devices, just see how the other drivers do > >it. > > I am wondering if this is what you mentioned here? : > Hcd21: f_usb20ho { > compatible = "fujitsu,f_usb20ho"; > ... > Ehci { > compatible = "generic-ehci"; > reg = <>; > } > ohci { > compatible = "generic-ohci"; > reg = <>; > } > } > By doing that, I can just use of_platform_populate() to create platform device more gracefully, > than using platform_device_xxx() those have been done in of_platform_populate(). > And also, managing register offset is totally done via dts description, not in the code. What I mean is leaving out the fujitsu,f_usb20ho node entirely, just put the two USB controllers on the bus directly and remove this driver. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@...r.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists