[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-24 Thread Mark Brown
On Wed, Apr 23, 2014 at 10:25:46PM +0200, Carlo Caione wrote: I'm having a really hard time with this problem, so any hint is welcome :) The small modification I'm using on top of the patches in this series is here: http://bpaste.net/show/228330/ Unfortunately as I said I got this when

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-24 Thread Charles Keepax
On Thu, Apr 24, 2014 at 02:30:36PM +0100, Mark Brown wrote: On Wed, Apr 23, 2014 at 10:25:46PM +0200, Carlo Caione wrote: I'm having a really hard time with this problem, so any hint is welcome :) The small modification I'm using on top of the patches in this series is here:

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-24 Thread Charles Keepax
On Thu, Apr 24, 2014 at 05:35:23PM +0100, Charles Keepax wrote: On Thu, Apr 24, 2014 at 02:30:36PM +0100, Mark Brown wrote: On Wed, Apr 23, 2014 at 10:25:46PM +0200, Carlo Caione wrote: I'm having a really hard time with this problem, so any hint is welcome :) The small modification

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-24 Thread Mark Brown
On Thu, Apr 24, 2014 at 05:58:47PM +0100, Charles Keepax wrote: Ah ok seems I am getting an error but for some reason for me it shows up looking very unrelated to the supply mapping. In that it shows up much later in the log and doesn't seem to mention the MFD at all: If you look at the

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-23 Thread Carlo Caione
On Fri, Apr 18, 2014 at 04:15:51PM +0100, Mark Brown wrote: On Thu, Apr 17, 2014 at 12:06:34PM +0200, Carlo Caione wrote: I'm fighting with a small issue when using the regulator_bulk_register_supply_alias(). Problem is that when using the .parent_supplies entry in the MFD driver, I hit

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-18 Thread Mark Brown
On Thu, Apr 17, 2014 at 12:06:34PM +0200, Carlo Caione wrote: I'm fighting with a small issue when using the regulator_bulk_register_supply_alias(). Problem is that when using the .parent_supplies entry in the MFD driver, I hit the WARN_ON(!list_empty(dev-devres_head)); in

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-17 Thread Carlo Caione
On Fri, Apr 11, 2014 at 6:18 PM, Mark Brown broo...@kernel.org wrote: On Fri, Apr 11, 2014 at 03:04:32PM +0200, Carlo Caione wrote: On Fri, Apr 11, 2014 at 2:29 PM, Mark Brown broo...@kernel.org wrote: + regulators { +

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-14 Thread Maxime Ripard
Hi Carlo, On Fri, Apr 11, 2014 at 11:38:11AM +0200, Carlo Caione wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Carlo Caione ca...@caione.org --- In all the DTs the min and max microvolt allowed for each regulator are actually the min and max voltage possible for

Re: [linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-14 Thread Hans de Goede
Hi, On 04/14/2014 12:02 PM, Carlo Caione wrote: On Mon, Apr 14, 2014 at 11:52 AM, Maxime Ripard maxime.rip...@free-electrons.com wrote: Hi Carlo, Hi Maxime, On Fri, Apr 11, 2014 at 11:38:11AM +0200, Carlo Caione wrote: Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by:

Re: [linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-14 Thread Mark Brown
On Mon, Apr 14, 2014 at 12:20:32PM +0200, Hans de Goede wrote: Please fix your mailer to word wrap at less than 80 columns. As Mark has also mentioned we should probably pin the regulators to a certain voltage, except for those which we expect to be controlled by a driver, so basically all of

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-11 Thread Mark Brown
On Fri, Apr 11, 2014 at 11:38:11AM +0200, Carlo Caione wrote: In all the DTs the min and max microvolt allowed for each regulator are actually the min and max voltage possible for the regulator itself. This is not safe but we do not have the ranges allowed for each board and the original

[linux-sunxi] Re: [PATCH v4 7/9] ARM: sun7i/sun4i: dt: Add AXP209 support to various boards

2014-04-11 Thread Mark Brown
On Fri, Apr 11, 2014 at 03:04:32PM +0200, Carlo Caione wrote: On Fri, Apr 11, 2014 at 2:29 PM, Mark Brown broo...@kernel.org wrote: + regulators { + compatible = x-powers,axp20x-reg; This compatible isn't part of the driver.