[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56BC6048.7080500@nvidia.com>
Date: Thu, 11 Feb 2016 15:49:52 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Lee Jones <lee.jones@...aro.org>
CC: <robh+dt@...nel.org>, <pawel.moll@....com>, <mark.rutland@....com>,
<ijc+devicetree@...lion.org.uk>, <galak@...eaurora.org>,
<linus.walleij@...aro.org>, <gnurou@...il.com>,
<broonie@...nel.org>, <a.zummo@...ertech.it>,
<alexandre.belloni@...e-electrons.com>, <lgirdwood@...il.com>,
<devicetree@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-gpio@...r.kernel.org>, <rtc-linux@...glegroups.com>,
<swarren@...dia.com>, <treding@...dia.com>,
<k.kozlowski@...sung.com>, <vreddytalla@...dia.com>
Subject: Re: [PATCH V7 1/8] mfd: add device-tree binding doc for PMIC max77620/max20024
On Thursday 11 February 2016 02:56 PM, Lee Jones wrote:
> On Wed, 10 Feb 2016, Laxman Dewangan wrote:
>
>>
>> sleep: <0/1>
>> 0: sleep mode disable,
>> 1: sleep mode enable.
> Ideally yes. This is obviously going to be used again.
>
> However;
> - My fear is that it will get confused with the 'sleep' property in
> Documentation/devicetree/booting-without-of.txt.
> - Secondly, you would need to get Rob to Ack it.
>
Another thought, becasue this is just for enable/disable, why not we add
property as "enable-sleep" of boolean type instead of u32 value type?
It is easy to describe the behavior with enable-sleep and
enable-low-power-mode.
-enable-sleep: Boolean, when FPS event cleared
(set to LOW), resources get
disabled
at the sequencing event
corresponding
to its FPS configuration register.
-enable-low-power-mode: Boolean, when FPS event cleared
(set to LOW), resources sets into
low power mode at the
sequencing event
corresponding to its FPS
configuration
register.
Both property can not be together.
Other approach is to club together
maxim,device-state-on-disabled-event : u32, describe the PMIC state
when FPS
event cleared (set to LOW)
whether it
should go to sleep state or
low-power state.
1 =
Device state is set to sleep
2 =
Device state is set to low power mode.
Absence of this property or other value will not change device state
when FPS event
cleared.
Powered by blists - more mailing lists