From patchwork Mon Jan 28 13:47:56 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2056101 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by patchwork1.kernel.org (Postfix) with ESMTP id 89EA93FD49 for ; Mon, 28 Jan 2013 13:53:44 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0SDneCD003459; Mon, 28 Jan 2013 07:49:40 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0SDnemR014610; Mon, 28 Jan 2013 07:49:40 -0600 Received: from dlelxv23.itg.ti.com (172.17.1.198) by dfle73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.1.323.3; Mon, 28 Jan 2013 07:49:40 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0SDneX8022418; Mon, 28 Jan 2013 07:49:40 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 412748062F; Mon, 28 Jan 2013 07:49:40 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id A21A880627 for ; Mon, 28 Jan 2013 07:48:54 -0600 (CST) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflp52.itg.ti.com (8.13.7/8.13.8) with ESMTP id r0SDmsKj025193 for ; Mon, 28 Jan 2013 07:48:54 -0600 (CST) Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0SDmsBC031783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 28 Jan 2013 07:48:54 -0600 Received: from [216.82.253.147:45284] by server-8.bemta-7.messagelabs.com id 8C/77-31814-6C186015; Mon, 28 Jan 2013 13:48:54 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-7.tower-165.messagelabs.com!1359380931!11002159!1 X-Originating-IP: [209.85.160.42] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.7; banners=-,-,- X-VirusChecked: Checked Received: (qmail 28469 invoked from network); 28 Jan 2013 13:48:53 -0000 Received: from mail-pb0-f42.google.com (HELO mail-pb0-f42.google.com) (209.85.160.42) by server-7.tower-165.messagelabs.com with RC4-SHA encrypted SMTP; 28 Jan 2013 13:48:53 -0000 Received: by mail-pb0-f42.google.com with SMTP id wz17so241722pbc.29 for ; Mon, 28 Jan 2013 05:48:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=I4Zty9tdRkcdrOBRARXXVPNmX4d67IuzKI0H03Gdp44=; b=MmZa4Wypvxgfgk579/SITykmOYaL2a/4DTTGhbLEdAYGQmcECkesBrYZCyvFNhzyso qP4izrufWfRXx4xSr0XJiB7+CuFdAQOqtbyVyG1rtsRfkK5lvP+mk4Vrr9ZRwmSrdnzb omceTsDWIsGEAqBzOUzaUrtECh5gTpYJIS43veMt+ZKrnJfnaURfcX9R9TrgOIyGXOuC 641rcKgaHEkkEhDm7n7upJkjyoOWPhzt4Rhb6vOHAuOdCa2PKPqBLn6qXRAR2lXgQcn1 VBYMi2ULuoo5XgdlmNKcnxn/OeZTfly4b/TYrBjHSSDbG4wVurBVp4u1V8gREQ55A4m+ qVRg== X-Received: by 10.66.74.2 with SMTP id p2mr36260347pav.55.1359380931320; Mon, 28 Jan 2013 05:48:51 -0800 (PST) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id nm2sm6355934pbc.43.2013.01.28.05.48.47 (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 28 Jan 2013 05:48:50 -0800 (PST) From: Prabhakar Lad To: Sekhar Nori , , Subject: [PATCH v2 3/6] ARM: davinci: da850: add OF_DEV_AUXDATA entry for mdio. Date: Mon, 28 Jan 2013 19:17:56 +0530 Message-ID: <1359380879-26306-4-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1359380879-26306-1-git-send-email-prabhakar.lad@ti.com> References: <1359380879-26306-1-git-send-email-prabhakar.lad@ti.com> CC: , , Heiko Schocher , X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com From: Lad, Prabhakar Add OF_DEV_AUXDATA for mdio driver in da850 board dt file to use mdio clock. Signed-off-by: Lad, Prabhakar Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org Cc: davinci-linux-open-source@linux.davincidsp.com Cc: netdev@vger.kernel.org Cc: devicetree-discuss@lists.ozlabs.org Cc: Sekhar Nori Cc: Heiko Schocher --- arch/arm/mach-davinci/da8xx-dt.c | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index 37c27af..bd00042 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c @@ -39,9 +39,15 @@ static void __init da8xx_init_irq(void) #ifdef CONFIG_ARCH_DAVINCI_DA850 +struct of_dev_auxdata da8xx_auxdata[] __initdata = { + OF_DEV_AUXDATA("ti,davinci_mdio", 0x01e24000, "davinci_mdio.0", NULL), + {}, +}; + static void __init da850_init_machine(void) { - of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); + of_platform_populate(NULL, of_default_bus_match_table, + da8xx_auxdata, NULL); da8xx_uart_clk_enable(); }