From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755497AbcETPNz (ORCPT ); Fri, 20 May 2016 11:13:55 -0400 Received: from lists.s-osg.org ([54.187.51.154]:42847 "EHLO lists.s-osg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751517AbcETPNx (ORCPT ); Fri, 20 May 2016 11:13:53 -0400 Subject: Re: [PATCH] ARM: dts: exynos: Remove unneded always-on for regulators on Peach boards To: Krzysztof Kozlowski , linux-kernel@vger.kernel.org References: <1463694753-7259-1-git-send-email-javier@osg.samsung.com> <573EDEF2.8020903@samsung.com> Cc: devicetree@vger.kernel.org, Kukjin Kim , Kumar Gala , Ian Campbell , linux-samsung-soc@vger.kernel.org, Rob Herring , Mark Rutland , Russell King , linux-arm-kernel@lists.infradead.org From: Javier Martinez Canillas Message-ID: <66cd7fed-c281-0645-0a60-5e1300419642@osg.samsung.com> Date: Fri, 20 May 2016 11:13:41 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <573EDEF2.8020903@samsung.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Krzysztof, Thanks a lot for the feedback. On 05/20/2016 05:54 AM, Krzysztof Kozlowski wrote: > On 05/19/2016 11:52 PM, Javier Martinez Canillas wrote: >> The regulator always-on property should only be used for regulators >> that either can't be disabled or the drivers for the client devices >> are not enabling the regulator and so being disabled due to unused. >> >> There are some max77802 regulators in the Peach Pit and Pi boards >> that are always-on but shouldn't since they are enabled by drivers: >> >> BUCK5 is max77802 inl1 supply >> BUCK7 is max77802 inl{2,10} supply >> BUCK9 is max77802 inl{3,4,5,7} supply >> BUCK10 is mmc1 vqmmc supply >> LDO9 is adc vdd supply >> >> This patch removes the always-on property for these regulators. >> >> Some regulators should remain always-on even when they are used as >> input supplies, because these regulators are also used by other >> components that are not described in the DT, for example: >> >> LDO10 is hdmi vdd_osc supply but it's also used as input supply for >> the Exynos5420 temperature sensor. > > I don't have the schematics, so just guessing: by temperature sensor do > you mean the tmu_cpu* node (supplying power to VDD_TS01/23/4)? > Yes, I meant that the LDO10 regulator supplies 1v8 to VDD18_TS{01,23,4}. > If yes then you can also change it, like on Odroid XU boards. > Indeed, I think that should be a separate patch though. I'll do it next week since I don't have access to the machine today to test. >> >> LDO8 is hdmi vdd and vdd_pll supply but it's also used as supply for >> the Exynos5420 Display port. >> >> BUCK2 and BUCK6 are the vdd supplies for the EAGLE and KFC clusters. >> >> Signed-off-by: Javier Martinez Canillas >> --- >> >> arch/arm/boot/dts/exynos5420-peach-pit.dts | 5 ----- >> arch/arm/boot/dts/exynos5800-peach-pi.dts | 5 ----- >> 2 files changed, 10 deletions(-) > > Anyway, > > Reviewed-by: Krzysztof Kozlowski > Thanks! > Best regards, > Krzysztof > -- Best regards, -- Javier Martinez Canillas Open Source Group Samsung Research America