usb: misc: usb3503: Adding device tree entry 'disabled-ports'
authorDongjin Kim <tobetter@gmail.com>
Tue, 21 May 2013 20:20:09 +0000 (05:20 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 12:32:52 +0000 (21:32 +0900)
commite8b58b49130f40c29bb95cd5d9b36955ff703822
tree9eff3e37324b5b76dd0aefb992d71fb193a77abb
parente8e44a4896a5f0bde1af36a31b7ec662bdaa44ef
usb: misc: usb3503: Adding device tree entry 'disabled-ports'

This patch is to add a property 'disabled-ports' representing the unused port
of USB3503. USB3503 can support up to 3 USB host port and each ports can be
controlled to be enabled or disabled. Do not describe this property if all
ports must be enabled.

You can represent the ports to disable in the device tree.

usb3503@08{
...
disabled-ports = <2 3>;
...
};

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/usb/usb3503.txt
drivers/usb/misc/usb3503.c