Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754157Ab3JDTfy (ORCPT ); Fri, 4 Oct 2013 15:35:54 -0400 Received: from mail-pb0-f47.google.com ([209.85.160.47]:35919 "EHLO mail-pb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752213Ab3JDTfw convert rfc822-to-8bit (ORCPT ); Fri, 4 Oct 2013 15:35:52 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT To: Mark Brown , Laxman Dewangan From: Mike Turquette In-Reply-To: <20131004164139.GR27287@sirena.org.uk> Cc: mark.rutland@arm.com, devicetree@vger.kernel.org, pawel.moll@arm.com, ijc+devicetree@hellion.org.uk, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, rob.herring@calxeda.com, rob@landley.net, grant.likely@linaro.org, linux-arm-kernel@lists.infradead.org References: <1380803407-15196-1-git-send-email-ldewangan@nvidia.com> <20131004164139.GR27287@sirena.org.uk> Message-ID: <20131004193545.4343.15596@quantum> User-Agent: alot/0.3.4 Subject: Re: [PATCH] clk: palmas: add clock driver for palmas Date: Fri, 04 Oct 2013 12:35:45 -0700 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 755 Lines: 20 Quoting Mark Brown (2013-10-04 09:41:39) > On Thu, Oct 03, 2013 at 06:00:07PM +0530, Laxman Dewangan wrote: > > > + Optional subnode properties: > > + ti,clock-boot-enable: Enable clock at the time of booting. > > Shouldn't this be a generic clock subsystem thing? It seems like > something that might be desired for nearly any clock. The best solution is to have a driver claim the clock with clk_get and enable it with clk_prepare_enable. I gave more detail in my reply to Laxman. Regards, Mike -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/