From patchwork Thu Jul 8 14:12:52 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 110861 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o68ECc6g018908 for ; Thu, 8 Jul 2010 14:12:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753807Ab0GHOMi (ORCPT ); Thu, 8 Jul 2010 10:12:38 -0400 Received: from mail.gmx.net ([213.165.64.20]:40950 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1754475Ab0GHOMh (ORCPT ); Thu, 8 Jul 2010 10:12:37 -0400 Received: (qmail invoked by alias); 08 Jul 2010 14:12:35 -0000 Received: from p57BD0C76.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.12.118] by mail.gmx.net (mp047) with SMTP; 08 Jul 2010 16:12:35 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX19LQpEmDj1LaoeZqI6Qp/wslB+Sl0ka99MUs23xVe zz1Q8YshCTwCfJ Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1OWrqO-0001ww-TB; Thu, 08 Jul 2010 16:12:52 +0200 Date: Thu, 8 Jul 2010 16:12:52 +0200 (CEST) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: Magnus Damm , linux-fbdev@vger.kernel.org Subject: [PATCH 1/6 v2] sh: add a list of parent configurations to struct clk In-Reply-To: Message-ID: References: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Thu, 08 Jul 2010 14:12:40 +0000 (UTC) diff --git a/include/linux/sh_clk.h b/include/linux/sh_clk.h index 1636d1e..08a07b9 100644 --- a/include/linux/sh_clk.h +++ b/include/linux/sh_clk.h @@ -25,6 +25,10 @@ struct clk { int id; struct clk *parent; + struct clk **parent_table; /* list of parents to */ + unsigned short parent_num; /* choose between */ + unsigned char src_shift; /* source clock field in the */ + unsigned char src_width; /* configuration register */ struct clk_ops *ops; struct list_head children;