Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750894Ab0ALG65 (ORCPT ); Tue, 12 Jan 2010 01:58:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753038Ab0ALG6v (ORCPT ); Tue, 12 Jan 2010 01:58:51 -0500 Received: from ozlabs.org ([203.10.76.45]:45460 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753078Ab0ALG6r (ORCPT ); Tue, 12 Jan 2010 01:58:47 -0500 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [RFC,PATCH 0/7 v2] Common struct clk implementation Message-Id: <1263279511.160127.576969496193.0.gpush@pororo> To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org From: Jeremy Kerr Date: Tue, 12 Jan 2010 17:58:31 +1100 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1406 Lines: 44 Hi all, These patches are an attempt to allow platforms to share clock code. At present, the definitions of struct clk are local to platform code, which makes allocating and initialising cross-platform clock sources difficult. The first two patches are for the architecture-independent kernel code, introducing the common clk API. The remaining patches are specific to the ARM 'versatile' and 'realview' platforms. I've included them in this series to illustrate how the clock API is used, by using a generic interface for the icst307 clock, and sharing it between realview and versatile. Ben Herrenschmidt is looking at using common struct clk code for powerpc too, hence the kernel-wide approach. Comments most welcome. Cheers, Jeremy -- v2: * no longer ARM-specific * use clk_operations --- Jeremy Kerr (7): Add a common struct clk Generic support for fixed-rate clocks arm/versatile: use generic struct clk arm/versatile: remove oscoff from clk_versatile arm/realview: use generic struct clk arm/icst307: use common struct clk, unify realview and versatile clocks arm/icst307: remove icst307_ps_to_vco -- 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/