Re: [PATCH V2 3/4] usb: Bind devices to ACPI devices when possible

Matthew Garrett
2012-03-14T12:48:18Z

On Wed, Mar 14, 2012 at 09:20:44AM +0800, Lan Tianyu wrote:
> On 2012年03月13日 05:45, Matthew Garrett wrote:
> >Built-in USB devices will typically have a representation in the system
> >ACPI tables. Add support for binding the two together so the USB code can
> >make use of the associated methods.
> hi Matthew:
> acpi glue framework only can cover situation that the port has been
> connected with some device. so without device, no acpi handle can be used to
> access "UPC" and "PLD".
> Whether the usb port is user-visible or not is also useful when there
> is no device. For example, if it is known that the usb port is not user-visible
> and connectable. The usb hub port can be power-off.
> So usb/acpi binding should consider those usb ports without plugging device.
> Does this make sense? :)

I agree that this woud be useful, but right now we don't have port
objects so there's nowhere to expose this. Greg, do you have any
feelings about how this coud be handled?

--
Matthew Garrett | mjg59@srcf.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org