[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51F94744.40301@wwwdotorg.org>
Date: Wed, 31 Jul 2013 11:20:04 -0600
From: Stephen Warren <swarren@...dotorg.org>
To: Nishanth Menon <nm@...com>
CC: Bill Huang <bilhuang@...dia.com>, sameo@...ux.intel.com,
rob.herring@...xeda.com, pawel.moll@....com, mark.rutland@....com,
ian.campbell@...rix.com, rob@...dley.net, lee.jones@...aro.org,
broonie@...aro.org, j-keerthy@...com, grant.likely@...aro.org,
ian@...mlogic.co.uk, devicetree@...r.kernel.org,
linux-doc@...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 07/31/2013 05:57 AM, Nishanth Menon wrote:
> On 07/31/2013 02:17 AM, Bill Huang wrote:
>> Hook up "pm_power_off" to palmas power off routine if there is DT
>> property "ti,system-power-controller" defined, so platform which is
>> powered by this regulator can be powered off properly.
>>
>> Based on work by:
>> Mallikarjun Kasoju <mkasoju@...dia.com>
>>
>> Signed-off-by: Bill Huang <bilhuang@...dia.com>
>> cc: Mallikarjun Kasoju <mkasoju@...dia.com>
>> ---
>> .../devicetree/bindings/regulator/palmas-pmic.txt | 5 +++
>> drivers/mfd/palmas.c | 33
>> ++++++++++++++++++--
>
> Since the specific question on v1 was not answered, I will ask again,
> any reason why it wont fit in drivers/power/reset/ is'nt it the right
> place to add this?
I think it makes sense to put simple standalone reset drivers into
drivers/power/reset. However, where reset is just one tiny function of a
larger device that already has a driver, it's fine for one driver to
implement multiple features or essentially expose multiple subsystems.
(besides this is system power off not system reset; which is
drivers/power/reset?)
--
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