[RESEND PATCH v2] regulator: fixed: Handle optional overcurrent pin

2016-11-04 Thread Axel Haslam
Fixed regulators (ex. TPS2087D) may have a over current pin that is activated on over current. Consumers may be interested to know about over current events to take appropriate actions. Allow the fix regulator to take in an optional gpio pin for over current and send the respective event to the

[RESEND PATCH v2] regulator: fixed: Handle optional overcurrent pin

2016-11-04 Thread Axel Haslam
Fixed regulators (ex. TPS2087D) may have a over current pin that is activated on over current. Consumers may be interested to know about over current events to take appropriate actions. Allow the fix regulator to take in an optional gpio pin for over current and send the respective event to the