From patchwork Wed Jul 21 10:13:06 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 113324 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 o6LACuI9024311 for ; Wed, 21 Jul 2010 10:12:56 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751220Ab0GUKMz (ORCPT ); Wed, 21 Jul 2010 06:12:55 -0400 Received: from mail.gmx.net ([213.165.64.20]:52464 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1750855Ab0GUKMz (ORCPT ); Wed, 21 Jul 2010 06:12:55 -0400 Received: (qmail invoked by alias); 21 Jul 2010 10:12:53 -0000 Received: from p57BD031A.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.3.26] by mail.gmx.net (mp069) with SMTP; 21 Jul 2010 12:12:53 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX18b0spLCNYbyhvNrtzv/QOnoDMzm4M5l01nr8TF6h SuongK8z9248TW Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1ObWIU-00008S-9n; Wed, 21 Jul 2010 12:13:06 +0200 Date: Wed, 21 Jul 2010 12:13:06 +0200 (CEST) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" cc: Magnus Damm , linux-fbdev@vger.kernel.org Subject: [PATCH 1/6 v3] 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, 21 Jul 2010 10:12:56 +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;