forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds extcon driver for Fairchild Semiconductor FSA9480 microUSB switch. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
- Loading branch information
Showing
5 changed files
with
405 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
Documentation/devicetree/bindings/extcon/extcon-fsa9480.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FAIRCHILD SEMICONDUCTOR FSA9480 MICROUSB SWITCH | ||
|
||
The FSA9480 is a USB port accessory detector and switch. The FSA9480 is fully | ||
controlled using I2C and enables USB data, stereo and mono audio, video, | ||
microphone, and UART data to use a common connector port. | ||
|
||
Required properties: | ||
- compatible : Must be "fcs,fsa9480" | ||
- reg : Specifies i2c slave address. Must be 0x25. | ||
- interrupt-parent : Phandle to interrupt controller to which interrupt | ||
signal of the chip is connected. | ||
- interrupts : Should contain one entry specifying interrupt signal of | ||
interrupt parent to which interrupt pin of the chip is connected. | ||
|
||
Example: | ||
musb@25 { | ||
compatible = "fcs,fsa9480"; | ||
reg = <0x25>; | ||
interrupt-parent = <&gph2>; | ||
interrupts = <7 0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.