From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Boyd Subject: Re: [PATCH v3 4/5] regulator: qcom: Rework to single platform device Date: Mon, 06 Apr 2015 16:40:31 -0700 Message-ID: <5523196F.9070504@codeaurora.org> References: <1428363240-2027-1-git-send-email-bjorn.andersson@sonymobile.com> <1428363240-2027-5-git-send-email-bjorn.andersson@sonymobile.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.codeaurora.org ([198.145.29.96]:59071 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751421AbbDFXkd (ORCPT ); Mon, 6 Apr 2015 19:40:33 -0400 In-Reply-To: <1428363240-2027-5-git-send-email-bjorn.andersson@sonymobile.com> Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: Bjorn Andersson , Liam Girdwood , Mark Brown Cc: Andy Gross , Srinivas Kandagatla , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org On 04/06/15 16:33, Bjorn Andersson wrote: > Modeling the individual RPM resources as platform devices consumes at > least 12-15kb of RAM, just to hold the platform_device structs. Rework > this to instead have one device per pmic exposed by the RPM. > > With this representation we can more accurately define the input pins on > the pmic and have the supply description match the data sheet. > > Suggested-by: Stephen Boyd > Signed-off-by: Bjorn Andersson > --- Reviewed-by: Stephen Boyd -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project