Re: [PATCH 2/3] mfd: twl4030-power: Start transition to DT

2013-06-18 Thread Florian Vaussard
Hello, On 06/18/2013 02:02 AM, Samuel Ortiz wrote: Hi Florian, On Thu, May 30, 2013 at 03:51:55PM +0200, Florian Vaussard wrote: int twl4030_power_probe(struct platform_device *pdev) { struct twl4030_power_data *pdata = pdev-dev.platform_data; + struct device_node *node =

Re: [PATCH 2/3] mfd: twl4030-power: Start transition to DT

2013-06-17 Thread Samuel Ortiz
Hi Florian, On Thu, May 30, 2013 at 03:51:55PM +0200, Florian Vaussard wrote: int twl4030_power_probe(struct platform_device *pdev) { struct twl4030_power_data *pdata = pdev-dev.platform_data; + struct device_node *node = pdev-dev.of_node; int err = 0; - int i; -

[PATCH 2/3] mfd: twl4030-power: Start transition to DT

2013-05-30 Thread Florian Vaussard
Support for loading twl4030-power module via devicetree. For now, when booting with a DT, only the poweroff callback feature is supported through the ti,use_poweroff property. Signed-off-by: Florian Vaussard florian.vauss...@epfl.ch --- .../devicetree/bindings/mfd/twl4030-power.txt | 28