From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753425Ab2DATWw (ORCPT ); Sun, 1 Apr 2012 15:22:52 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:60401 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752935Ab2DATWv convert rfc822-to-8bit (ORCPT ); Sun, 1 Apr 2012 15:22:51 -0400 MIME-Version: 1.0 In-Reply-To: <1333306720-28344-1-git-send-email-broonie@opensource.wolfsonmicro.com> References: <1333306720-28344-1-git-send-email-broonie@opensource.wolfsonmicro.com> Date: Sun, 1 Apr 2012 21:22:50 +0200 Message-ID: Subject: Re: [PATCH/RFC v2] ARM: amba: Remove AMBA level regulator support From: Linus Walleij To: Mark Brown Cc: Russell King , Grant Likely , Samuel Ortiz , linux-arm-kernel@lists.infradead.org, spi-devel-general@lists.sourceforge.net, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 1, 2012 at 8:58 PM, Mark Brown wrote: > diff --git a/drivers/mfd/db8500-prcmu.c b/drivers/mfd/db8500-prcmu.c > index ebc1e86..5be3248 100644 > --- a/drivers/mfd/db8500-prcmu.c > +++ b/drivers/mfd/db8500-prcmu.c > @@ -2788,6 +2788,7 @@ static struct regulator_init_data db8500_regulators[DB8500_NUM_REGULATORS] = { >                .constraints = { >                        .name = "db8500-vape", >                        .valid_ops_mask = REGULATOR_CHANGE_STATUS, > +                       .always_on = true, >                }, >                .consumer_supplies = db8500_vape_consumers, >                .num_consumer_supplies = ARRAY_SIZE(db8500_vape_consumers), Combined with the PL022 patch this causes a power regression since the PL022 is hereafter always on. But I guess if I fix a power domain patch to accomplish much the same things then nothing is really lost... And I do like the change, if for nothing else so for the fact that it eventually pushes to power domains what belongs there, so: Acked-by: Linus Walleij But to the defence: power domain code was not in the kernel when the AMBA "vcore" regulator was introduced so how else could we do it... except for inventing power domains... Yours, Linus Walleij