From patchwork Wed Jun 30 09:55:28 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 108792 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 o5U9tDsF013345 for ; Wed, 30 Jun 2010 09:55:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752972Ab0F3JzS (ORCPT ); Wed, 30 Jun 2010 05:55:18 -0400 Received: from mail.gmx.net ([213.165.64.20]:43733 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752766Ab0F3JzQ (ORCPT ); Wed, 30 Jun 2010 05:55:16 -0400 Received: (qmail invoked by alias); 30 Jun 2010 09:55:14 -0000 Received: from p57BD1FAC.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.31.172] by mail.gmx.net (mp041) with SMTP; 30 Jun 2010 11:55:14 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX18DhDhSyR8DKNK6gmIbcOa+VVhadpkIoFgsSZqzhx 6QU0xQxAmcxU06 Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1OTu0u-000067-CE; Wed, 30 Jun 2010 11:55:28 +0200 Date: Wed, 30 Jun 2010 11:55:28 +0200 (CEST) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: linux-fbdev@vger.kernel.org Subject: [PATCH 1/6] 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]); Wed, 30 Jun 2010 09:55:19 +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;