From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752739AbbCFHSm (ORCPT ); Fri, 6 Mar 2015 02:18:42 -0500 Received: from mail-bl2on0135.outbound.protection.outlook.com ([65.55.169.135]:20023 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752046AbbCFHSl (ORCPT ); Fri, 6 Mar 2015 02:18:41 -0500 Date: Fri, 6 Mar 2015 15:18:24 +0800 From: Peter Chen To: Mark Brown CC: , , Subject: Re: parent/child hierarchy for regulator Message-ID: <20150306071823.GC12879@shlinux2> References: <20150305103534.GA19600@shlinux2> <20150305122234.GL21293@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20150305122234.GL21293@sirena.org.uk> User-Agent: Mutt/1.5.21 (2010-09-15) X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=peter.chen@freescale.com; gmail.com; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;BMV:0;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(189002)(164054003)(199003)(24454002)(51704005)(6806004)(33716001)(87936001)(110136001)(2950100001)(83506001)(85426001)(33656002)(92566002)(47776003)(104016003)(77096005)(54356999)(76176999)(106466001)(50986999)(97756001)(50466002)(105606002)(62966003)(23726002)(46406003)(86362001)(77156002)(46102003);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR03MB1425;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1425; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5001007)(5005006);SRVR:BLUPR03MB1425;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB1425; X-Forefront-PRVS: 05079D8470 X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Mar 2015 07:18:38.5724 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.158.2] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB1425 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 05, 2015 at 12:22:34PM +0000, Mark Brown wrote: > On Thu, Mar 05, 2015 at 06:35:36PM +0800, Peter Chen wrote: > > > Any good ways at code/dts to show parent/child hierarchy for regulator? > > There's plenty of examples in mainline... > Thanks, I get answer for adding parent regulator for fixed regulator, it is very easy, we only need to add 'vin-supply = <&parent_reg>;' at fixed's property. -- Best Regards, Peter Chen