[PATCH 1/1] Group and resource assignments for TWL4030

2009-03-13 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/mfd/twl4030-power.c | 96 ++- include/linux/i2c/twl4030.h | 41 ++- 2 files changed, 135 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 1/1] Group and resource assignments for TWL4030

2009-03-13 Thread David Brownell
On Friday 13 March 2009, Peter 'p2' De Schrijver wrote:  struct twl4030_power_data { struct twl4030_script **scripts; -   unsigned size; +   unsigned scripts_size; And that little bit breaks builds ... since the various bits of code that initialize a twl4030_power_data have

[PATCH 1/1] Group and resource assignments for TWL4030 (v3)

2009-03-13 Thread David Brownell
From: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com Subject: Group and resource assignments for TWL4030 Introduce support for board specific group assignments of TWL4030 power resources. The resource type and type2 fields can also be specified. Most such power resources are regulators;

Re: [PATCH 1/1] Group and resource assignments for TWL4030

2009-03-03 Thread David Brownell
On Tuesday 10 February 2009, Peter 'p2' De Schrijver wrote: +struct twl4030_resconfig { +   int resource; +   int devgroup; +   int type; +   int type2; +}; + Make all those u8 ... save 28 * 3 * 4 == 336 bytes on a system that configures all 28 resources. ;) -- To

[PATCH 1/1] Group and resource assignments for TWL4030

2009-02-10 Thread Peter 'p2' De Schrijver
Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/mfd/twl4030-power.c | 95 ++- include/linux/i2c/twl4030.h | 41 ++- 2 files changed, 134 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 1/1] Group and resource assignments for TWL4030

2009-02-10 Thread Felipe Balbi
On Tue, Feb 10, 2009 at 02:11:35PM +0100, Peter 'p2' De Schrijver wrote: Signed-off-by: Peter 'p2' De Schrijver peter.de-schrij...@nokia.com --- drivers/mfd/twl4030-power.c | 95 ++- include/linux/i2c/twl4030.h | 41 ++- 2 files