MyungJoo Ham | de55d87 | 2012-04-20 14:16:22 +0900 | [diff] [blame^] | 1 | What: /sys/class/extcon/.../ |
| 2 | Date: December 2011 |
| 3 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
| 4 | Description: |
| 5 | Provide a place in sysfs for the extcon objects. |
| 6 | This allows accessing extcon specific variables. |
| 7 | The name of extcon object denoted as ... is the name given |
| 8 | with extcon_dev_register. |
| 9 | |
| 10 | What: /sys/class/extcon/.../name |
| 11 | Date: December 2011 |
| 12 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
| 13 | Description: |
| 14 | The /sys/class/extcon/.../name shows the name of the extcon |
| 15 | object. If the extcon object has an optional callback |
| 16 | "show_name" defined, the callback will provide the name with |
| 17 | this sysfs node. |
| 18 | |
| 19 | What: /sys/class/extcon/.../state |
| 20 | Date: December 2011 |
| 21 | Contact: MyungJoo Ham <myungjoo.ham@samsung.com> |
| 22 | Description: |
| 23 | The /sys/class/extcon/.../state shows the cable attach/detach |
| 24 | information of the corresponding extcon object. If the extcon |
| 25 | objecct has an optional callback "show_state" defined, the |
| 26 | callback will provide the name with this sysfs node. |