From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Subject: Re: [PATCH 1/3] mmc:core: parse voltage from device-tree Date: Mon, 29 Jul 2013 17:07:18 -0500 Message-ID: <1375135638.30721.58@snotra> References: <1375066595-14968-1-git-send-email-Haijun.Zhang@freescale.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Content-Transfer-Encoding: 8BIT Return-path: Received: from ch1ehsobe002.messaging.microsoft.com ([216.32.181.182]:9727 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750983Ab3G2WHX convert rfc822-to-8bit (ORCPT ); Mon, 29 Jul 2013 18:07:23 -0400 In-Reply-To: <1375066595-14968-1-git-send-email-Haijun.Zhang@freescale.com> (from Haijun.Zhang@freescale.com on Sun Jul 28 21:56:33 2013) Content-Disposition: inline Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org Cc: linux-mmc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, cbouatmailru@gmail.com, cjb@laptop.org, AFLEMING@freescale.com, Haijun Zhang On 07/28/2013 09:56:33 PM, Haijun Zhang wrote: > Add function to support get voltage from device-tree. > If there are voltage-range specified in device-tree node, this > function > will parse it and return the avail voltage mask. > > Signed-off-by: Haijun Zhang > --- > drivers/mmc/core/core.c | 48 > ++++++++++++++++++++++++++++++++++++++++++++++++ > include/linux/mmc/core.h | 1 + > 2 files changed, 49 insertions(+) Move the code rather than copying it. -Scott From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe006.messaging.microsoft.com [216.32.181.186]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "mail.global.frontbridge.com", Issuer "MSIT Machine Auth CA 2" (not verified)) by ozlabs.org (Postfix) with ESMTPS id 940A92C00FE for ; Tue, 30 Jul 2013 08:07:27 +1000 (EST) Date: Mon, 29 Jul 2013 17:07:18 -0500 From: Scott Wood Subject: Re: [PATCH 1/3] mmc:core: parse voltage from device-tree To: Haijun Zhang References: <1375066595-14968-1-git-send-email-Haijun.Zhang@freescale.com> In-Reply-To: <1375066595-14968-1-git-send-email-Haijun.Zhang@freescale.com> (from Haijun.Zhang@freescale.com on Sun Jul 28 21:56:33 2013) Message-ID: <1375135638.30721.58@snotra> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; delsp=Yes; format=Flowed Cc: linux-mmc@vger.kernel.org, AFLEMING@freescale.com, cbouatmailru@gmail.com, cjb@laptop.org, linuxppc-dev@lists.ozlabs.org, Haijun Zhang List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 07/28/2013 09:56:33 PM, Haijun Zhang wrote: > Add function to support get voltage from device-tree. > If there are voltage-range specified in device-tree node, this =20 > function > will parse it and return the avail voltage mask. >=20 > Signed-off-by: Haijun Zhang > --- > drivers/mmc/core/core.c | 48 =20 > ++++++++++++++++++++++++++++++++++++++++++++++++ > include/linux/mmc/core.h | 1 + > 2 files changed, 49 insertions(+) Move the code rather than copying it. -Scott=