From patchwork Mon Jan 21 06:29:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prabhakar X-Patchwork-Id: 2009301 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 3BB013FDD2 for ; Mon, 21 Jan 2013 06:35:32 +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 r0L6Vagn029055; Mon, 21 Jan 2013 00:31:36 -0600 Received: from DLEE74.ent.ti.com (dlee74.ent.ti.com [157.170.170.8]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0L6Va4j003359; Mon, 21 Jan 2013 00:31:36 -0600 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DLEE74.ent.ti.com (157.170.170.8) with Microsoft SMTP Server id 14.1.323.3; Mon, 21 Jan 2013 00:31:36 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0L6VZN5005731; Mon, 21 Jan 2013 00:31:35 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id E082480628; Mon, 21 Jan 2013 00:31:35 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 2F9B980626 for ; Mon, 21 Jan 2013 00:31:33 -0600 (CST) Received: from white.ext.ti.com (white.ext.ti.com [192.94.93.38]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id r0L6VWeG028776 for ; Mon, 21 Jan 2013 00:31:32 -0600 (CST) Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by white.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0L6VWFm014534 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 21 Jan 2013 00:31:32 -0600 Received: from [216.82.253.147:14067] by server-13.bemta-7.messagelabs.com id 50/CE-17433-4C0ECF05; Mon, 21 Jan 2013 06:31:32 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-7.tower-165.messagelabs.com!1358749890!15899234!1 X-Originating-IP: [209.85.220.53] X-SpamReason: No, hits=0.0 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, spamassassin: X-StarScan-Received: X-StarScan-Version: 6.6.1.8; banners=-,-,- X-VirusChecked: Checked Received: (qmail 17202 invoked from network); 21 Jan 2013 06:31:31 -0000 Received: from mail-pa0-f53.google.com (HELO mail-pa0-f53.google.com) (209.85.220.53) by server-7.tower-165.messagelabs.com with RC4-SHA encrypted SMTP; 21 Jan 2013 06:31:31 -0000 Received: by mail-pa0-f53.google.com with SMTP id hz1so3194309pad.12 for ; Sun, 20 Jan 2013 22:31:30 -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=g/TtsU8aWo7a2EdELDvWyh8F/S0g5cGH6xGpwm6xX7c=; b=0rFD2/m/erDfcXAyGmN1JLg7qf5HCx3k85KKeUwCmrG150eSMr6tco396NCdRo+6q9 jp8Ot94+RLPgT/UyALIzfgM5NbJSnxmGQYQYjPgR9atwkFHMwwYZe4saOQH4l3hgMY0y iEwoB4hJ+hK/sAP0WRPvR4NOT7jiIuThC4qe4T5RQxz2wXykYaOcTXVGKMIFIx67+KUq AN/Fr+l1al8qb7nukcKCqHH9lxyGj6pbMNO22n/+2C/OaVWiFL/AxVJoerH/ThQJOU0V u041DaxqRyg7EftXALaI8lCg+ghAjbme0FydpI2WqheBrZGrsN7B014QRUX5V2lgeoCo anPA== X-Received: by 10.68.242.41 with SMTP id wn9mr46557308pbc.142.1358749890452; Sun, 20 Jan 2013 22:31:30 -0800 (PST) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id uk9sm8087888pbc.63.2013.01.20.22.31.25 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sun, 20 Jan 2013 22:31:29 -0800 (PST) From: Prabhakar Lad To: LAK , DLOS Subject: [PATCH 2/2] ARM: davinci: da850: add OF_DEV_AUXDATA entry for eth0. Date: Mon, 21 Jan 2013 11:59:19 +0530 Message-ID: <1358749759-20517-3-git-send-email-prabhakar.lad@ti.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1358749759-20517-1-git-send-email-prabhakar.lad@ti.com> References: <1358749759-20517-1-git-send-email-prabhakar.lad@ti.com> CC: , , LKML , 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 eth0 driver in da850 board dt file to use emac 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 | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-davinci/da8xx-dt.c b/arch/arm/mach-davinci/da8xx-dt.c index 37c27af..d548a38 100644 --- a/arch/arm/mach-davinci/da8xx-dt.c +++ b/arch/arm/mach-davinci/da8xx-dt.c @@ -37,11 +37,18 @@ static void __init da8xx_init_irq(void) of_irq_init(da8xx_irq_match); } +struct of_dev_auxdata da850_evm_auxdata_lookup[] __initdata = { + OF_DEV_AUXDATA("ti,davinci-dm6467-emac", 0x01e20000, "davinci_emac.1", + NULL), + {} +}; + #ifdef CONFIG_ARCH_DAVINCI_DA850 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, + da850_evm_auxdata_lookup, NULL); da8xx_uart_clk_enable(); }