Skip to content
Commit eee1d077 authored by Stephen Boyd's avatar Stephen Boyd Committed by Sebastian Reichel
Browse files

power: qcom_smbb: Make an extcon for usb cable detection



On these PMICs the usb cable connection/disconnection is
indicated by the usb-valid interrupt being high or low
respectively. Let's make an extcon for that, so we can notify usb
drivers of the cable state.

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarStephen Boyd <stephen.boyd@linaro.org>
Reviewed-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent c5ed3307
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