summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorChanwoo Choi <cw00.choi@samsung.com>2016-07-11 12:30:43 +0200
committerChanwoo Choi <cw00.choi@samsung.com>2016-08-08 04:17:22 +0200
commit792e7e9e5d4358bc6157152b2c07b94eb9e261b0 (patch)
treefa3cbb11bafdc33313ef664e9e3d6c3fcebd0820 /arch
parentextcon: Add the extcon_type to gather each connector into five category (diff)
downloadlinux-792e7e9e5d4358bc6157152b2c07b94eb9e261b0.tar.xz
linux-792e7e9e5d4358bc6157152b2c07b94eb9e261b0.zip
extcon: Add the support for extcon property according to extcon type
This patch support the extcon property for the external connector because each external connector might have the property according to the H/W design and the specific characteristics. - EXTCON_PROP_USB_[property name] - EXTCON_PROP_CHG_[property name] - EXTCON_PROP_JACK_[property name] - EXTCON_PROP_DISP_[property name] Add the new extcon APIs to get/set the property value as following: - int extcon_get_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value *prop_val) - int extcon_set_property(struct extcon_dev *edev, unsigned int id, unsigned int prop, union extcon_property_value prop_val) Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com> Tested-by: Chris Zhong <zyw@rock-chips.com> Tested-by: Guenter Roeck <groeck@chromium.org> Reviewed-by: Guenter Roeck <groeck@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions