From: Ian Campbell Date: Fri, 19 Jun 2015 08:45:11 +0100 Subject: [U-Boot] [PATCH 20/22] sunxi: musb: Use device-model for musb host mode In-Reply-To: <1434569645-30322-21-git-send-email-hdegoede@redhat.com> References: <1434569645-30322-1-git-send-email-hdegoede@redhat.com> <1434569645-30322-21-git-send-email-hdegoede@redhat.com> Message-ID: <1434699911.3342.126.camel@hellion.org.uk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 2015-06-17 at 21:34 +0200, Hans de Goede wrote: > [...] > + * Bind the driver directly for now as musb linux kernel support is > + * still pending upstream so our dts files do not have the necessay "necessary". Otherwise: Acked-by: Ian Campbell So far as this being a sunxi change goes, although I think this probably needs other acks from the CC line too. Ian. > + * nodes yet. TODO: Remove this as soon as the dts nodes are in place > + * and bind by compatible instead. > + */ > + device_bind_driver(dm_root(), "sunxi-musb", "sunxi-musb", &dev); > +#else > musb_register(&musb_plat, NULL, (void *)SUNXI_USB0_BASE); > +#endif > }