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)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:47:05 +0000 (11:47 +0900)
commit4f1ed90e5d30d308471959dedf49855a737c369b
treeb2015507da5993bff3ce45a53fdec2df04faea89
parent2c27a9a56c2fce8ff687b8800e64cc129e3d190b
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