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)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Thu, 15 May 2014 05:27:28 +0000 (07:27 +0200)
commit94ab194a2db285b8665799f1497be0409d70acfa
tree276937258a354c3bd2cd0bba5048e525939ddff2
parent716cc47ae562fe905fea0572e5b8d5e4935d9956
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>
[mszyprow: mainline commit e8b58b49130f40c29bb95cd5d9b36955ff703822]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Ie8b58b49130f40c29bb95cd5d9b36955ff703822
Documentation/devicetree/bindings/usb/usb3503.txt
drivers/usb/misc/usb3503.c