diff options
author | Mark Brown <broonie@linaro.org> | 2013-08-09 11:41:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-12 12:20:27 -0700 |
commit | 3f0d1c67fa20d524fdcb4a7dcda19ed76c59be44 (patch) | |
tree | f0d9cefc79b8c7033b39194332cfac68e4709358 /Documentation | |
parent | e5162d40b90e3e2e01aadcac9d4f151ecb9ee051 (diff) | |
download | linux-stable-3f0d1c67fa20d524fdcb4a7dcda19ed76c59be44.tar.gz linux-stable-3f0d1c67fa20d524fdcb4a7dcda19ed76c59be44.tar.bz2 linux-stable-3f0d1c67fa20d524fdcb4a7dcda19ed76c59be44.zip |
usb: misc: usb3503: Support operation with no I2C control
Refactor so that register writes for configuration are only performed if
the device has a regmap provided and also register as a platform driver.
This allows the driver to be used to manage GPIO based control of the
device.
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: devicetree@vger.kernel.org
Reviewed-by: Dongjin Kim <tobetter@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/usb/usb3503.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/usb/usb3503.txt b/Documentation/devicetree/bindings/usb/usb3503.txt index 44a03f338424..a018da4a7ad7 100644 --- a/Documentation/devicetree/bindings/usb/usb3503.txt +++ b/Documentation/devicetree/bindings/usb/usb3503.txt @@ -2,9 +2,10 @@ SMSC USB3503 High-Speed Hub Controller Required properties: - compatible: Should be "smsc,usb3503" or "smsc,usb3503a". -- reg: Specifies the i2c slave address, it should be 0x08. Optional properties: +- reg: Specifies the i2c slave address, it is required and should be 0x08 + if I2C is used. - connect-gpios: Should specify GPIO for connect. - disabled-ports: Should specify the ports unused. '1' or '2' or '3' are availe for this property to describe the port |