Thread (18 messages) 18 messages, 4 authors, 2016-06-30

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

From: Stephen Boyd <hidden>
Date: 2016-06-29 18:51:34
Also in: linux-arm-msm, lkml

Quoting Roger Quadros (2016-06-28 23:10:57)
On 29/06/16 01:01, Stephen Boyd wrote:
quoted
Quoting Roger Quadros (2016-06-28 02:13:57)
quoted
On 28/06/16 11:47, Stephen Boyd wrote:
quoted
Sorry I must have confused you. There are two modules in the PMIC that
are doing detection here. The charger module is detecting the VBUS event
and this misc module is detecting the ID pin. I'm not sure why they're
two different blocks, but it is what it is in the hardware.
OK. Can the MISC block do anything else other than USB ID?
Yes.
quoted
Does the USB ID interrupt come on a different line than the charger interrupt?
Yes.
OK. Is it better to have this driver somewhere in drivers/mfd or drivers/misc if the
other function doesn't need/use extcon?
If/when the other functionality is used by the kernel we can consider
moving this driver somewhere else. As there currently isn't any other
usage of this device node I implemented it in the extcon directory to be
explicit about the usage.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help