From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware Date: Tue, 28 Jun 2016 15:01:33 -0700 Message-ID: <146715129359.31418.3271966598208551482@sboyd-linaro> References: <20160626055647.18898-1-stephen.boyd@linaro.org> <5770D847.7060901@ti.com> <146705583219.30684.18055040268826215722@sboyd-linaro> <57721AEA.6010509@ti.com> <146710362771.3879.13924434427129313640@sboyd-linaro> <57723FD5.8050305@ti.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8BIT Return-path: Received: from mail-pf0-f170.google.com ([209.85.192.170]:32878 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752375AbcF1WBf convert rfc822-to-8bit (ORCPT ); Tue, 28 Jun 2016 18:01:35 -0400 Received: by mail-pf0-f170.google.com with SMTP id i123so10685328pfg.0 for ; Tue, 28 Jun 2016 15:01:35 -0700 (PDT) In-Reply-To: <57723FD5.8050305@ti.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Roger Quadros , Chanwoo Choi Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Quoting Roger Quadros (2016-06-28 02:13:57) > On 28/06/16 11:47, Stephen Boyd wrote: > > > > 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. > Does the USB ID interrupt come on a different line than the charger interrupt? Yes. > > It would be more like MISC block interrupt than USB ID interrupt right? There are two interrupts going to two different hw blocks inside the PMIC. From mboxrd@z Thu Jan 1 00:00:00 1970 From: stephen.boyd@linaro.org (Stephen Boyd) Date: Tue, 28 Jun 2016 15:01:33 -0700 Subject: [PATCH] extcon: Add support for qcom SPMI PMIC USB id detection hardware In-Reply-To: <57723FD5.8050305@ti.com> References: <20160626055647.18898-1-stephen.boyd@linaro.org> <5770D847.7060901@ti.com> <146705583219.30684.18055040268826215722@sboyd-linaro> <57721AEA.6010509@ti.com> <146710362771.3879.13924434427129313640@sboyd-linaro> <57723FD5.8050305@ti.com> Message-ID: <146715129359.31418.3271966598208551482@sboyd-linaro> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Quoting Roger Quadros (2016-06-28 02:13:57) > On 28/06/16 11:47, Stephen Boyd wrote: > > > > 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. > Does the USB ID interrupt come on a different line than the charger interrupt? Yes. > > It would be more like MISC block interrupt than USB ID interrupt right? There are two interrupts going to two different hw blocks inside the PMIC.