On Tue, Feb 23, 2016 at 08:27:04AM +0100, Enric Balletbo i Serra wrote:
The UCS1002-2 provides a USB port power switch for precise control of up
to 2.5 amperes continuous current.
You can add support to your board with current binding.
Example:
ucs1002: ucs1002@57 {
compatible = "microchip,ucs1002";
reg = <0x57>;
};
Signed-off-by: Enric Balletbo i Serra <redacted>
---
Changes since v2:
- Rename microchip,current-limit to microchip,limit-microamps (Rob Herring)
Changes since v1:
- Fix units, are microamps (Rob Herring)
- Remove microchip,pin-ignore as is implied by absence of gpio properties (Rob
Herring)
- Group control gpios instead of use separate gpios. All control gpios must be
set together (Enric Balletbo)
.../devicetree/bindings/power/ucs1002.txt | 41 ++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 Documentation/devicetree/bindings/power/ucs1002.txt
Acked-by: Rob Herring <robh@kernel.org>