···1313 accessory cables have such capability. For example,1414 the 30-pin port of Nuri board (/arch/arm/mach-exynos)1515 may have both HDMI and Charger attached, or analog audio,1616- video, and USB cables attached simulteneously.1616+ video, and USB cables attached simultaneously.17171818 If there are cables mutually exclusive with each other,1919 such binary relations may be expressed with extcon_dev's···3535 The /sys/class/extcon/.../state shows and stores the cable3636 attach/detach information of the corresponding extcon object.3737 If the extcon object has an optional callback "show_state"3838- defined, the showing function is overriden with the optional3838+ defined, the showing function is overridden with the optional3939 callback.40404141 If the default callback for showing function is used, the···4646 TA=14747 EAR_JACK=04848 #4949- In this example, the extcon device have USB_OTG and TA4949+ In this example, the extcon device has USB_OTG and TA5050 cables attached and HDMI and EAR_JACK cables detached.51515252 In order to update the state of an extcon device, enter a hex5353- state number starting with 0x.5454- echo 0xHEX > state5353+ state number starting with 0x:5454+ # echo 0xHEX > state55555656- This updates the whole state of the extcon dev.5656+ This updates the whole state of the extcon device.5757 Inputs of all the methods are required to meet the5858- mutually_exclusive contidions if they exist.5858+ mutually_exclusive conditions if they exist.59596060 It is recommended to use this "global" state interface if6161- you need to enter the value atomically. The later state6161+ you need to set the value atomically. The later state6262 interface associated with each cable cannot update6363 multiple cable states of an extcon device simultaneously.6464···7373Date: February 20127474Contact: MyungJoo Ham <myungjoo.ham@samsung.com>7575Description:7676- The /sys/class/extcon/.../cable.x/name shows and stores the7676+ The /sys/class/extcon/.../cable.x/state shows and stores the7777 state of cable "x" (integer between 0 and 31) of an extcon7878 device. The state value is either 0 (detached) or 17979 (attached).···8383Contact: MyungJoo Ham <myungjoo.ham@samsung.com>8484Description:8585 Shows the relations of mutually exclusiveness. For example,8686- if the mutually_exclusive array of extcon_dev is8787- {0x3, 0x5, 0xC, 0x0}, the, the output is:8686+ if the mutually_exclusive array of extcon device is8787+ {0x3, 0x5, 0xC, 0x0}, then the output is:8888 # ls mutually_exclusive/8989 0x39090 0x5