From: Bill Huang <hidden> Date: 2012-08-20 01:08:20
This patch series add new property into regulator DT for telling whether or not
to hook pmic's power off routine to system call "pm_power_off".
Patch 1 add power off support for Tegra20 boards using TPS6586x
Patch 2 add power off support for Tegra30 boards using TPS65910
Verified on Seaboard (Tegra20) and Cardhu (Tegra30)
V2:
* Take multiple pmic instances into consideration while assigning global variables
as per suggestion from Thierry Reding [off-list ref]
V1:
* Based on master branch of sameo/mfd-2.6.git
Bill Huang (2):
mfd: dt: tps6586x: Add power off control
mfd: dt: tps65910: add power off control
Documentation/devicetree/bindings/mfd/tps65910.txt | 4 +++
.../devicetree/bindings/regulator/tps6586x.txt | 6 +++++
drivers/mfd/tps6586x.c | 19 +++++++++++++++++
drivers/mfd/tps65910.c | 22 ++++++++++++++++++++
include/linux/mfd/tps6586x.h | 1 +
include/linux/mfd/tps65910.h | 3 ++
6 files changed, 55 insertions(+), 0 deletions(-)
--
1.7.4.1
From: Bill Huang <hidden> Date: 2012-08-20 01:08:33
Add DT property "ti,system-power-controller" telling whether or not this
pmic is in charge of controlling the system power, so the power off
routine can be hooked up to system call "pm_power_off".
Based on the work by:
Dan Willemsen [off-list ref]
Signed-off-by: Bill Huang <redacted>
Tested-by: Stephen Warren <redacted>
---
Documentation/devicetree/bindings/mfd/tps65910.txt | 4 +++
drivers/mfd/tps65910.c | 22 ++++++++++++++++++++
include/linux/mfd/tps65910.h | 3 ++
3 files changed, 29 insertions(+), 0 deletions(-)
@@ -59,6 +59,8 @@ Optional properties: in TPS6591X datasheet) - ti,en-gpio-sleep: enable sleep control for gpios There should be 9 entries here, one for each gpio.+- ti,system-power-controller: Telling whether or not this pmic is controlling+ the system power. Regulator Optional properties: - ti,regulator-ext-sleep-control: enable external sleep
From: Bill Huang <hidden> Date: 2012-08-20 01:08:35
Add DT property "ti,system-power-controller" telling whether or not this
pmic is in charge of controlling the system power, so the power off
routine can be hooked up to system call "pm_power_off".
Based on the work by:
Dan Willemsen [off-list ref]
Signed-off-by: Bill Huang <redacted>
Tested-by: Stephen Warren <redacted>
---
.../devicetree/bindings/regulator/tps6586x.txt | 6 ++++++
drivers/mfd/tps6586x.c | 19 +++++++++++++++++++
include/linux/mfd/tps6586x.h | 1 +
3 files changed, 26 insertions(+), 0 deletions(-)
@@ -18,6 +18,10 @@ Required properties: - vinldo678-supply: The input supply for the LDO6, LDO7 and LDO8 - vinldo9-supply: The input supply for the LDO9+Optional properties:+- ti,system-power-controller: Telling whether or not this pmic is controlling+ the system power.+ Each regulator is defined using the standard binding for regulators. Example:
On Sun, Aug 19, 2012 at 06:07:55PM -0700, Bill Huang wrote:
Add DT property "ti,system-power-controller" telling whether or not this
pmic is in charge of controlling the system power, so the power off
routine can be hooked up to system call "pm_power_off".
Based on the work by:
Dan Willemsen [off-list ref]
Signed-off-by: Bill Huang <redacted>
Tested-by: Stephen Warren <redacted>
---
.../devicetree/bindings/regulator/tps6586x.txt | 6 ++++++
drivers/mfd/tps6586x.c | 19 +++++++++++++++++++
include/linux/mfd/tps6586x.h | 1 +
3 files changed, 26 insertions(+), 0 deletions(-)
Hi,
I've seen the following while trying this patch applied on top of next-20120817:
[ 40.581151] Power down.
[ 41.583160] ------------[ cut here ]------------
[ 41.587784] WARNING: at /home/thierry.reding/src/kernel/linux-ipmp.git/drivers/i2c/busses/i2c-tegra.c:525 tegra_i2c_xfer+0x21c/0x29c()
[ 41.599850] Modules linked in:
[ 41.602927] [<c0014074>] (unwind_backtrace+0x0/0xf8) from [<c00265a8>] (warn_slowpath_common+0x4c/0x64)
[ 41.612304] [<c00265a8>] (warn_slowpath_common+0x4c/0x64) from [<c00265dc>] (warn_slowpath_null+0x1c/0x24)
[ 41.621947] [<c00265dc>] (warn_slowpath_null+0x1c/0x24) from [<c02a2944>] (tegra_i2c_xfer+0x21c/0x29c)
[ 41.631244] [<c02a2944>] (tegra_i2c_xfer+0x21c/0x29c) from [<c029f5e8>] (__i2c_transfer+0x44/0x80)
[ 41.640192] [<c029f5e8>] (__i2c_transfer+0x44/0x80) from [<c02a0698>] (i2c_transfer+0x7c/0xb8)
[ 41.648796] [<c02a0698>] (i2c_transfer+0x7c/0xb8) from [<c0232a60>] (regmap_i2c_read+0x48/0x64)
[ 41.657485] [<c0232a60>] (regmap_i2c_read+0x48/0x64) from [<c0230304>] (_regmap_raw_read+0x90/0x98)
[ 41.666518] [<c0230304>] (_regmap_raw_read+0x90/0x98) from [<c023035c>] (_regmap_read+0x50/0xa8)
[ 41.675290] [<c023035c>] (_regmap_read+0x50/0xa8) from [<c02300c4>] (_regmap_update_bits+0x24/0x64)
[ 41.684322] [<c02300c4>] (_regmap_update_bits+0x24/0x64) from [<c0230b88>] (regmap_update_bits+0x3c/0x58)
[ 41.693885] [<c0230b88>] (regmap_update_bits+0x3c/0x58) from [<c0237c30>] (tps6586x_power_off+0x18/0x38)
[ 41.703362] [<c0237c30>] (tps6586x_power_off+0x18/0x38) from [<c000edf4>] (machine_power_off+0x1c/0x24)
[ 41.712749] [<c000edf4>] (machine_power_off+0x1c/0x24) from [<c0037ca4>] (sys_reboot+0x138/0x1b0)
[ 41.721612] [<c0037ca4>] (sys_reboot+0x138/0x1b0) from [<c000e000>] (ret_fast_syscall+0x0/0x30)
[ 41.730293] ---[ end trace 9af366974fefa459 ]---
[ 41.734906] tegra-i2c tegra-i2c.3: i2c transfer timed out
[ 41.740689] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 41.740689]
[ 41.749823] [<c0014074>] (unwind_backtrace+0x0/0xf8) from [<c03e7090>] (panic+0x8c/0x1d8)
[ 41.757993] [<c03e7090>] (panic+0x8c/0x1d8) from [<c002b7b8>] (do_exit+0x694/0x750)
[ 41.765636] [<c002b7b8>] (do_exit+0x694/0x750) from [<c002bad0>] (do_group_exit+0x3c/0xb0)
[ 41.773884] [<c002bad0>] (do_group_exit+0x3c/0xb0) from [<c002bb54>] (__wake_up_parent+0x0/0x18)
Thierry
From: Bill Huang <hidden> Date: 2012-08-22 12:07:29
nvpublic
On Sun, Aug 19, 2012 at 06:07:55PM -0700, Bill Huang wrote:
quoted
Add DT property "ti,system-power-controller" telling whether or not
this pmic is in charge of controlling the system power, so the power
off routine can be hooked up to system call "pm_power_off".
Based on the work by:
Dan Willemsen [off-list ref]
Signed-off-by: Bill Huang <redacted>
Tested-by: Stephen Warren <redacted>
---
.../devicetree/bindings/regulator/tps6586x.txt | 6 ++++++
drivers/mfd/tps6586x.c | 19 +++++++++++++++++++
include/linux/mfd/tps6586x.h | 1 +
3 files changed, 26 insertions(+), 0 deletions(-)
Hi,
I've seen the following while trying this patch applied on top of next-20120817:
[ 40.581151] Power down.
[ 41.583160] ------------[ cut here ]------------
[ 41.587784] WARNING: at /home/thierry.reding/src/kernel/linux-ipmp.git/drivers/i2c/busses/i2c-
tegra.c:525 tegra_i2c_xfer+0x21c/0x29c()
[ 41.599850] Modules linked in:
[ 41.602927] [<c0014074>] (unwind_backtrace+0x0/0xf8) from [<c00265a8>]
(warn_slowpath_common+0x4c/0x64)
[ 41.612304] [<c00265a8>] (warn_slowpath_common+0x4c/0x64) from [<c00265dc>]
(warn_slowpath_null+0x1c/0x24)
[ 41.621947] [<c00265dc>] (warn_slowpath_null+0x1c/0x24) from [<c02a2944>]
(tegra_i2c_xfer+0x21c/0x29c)
[ 41.631244] [<c02a2944>] (tegra_i2c_xfer+0x21c/0x29c) from [<c029f5e8>] (__i2c_transfer+0x44/0x80)
[ 41.640192] [<c029f5e8>] (__i2c_transfer+0x44/0x80) from [<c02a0698>] (i2c_transfer+0x7c/0xb8)
[ 41.648796] [<c02a0698>] (i2c_transfer+0x7c/0xb8) from [<c0232a60>] (regmap_i2c_read+0x48/0x64)
[ 41.657485] [<c0232a60>] (regmap_i2c_read+0x48/0x64) from [<c0230304>] (_regmap_raw_read+0x90/0x98)
[ 41.666518] [<c0230304>] (_regmap_raw_read+0x90/0x98) from [<c023035c>] (_regmap_read+0x50/0xa8)
[ 41.675290] [<c023035c>] (_regmap_read+0x50/0xa8) from [<c02300c4>] (_regmap_update_bits+0x24/0x64)
[ 41.684322] [<c02300c4>] (_regmap_update_bits+0x24/0x64) from [<c0230b88>]
(regmap_update_bits+0x3c/0x58)
[ 41.693885] [<c0230b88>] (regmap_update_bits+0x3c/0x58) from [<c0237c30>]
(tps6586x_power_off+0x18/0x38)
[ 41.703362] [<c0237c30>] (tps6586x_power_off+0x18/0x38) from [<c000edf4>]
(machine_power_off+0x1c/0x24)
[ 41.712749] [<c000edf4>] (machine_power_off+0x1c/0x24) from [<c0037ca4>] (sys_reboot+0x138/0x1b0)
[ 41.721612] [<c0037ca4>] (sys_reboot+0x138/0x1b0) from [<c000e000>] (ret_fast_syscall+0x0/0x30)
[ 41.730293] ---[ end trace 9af366974fefa459 ]---
[ 41.734906] tegra-i2c tegra-i2c.3: i2c transfer timed out
[ 41.740689] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 41.740689]
[ 41.749823] [<c0014074>] (unwind_backtrace+0x0/0xf8) from [<c03e7090>] (panic+0x8c/0x1d8)
[ 41.757993] [<c03e7090>] (panic+0x8c/0x1d8) from [<c002b7b8>] (do_exit+0x694/0x750)
[ 41.765636] [<c002b7b8>] (do_exit+0x694/0x750) from [<c002bad0>] (do_group_exit+0x3c/0xb0)
[ 41.773884] [<c002bad0>] (do_group_exit+0x3c/0xb0) from [<c002bb54>] (__wake_up_parent+0x0/0x18)
Thanks Thierry, I can repro this on Tegra20 inconsistently and found, if current cpu is not cpu0 when doing "machine_shutdown" (it will call "smp_send_stop"), i2c controller will failed to do any transaction (looks like gic interrupt will be disabled), I'll debug further to find out the root cause.
By the way, Tegra30 is good since it will always be cpu0 when doing "machine_shutdown", I still don't know why it makes the difference against Tegra20 since I'm not familiar with those cpu stuffs and what make it behave differently, I'll study a bit, thanks.
From: Bill Huang <hidden> Date: 2012-08-25 00:36:37
nvpublic
quoted
On Sun, Aug 19, 2012 at 06:07:55PM -0700, Bill Huang wrote:
quoted
Add DT property "ti,system-power-controller" telling whether or not
this pmic is in charge of controlling the system power, so the power
off routine can be hooked up to system call "pm_power_off".
Based on the work by:
Dan Willemsen [off-list ref]
Signed-off-by: Bill Huang <redacted>
Tested-by: Stephen Warren <redacted>
---
.../devicetree/bindings/regulator/tps6586x.txt | 6 ++++++
drivers/mfd/tps6586x.c | 19 +++++++++++++++++++
include/linux/mfd/tps6586x.h | 1 +
3 files changed, 26 insertions(+), 0 deletions(-)
Hi,
I've seen the following while trying this patch applied on top of next-20120817:
[ 40.581151] Power down.
[ 41.583160] ------------[ cut here ]------------
[ 41.587784] WARNING: at /home/thierry.reding/src/kernel/linux-ipmp.git/drivers/i2c/busses/i2c-
tegra.c:525 tegra_i2c_xfer+0x21c/0x29c()
[ 41.599850] Modules linked in:
[ 41.602927] [<c0014074>] (unwind_backtrace+0x0/0xf8) from [<c00265a8>]
(warn_slowpath_common+0x4c/0x64)
[ 41.612304] [<c00265a8>] (warn_slowpath_common+0x4c/0x64) from [<c00265dc>]
(warn_slowpath_null+0x1c/0x24)
[ 41.621947] [<c00265dc>] (warn_slowpath_null+0x1c/0x24) from [<c02a2944>]
(tegra_i2c_xfer+0x21c/0x29c)
[ 41.631244] [<c02a2944>] (tegra_i2c_xfer+0x21c/0x29c) from [<c029f5e8>] (__i2c_transfer+0x44/0x80)
[ 41.640192] [<c029f5e8>] (__i2c_transfer+0x44/0x80) from [<c02a0698>] (i2c_transfer+0x7c/0xb8)
[ 41.648796] [<c02a0698>] (i2c_transfer+0x7c/0xb8) from [<c0232a60>] (regmap_i2c_read+0x48/0x64)
[ 41.657485] [<c0232a60>] (regmap_i2c_read+0x48/0x64) from [<c0230304>]
(_regmap_raw_read+0x90/0x98)
quoted
[ 41.666518] [<c0230304>] (_regmap_raw_read+0x90/0x98) from [<c023035c>] (_regmap_read+0x50/0xa8)
[ 41.675290] [<c023035c>] (_regmap_read+0x50/0xa8) from [<c02300c4>]
(_regmap_update_bits+0x24/0x64)
quoted
[ 41.684322] [<c02300c4>] (_regmap_update_bits+0x24/0x64) from [<c0230b88>]
(regmap_update_bits+0x3c/0x58)
[ 41.693885] [<c0230b88>] (regmap_update_bits+0x3c/0x58) from [<c0237c30>]
(tps6586x_power_off+0x18/0x38)
[ 41.703362] [<c0237c30>] (tps6586x_power_off+0x18/0x38) from [<c000edf4>]
(machine_power_off+0x1c/0x24)
[ 41.712749] [<c000edf4>] (machine_power_off+0x1c/0x24) from [<c0037ca4>] (sys_reboot+0x138/0x1b0)
[ 41.721612] [<c0037ca4>] (sys_reboot+0x138/0x1b0) from [<c000e000>] (ret_fast_syscall+0x0/0x30)
[ 41.730293] ---[ end trace 9af366974fefa459 ]---
[ 41.734906] tegra-i2c tegra-i2c.3: i2c transfer timed out
[ 41.740689] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
[ 41.740689]
[ 41.749823] [<c0014074>] (unwind_backtrace+0x0/0xf8) from [<c03e7090>] (panic+0x8c/0x1d8)
[ 41.757993] [<c03e7090>] (panic+0x8c/0x1d8) from [<c002b7b8>] (do_exit+0x694/0x750)
[ 41.765636] [<c002b7b8>] (do_exit+0x694/0x750) from [<c002bad0>] (do_group_exit+0x3c/0xb0)
[ 41.773884] [<c002bad0>] (do_group_exit+0x3c/0xb0) from [<c002bb54>] (__wake_up_parent+0x0/0x18)
Thanks Thierry, I can repro this on Tegra20 inconsistently and found, if current cpu is not cpu0 when
doing "machine_shutdown" (it will call "smp_send_stop"), i2c controller will failed to do any
transaction (looks like gic interrupt will be disabled), I'll debug further to find out the root cause.
By the way, Tegra30 is good since it will always be cpu0 when doing "machine_shutdown", I still don't
know why it makes the difference against Tegra20 since I'm not familiar with those cpu stuffs and what
make it behave differently, I'll study a bit, thanks.
I've sent the shutdown issue for discussion in ARM list: Shutdown problem in SMP system happened on Tegra20.
The cause of the i2c timeout is pretty clear now and it is not directly related to this patch, so is this
patch series acceptable? Any thoughts or comment? Thanks.
From: Stephen Warren <hidden> Date: 2012-08-25 03:34:32
On 08/24/2012 06:36 PM, Bill Huang wrote:
quoted
quoted
On Sun, Aug 19, 2012 at 06:07:55PM -0700, Bill Huang wrote:
quoted
Add DT property "ti,system-power-controller" telling whether or not
this pmic is in charge of controlling the system power, so the power
off routine can be hooked up to system call "pm_power_off".
...
quoted
quoted
I've seen the following while trying this patch applied on top of next-20120817:
[ 40.581151] Power down.
[ 41.583160] ------------[ cut here ]------------
[ 41.587784] WARNING: at /home/thierry.reding/src/kernel/linux-ipmp.git/drivers/i2c/busses/i2c-
tegra.c:525 tegra_i2c_xfer+0x21c/0x29c()
...
quoted
Thanks Thierry, I can repro this on Tegra20 inconsistently and found, if current cpu is not cpu0 when
doing "machine_shutdown" (it will call "smp_send_stop"), i2c controller will failed to do any
transaction (looks like gic interrupt will be disabled), I'll debug further to find out the root cause.
By the way, Tegra30 is good since it will always be cpu0 when doing "machine_shutdown", I still don't
know why it makes the difference against Tegra20 since I'm not familiar with those cpu stuffs and what
make it behave differently, I'll study a bit, thanks.
I've sent the shutdown issue for discussion in ARM list: Shutdown problem in SMP system happened on Tegra20.
The cause of the i2c timeout is pretty clear now and it is not directly related to this patch, so is this
patch series acceptable? Any thoughts or comment? Thanks.
I tend to agree; power off never worked without this patch, and
sometimes does with the patch, due to nothing wrong with this patch.
Bill, please do follow up on getting the underlying Tegra issue solved
somehow though. IIRC, Joseph Lo or Prashant has a patch which enabled
the config option that Russell mentioned, so the fix may just be to wait
for that patch to get finalized, but please double-check that solves it.
Thanks!
From: Bill Huang <hidden> Date: 2012-08-27 05:41:05
nvpublic
On 08/24/2012 06:36 PM, Bill Huang wrote:
quoted
quoted
quoted
On Sun, Aug 19, 2012 at 06:07:55PM -0700, Bill Huang wrote:
quoted
Add DT property "ti,system-power-controller" telling whether or not
this pmic is in charge of controlling the system power, so the
power off routine can be hooked up to system call "pm_power_off".
...
quoted
quoted
quoted
I've seen the following while trying this patch applied on top of next-20120817:
[ 40.581151] Power down.
[ 41.583160] ------------[ cut here ]------------
[ 41.587784] WARNING: at /home/thierry.reding/src/kernel/linux-ipmp.git/drivers/i2c/busses/i2c-
tegra.c:525 tegra_i2c_xfer+0x21c/0x29c()
...
quoted
quoted
Thanks Thierry, I can repro this on Tegra20 inconsistently and found,
if current cpu is not cpu0 when doing "machine_shutdown" (it will
call "smp_send_stop"), i2c controller will failed to do any transaction (looks like gic interrupt
will be disabled), I'll debug further to find out the root cause.
quoted
quoted
By the way, Tegra30 is good since it will always be cpu0 when doing
"machine_shutdown", I still don't know why it makes the difference
against Tegra20 since I'm not familiar with those cpu stuffs and what make it behave differently,
I'll study a bit, thanks.
quoted
I've sent the shutdown issue for discussion in ARM list: Shutdown problem in SMP system happened on
Tegra20.
quoted
The cause of the i2c timeout is pretty clear now and it is not
directly related to this patch, so is this patch series acceptable? Any thoughts or comment? Thanks.
I tend to agree; power off never worked without this patch, and sometimes does with the patch, due to
nothing wrong with this patch.
Bill, please do follow up on getting the underlying Tegra issue solved somehow though. IIRC, Joseph Lo
or Prashant has a patch which enabled the config option that Russell mentioned, so the fix may just be
to wait for that patch to get finalized, but please double-check that solves it.
Thanks!
As per the shutdown issue discussion, enabling CONFIG_PM_SLEEP_SMP is the only solution and I've confirmed that fix the issue, thanks.
From: Bill Huang <hidden> Date: 2012-09-05 00:29:02
nvpublic
quoted
On 08/24/2012 06:36 PM, Bill Huang wrote:
quoted
quoted
quoted
On Sun, Aug 19, 2012 at 06:07:55PM -0700, Bill Huang wrote:
quoted
Add DT property "ti,system-power-controller" telling whether or
not this pmic is in charge of controlling the system power, so
the power off routine can be hooked up to system call "pm_power_off".
...
quoted
quoted
quoted
I've seen the following while trying this patch applied on top of next-20120817:
[ 40.581151] Power down.
[ 41.583160] ------------[ cut here ]------------
[ 41.587784] WARNING: at /home/thierry.reding/src/kernel/linux-
ipmp.git/drivers/i2c/busses/i2c-
quoted
quoted
quoted
quoted
tegra.c:525 tegra_i2c_xfer+0x21c/0x29c()
...
quoted
quoted
Thanks Thierry, I can repro this on Tegra20 inconsistently and
found, if current cpu is not cpu0 when doing "machine_shutdown" (it
will call "smp_send_stop"), i2c controller will failed to do any
transaction (looks like gic interrupt
will be disabled), I'll debug further to find out the root cause.
quoted
quoted
By the way, Tegra30 is good since it will always be cpu0 when doing
"machine_shutdown", I still don't know why it makes the difference
against Tegra20 since I'm not familiar with those cpu stuffs and
what make it behave differently,
I'll study a bit, thanks.
quoted
I've sent the shutdown issue for discussion in ARM list: Shutdown
problem in SMP system happened on
Tegra20.
quoted
The cause of the i2c timeout is pretty clear now and it is not
directly related to this patch, so is this patch series acceptable? Any thoughts or comment?
Thanks.
quoted
I tend to agree; power off never worked without this patch, and
sometimes does with the patch, due to nothing wrong with this patch.
Bill, please do follow up on getting the underlying Tegra issue solved
somehow though. IIRC, Joseph Lo or Prashant has a patch which enabled
the config option that Russell mentioned, so the fix may just be to wait for that patch to get
finalized, but please double-check that solves it.
quoted
Thanks!
As per the shutdown issue discussion, enabling CONFIG_PM_SLEEP_SMP is the only solution and I've
confirmed that fix the issue, thanks.
Hi sameo,
Is there any concern on this patch series?
Thanks,
Bill
From: Bill Huang <hidden> Date: 2012-09-11 10:28:09
Hi all,
Could somebody review this?
Thanks,
Bill
This patch series add new property into regulator DT for telling whether or not to hook pmic's power off routine to system call
"pm_power_off".
Patch 1 add power off support for Tegra20 boards using TPS6586x Patch 2 add power off support for Tegra30 boards using TPS65910
Verified on Seaboard (Tegra20) and Cardhu (Tegra30)
V2:
* Take multiple pmic instances into consideration while assigning global variables
as per suggestion from Thierry Reding [off-list ref]
V1:
* Based on master branch of sameo/mfd-2.6.git
Bill Huang (2):
mfd: dt: tps6586x: Add power off control
mfd: dt: tps65910: add power off control
Documentation/devicetree/bindings/mfd/tps65910.txt | 4 +++
.../devicetree/bindings/regulator/tps6586x.txt | 6 +++++
drivers/mfd/tps6586x.c | 19 +++++++++++++++++
drivers/mfd/tps65910.c | 22 ++++++++++++++++++++
include/linux/mfd/tps6586x.h | 1 +
include/linux/mfd/tps65910.h | 3 ++
6 files changed, 55 insertions(+), 0 deletions(-)
--
1.7.4.1
On Tue, Sep 11, 2012 at 06:25:14PM +0800, Bill Huang wrote:
Hi all,
Could somebody review this?
Given that I haven't been able to test yet (due to time constraints)
with PM_SLEEP_SMP enabled, I don't want to give you a Tested-by, but the
code looks okay to me, so for both patches:
Reviewed-by: Thierry Reding <redacted>
From: Stephen Warren <hidden> Date: 2012-09-11 15:15:17
On 09/11/2012 04:46 AM, Thierry Reding wrote:
On Tue, Sep 11, 2012 at 06:25:14PM +0800, Bill Huang wrote:
quoted
Hi all,
Could somebody review this?
Given that I haven't been able to test yet (due to time
constraints) with PM_SLEEP_SMP enabled, I don't want to give you a
Tested-by, but the code looks okay to me, so for both patches:
Reviewed-by: Thierry Reding <redacted>
I have tested this with PM_SLEEP_SMP enabled, and it solved the
problem. I think I already gave my Tested-by, but if not:
Tested-by: Stephen Warren <redacted>
I hope that this gets applied to the MFD tree early enough (i.e.
within the next 2-3 days or so) that I can rely on the binding be
accepted, and hence apply patches to Tegra's device tree to enable
this functionality for 3.7.
Bill, given this was posted about 3 weeks ago, perhaps repost the
series in case Samuel doesn't have it any more, and hence can't apply it.
From: Samuel Ortiz <hidden> Date: 2012-09-11 16:07:16
Hi Bill,
On Sun, Aug 19, 2012 at 06:07:54PM -0700, Bill Huang wrote:
This patch series add new property into regulator DT for telling whether or not
to hook pmic's power off routine to system call "pm_power_off".
Patch 1 add power off support for Tegra20 boards using TPS6586x
Patch 2 add power off support for Tegra30 boards using TPS65910
Verified on Seaboard (Tegra20) and Cardhu (Tegra30)
V2:
* Take multiple pmic instances into consideration while assigning global variables
as per suggestion from Thierry Reding [off-list ref]
V1:
* Based on master branch of sameo/mfd-2.6.git
Bill Huang (2):
mfd: dt: tps6586x: Add power off control
mfd: dt: tps65910: add power off control
Documentation/devicetree/bindings/mfd/tps65910.txt | 4 +++
.../devicetree/bindings/regulator/tps6586x.txt | 6 +++++
drivers/mfd/tps6586x.c | 19 +++++++++++++++++
drivers/mfd/tps65910.c | 22 ++++++++++++++++++++
include/linux/mfd/tps6586x.h | 1 +
include/linux/mfd/tps65910.h | 3 ++
6 files changed, 55 insertions(+), 0 deletions(-)
I applied those 2 patches to my for-next branch, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
From: Samuel Ortiz <hidden> Date: 2012-09-11 16:08:19
Hi Stephen,
On Tue, Sep 11, 2012 at 09:15:07AM -0600, Stephen Warren wrote:
On 09/11/2012 04:46 AM, Thierry Reding wrote:
quoted
On Tue, Sep 11, 2012 at 06:25:14PM +0800, Bill Huang wrote:
quoted
Hi all,
Could somebody review this?
Given that I haven't been able to test yet (due to time
constraints) with PM_SLEEP_SMP enabled, I don't want to give you a
Tested-by, but the code looks okay to me, so for both patches:
Reviewed-by: Thierry Reding <redacted>
I have tested this with PM_SLEEP_SMP enabled, and it solved the
problem. I think I already gave my Tested-by, but if not:
Tested-by: Stephen Warren <redacted>
I hope that this gets applied to the MFD tree early enough (i.e.
within the next 2-3 days or so) that I can rely on the binding be
accepted, and hence apply patches to Tegra's device tree to enable
this functionality for 3.7.
Bill, given this was posted about 3 weeks ago, perhaps repost the
series in case Samuel doesn't have it any more, and hence can't apply it.
No need for that. Sorry for the delay, I just applied and pushed those 2
patches.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
From: Stephen Warren <hidden> Date: 2012-09-11 16:27:04
On 09/11/2012 10:08 AM, Samuel Ortiz wrote:
Hi Stephen,
On Tue, Sep 11, 2012 at 09:15:07AM -0600, Stephen Warren wrote:
quoted
On 09/11/2012 04:46 AM, Thierry Reding wrote:
quoted
On Tue, Sep 11, 2012 at 06:25:14PM +0800, Bill Huang wrote:
quoted
Hi all,
Could somebody review this?
Given that I haven't been able to test yet (due to time
constraints) with PM_SLEEP_SMP enabled, I don't want to give you a
Tested-by, but the code looks okay to me, so for both patches:
Reviewed-by: Thierry Reding <redacted>
I have tested this with PM_SLEEP_SMP enabled, and it solved the
problem. I think I already gave my Tested-by, but if not:
Tested-by: Stephen Warren <redacted>
I hope that this gets applied to the MFD tree early enough (i.e.
within the next 2-3 days or so) that I can rely on the binding be
accepted, and hence apply patches to Tegra's device tree to enable
this functionality for 3.7.
Bill, given this was posted about 3 weeks ago, perhaps repost the
series in case Samuel doesn't have it any more, and hence can't apply it.
No need for that. Sorry for the delay, I just applied and pushed those 2
patches.
Great! Thanks.
Do you have "[PATCH V4 REPOST] mfd: add MAX8907 core driver" on your
list too?
From: Samuel Ortiz <hidden> Date: 2012-09-11 18:56:26
On Tue, Sep 11, 2012 at 10:26:55AM -0600, Stephen Warren wrote:
On 09/11/2012 10:08 AM, Samuel Ortiz wrote:
quoted
Hi Stephen,
On Tue, Sep 11, 2012 at 09:15:07AM -0600, Stephen Warren wrote:
quoted
On 09/11/2012 04:46 AM, Thierry Reding wrote:
quoted
On Tue, Sep 11, 2012 at 06:25:14PM +0800, Bill Huang wrote:
quoted
Hi all,
Could somebody review this?
Given that I haven't been able to test yet (due to time
constraints) with PM_SLEEP_SMP enabled, I don't want to give you a
Tested-by, but the code looks okay to me, so for both patches:
Reviewed-by: Thierry Reding <redacted>
I have tested this with PM_SLEEP_SMP enabled, and it solved the
problem. I think I already gave my Tested-by, but if not:
Tested-by: Stephen Warren <redacted>
I hope that this gets applied to the MFD tree early enough (i.e.
within the next 2-3 days or so) that I can rely on the binding be
accepted, and hence apply patches to Tegra's device tree to enable
this functionality for 3.7.
Bill, given this was posted about 3 weeks ago, perhaps repost the
series in case Samuel doesn't have it any more, and hence can't apply it.
No need for that. Sorry for the delay, I just applied and pushed those 2
patches.
Great! Thanks.
Do you have "[PATCH V4 REPOST] mfd: add MAX8907 core driver" on your
list too?
Yes, I'll be chewing my MFD pending patches list in the next days, and this
one is on the list.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/