aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChanwoo Choi <[email protected]>2016-07-11 19:30:43 +0900
committerKishon Vijay Abraham I <[email protected]>2016-09-10 16:48:51 +0530
commit067c1652e7a7d50d951eee1d34a414ea931cee6c (patch)
treeb1b87736cf50c5c13962170718dea64a97b3ab0a /tools/perf/scripts/python
parent505cf01f984bdcf088c9ec1e96f987f1ff47dc21 (diff)
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 <[email protected]> Tested-by: Chris Zhong <[email protected]> Tested-by: Guenter Roeck <[email protected]> Reviewed-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions