[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1375355332.32701.13.camel@bilhuang-vm1>
Date: Thu, 1 Aug 2013 04:08:52 -0700
From: Bill Huang <bilhuang@...dia.com>
To: Nishanth Menon <nm@...com>
CC: "sameo@...ux.intel.com" <sameo@...ux.intel.com>,
"rob.herring@...xeda.com" <rob.herring@...xeda.com>,
"pawel.moll@....com" <pawel.moll@....com>,
"mark.rutland@....com" <mark.rutland@....com>,
"swarren@...dotorg.org" <swarren@...dotorg.org>,
"ian.campbell@...rix.com" <ian.campbell@...rix.com>,
"rob@...dley.net" <rob@...dley.net>,
"lee.jones@...aro.org" <lee.jones@...aro.org>,
"broonie@...aro.org" <broonie@...aro.org>,
"j-keerthy@...com" <j-keerthy@...com>,
"grant.likely@...aro.org" <grant.likely@...aro.org>,
"ian@...mlogic.co.uk" <ian@...mlogic.co.uk>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-doc@...r.kernel.org" <linux-doc@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Mallikarjun Kasoju <mkasoju@...dia.com>
Subject: Re: [PATCH v2 1/1] mfd: palmas: Add power off control
On Wed, 2013-07-31 at 19:57 +0800, Nishanth Menon wrote:
>
> If you notice the reference code I send, atleast on TWL6035/37 variants
> of Palmas, USB IRQ unmask is mandatory for power on with USB cable -
> example usage scenario: extremely low battery, device powered off, plug
> in usb cable to restart charging - you'd like to initiate charging logic
> in bootloader, but that wont work if the device does not do OFF-ON
> transition with usb cable plugged in for vbus.
>
Why do we need to add Palmas USB_IRQ unmask logic in shutdown? Does that
mean for all platform using Palmas has to unmask USB IRQ (including
those do not power vbus through Palmas)? Can't we just have a simple
shutdown function but have the VBus programming been done in USB driver
or maybe platform driver since it is platform specific control?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists