From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753247AbcCZGTm (ORCPT ); Sat, 26 Mar 2016 02:19:42 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35427 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751519AbcCZGTl (ORCPT ); Sat, 26 Mar 2016 02:19:41 -0400 Subject: Re: [PATCH] regulator: twl: Enable regulators over the powerbus as well To: Mark Brown , Sebastian Reichel References: <20160325111757.GC2566@sirena.org.uk> <20160325150259.GA9372@earth> <20160325155419.GI2566@sirena.org.uk> <56F562B7.10107@gmail.com> <20160325161954.GA5028@sirena.org.uk> <56F56C4A.7070502@gmail.com> <20160325170558.GB5028@sirena.org.uk> <56F573E5.6030408@gmail.com> <20160325182017.GE5028@sirena.org.uk> <20160325201911.GA25471@earth> <20160325222818.GF5028@sirena.org.uk> Cc: tony@atomide.com, lgirdwood@gmail.com, linux-omap@vger.kernel.org, linux-kernel@vger.kernel.org From: Ivaylo Dimitrov Message-ID: <56F629CB.9070102@gmail.com> Date: Sat, 26 Mar 2016 08:18:51 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: <20160325222818.GF5028@sirena.org.uk> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 26.03.2016 00:28, Mark Brown wrote: > On Fri, Mar 25, 2016 at 09:19:12PM +0100, Sebastian Reichel wrote: >> On Fri, Mar 25, 2016 at 06:20:17PM +0000, Mark Brown wrote: > >>> Then there is a constraint that the regulators must be in normal mode >>> and this needs to be expressed in the machine constraints. > >> As in adding "regulator-initial-mode = ;" to >> the regulator's DT node (and providing an of_map_mode method in the >> twl-regulator driver)? > > Yes, that sounds like a sensible way to do it. > Ok, going to send the relevant patches.