Skip to content
Commit 38085c98 authored by Stephen Boyd's avatar Stephen Boyd Committed by Chanwoo Choi
Browse files

extcon: Add support for qcom SPMI PMIC USB id detection hardware



Some Qualcomm PMICs have a misc device that performs USB id pin
detection via an interrupt. When the interrupt triggers, we
should read the interrupt line to see if it has gone high or low.
If the interrupt is low then the ID pin is grounded, and if the
interrupt is high then the ID pin is being held high.

Cc: Roger Quadros <rogerq@ti.com>
Signed-off-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
[cw00.choi: Edited the driver description and added the author information]
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 8670b459
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment