From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefano Babic Date: Wed, 17 Apr 2013 10:48:43 +0200 Subject: [U-Boot] [PATCH 3/3] mx6sl: Add initial support for mx6slevk board In-Reply-To: References: <1365209739-5586-1-git-send-email-festevam@gmail.com> <1365209739-5586-3-git-send-email-festevam@gmail.com> <515FCE52.3070605@gmail.com> <51602891.9060406@gmail.com> <51604DAC.9010600@gmail.com> Message-ID: <516E61EB.1000504@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 06/04/2013 18:40, Fabio Estevam wrote: > Hi Dirk, > > On Sat, Apr 6, 2013 at 1:30 PM, Dirk Behme wrote: > >> ... but saving power over the whole (kernel) runtime. I might be wrong, but >> to my understanding the kernel doesn't *disable* unneeded clocks? >> >> So it's up to the bootloader to enable only the peripherals (clocks) really >> needed for booting. And then it's up to the kernel's driver init functions >> to enable the needed clocks for the subsystem once it's needed. >> >> But as I won't use this board I won't care about the power consumption here. >> If you think it's fine for the use cases of this board to enable all clocks >> by default, then this shouldn't stop applying this patch. > Hi Fabio, > Ok, understood. I will go through each one of the CCM registers and > check what clocks can be turned off. > > This may take some time though as it needs proper testing. > > I suggest that we keep the current clock settings as is, so that the > board support can reach U-boot, then later I can submit a patch for > turning off the unneeded clocks. Ok, let's do in this way - I agree that U-boot should only turn on the clocks that it requires and do not touch the rest. But let's start pushing this into u-boot-imx and then we can trim this setup. Best regards, Stefano -- ===================================================================== DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================