From patchwork Thu Nov 22 10:35:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 13067 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7094223FC9 for ; Thu, 22 Nov 2012 10:36:17 +0000 (UTC) Received: from mail-ia0-f180.google.com (mail-ia0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 2475CA19705 for ; Thu, 22 Nov 2012 10:36:17 +0000 (UTC) Received: by mail-ia0-f180.google.com with SMTP id t4so3095157iag.11 for ; Thu, 22 Nov 2012 02:36:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:x-gm-message-state; bh=YNiWSEL6JoUGORc52G35ZEqjvXTPaSP7U07w/dFJJQc=; b=kJEFTgWha+LT+79t1qge8LGaMP0iTKgPDilesCS9v21mRETVvtABaZZqFSAgvEqV0x WryOlUZGP+PjDZZUyyFYh6YS4okHa87UMRdcS3giAIdQ+svSgu1IfmuZ4owVn46HdOpi +OnmjacqY3B6xysaJ2shbcVZKUOiTlg42/OCOvnh7y1EepHv4PVOzBM0hRJ3515YJAOM jC/q8ap+k8iUHmnVyvyd0Vu12Jkyrilm0Dps/PivkRYcG1kBlYpfD/w9rNlbp5JsOoUM VmE8atQmDgpRwb298HJMknzUALDU7BoFyzxIty3B9cpMuD6ZJBl9J6bDRXvjUPclWK6z HzjQ== Received: by 10.43.125.133 with SMTP id gs5mr16785icc.54.1353580576889; Thu, 22 Nov 2012 02:36:16 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.67.148 with SMTP id n20csp188379igt; Thu, 22 Nov 2012 02:36:15 -0800 (PST) Received: by 10.14.215.197 with SMTP id e45mr532710eep.0.1353580575456; Thu, 22 Nov 2012 02:36:15 -0800 (PST) Received: from eu1sys200aog113.obsmtp.com (eu1sys200aog113.obsmtp.com [207.126.144.135]) by mx.google.com with SMTP id i42si5589780eem.16.2012.11.22.02.35.58 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 22 Nov 2012 02:36:15 -0800 (PST) Received-SPF: neutral (google.com: 207.126.144.135 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) client-ip=207.126.144.135; Authentication-Results: mx.google.com; spf=neutral (google.com: 207.126.144.135 is neither permitted nor denied by best guess record for domain of ulf.hansson@stericsson.com) smtp.mail=ulf.hansson@stericsson.com Received: from beta.dmz-ap.st.com ([138.198.100.35]) (using TLSv1) by eu1sys200aob113.postini.com ([207.126.147.11]) with SMTP ID DSNKUK4ADa5qS9UiQxQEIjVZsknAhDiaVXLs@postini.com; Thu, 22 Nov 2012 10:36:15 UTC Received: from zeta.dmz-ap.st.com (ns6.st.com [138.198.234.13]) by beta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 30B65F4; Thu, 22 Nov 2012 10:27:41 +0000 (GMT) Received: from relay1.stm.gmessaging.net (unknown [10.230.100.17]) by zeta.dmz-ap.st.com (STMicroelectronics) with ESMTP id 640F2104A; Thu, 22 Nov 2012 10:35:53 +0000 (GMT) Received: from exdcvycastm022.EQ1STM.local (alteon-source-exch [10.230.100.61]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (Client CN "exdcvycastm022", Issuer "exdcvycastm022" (not verified)) by relay1.stm.gmessaging.net (Postfix) with ESMTPS id 4B9F524C336; Thu, 22 Nov 2012 11:35:47 +0100 (CET) Received: from steludxu1397.lud.stericsson.com (10.230.100.153) by smtp.stericsson.com (10.230.100.30) with Microsoft SMTP Server (TLS) id 8.3.83.0; Thu, 22 Nov 2012 11:35:51 +0100 From: Ulf Hansson To: , Mike Turquette , Mike Turquette Cc: Linus Walleij , Lee Jones , Philippe Begnic , Samuel Ortiz , Ulf Hansson , Samuel Ortiz Subject: [PATCH 2/2] mfd: ab8500-core: Add abx500-clk as an mfd child device Date: Thu, 22 Nov 2012 11:35:40 +0100 Message-ID: <1353580540-3774-3-git-send-email-ulf.hansson@stericsson.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1353580540-3774-1-git-send-email-ulf.hansson@stericsson.com> References: <1353580540-3774-1-git-send-email-ulf.hansson@stericsson.com> MIME-Version: 1.0 X-Gm-Message-State: ALoCoQkjrUb0D0b/v7YetmDY3yV5p9N3LI6c3CW8F3X3XXrHQmg4F6PqL4nH20Jd8Lv47mrAe5RQ From: Ulf Hansson Hierarchically, the abx500-clk shall be considered as a child of the ab8500 core. The abx500-clk is intiated at arch init and thus the clks will be available when clients needs them. Cc: Samuel Ortiz Signed-off-by: Ulf Hansson --- drivers/mfd/ab8500-core.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/mfd/ab8500-core.c b/drivers/mfd/ab8500-core.c index 1667c77..b8fe5f6f 100644 --- a/drivers/mfd/ab8500-core.c +++ b/drivers/mfd/ab8500-core.c @@ -984,6 +984,10 @@ static struct mfd_cell __devinitdata abx500_common_devs[] = { .of_compatible = "stericsson,ab8500-regulator", }, { + .name = "abx500-clk", + .of_compatible = "stericsson,abx500-clk", + }, + { .name = "ab8500-gpadc", .of_compatible = "stericsson,ab8500-gpadc", .num_resources = ARRAY_SIZE(ab8500_gpadc_resources),