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: "Lad, Prabhakar" X-Patchwork-Id: 2009321 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id 463C33FDD2 for ; Mon, 21 Jan 2013 06:36:11 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TxAv7-0001EE-TH; Mon, 21 Jan 2013 06:31:49 +0000 Received: from mail-da0-f46.google.com ([209.85.210.46]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TxAup-0001CA-VT for linux-arm-kernel@lists.infradead.org; Mon, 21 Jan 2013 06:31:37 +0000 Received: by mail-da0-f46.google.com with SMTP id p5so2553623dak.33 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130121_013132_191569_9839AC3A X-CRM114-Status: GOOD ( 11.95 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (prabhakar.csengg[at]gmail.com) -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.210.46 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: netdev@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, Sekhar Nori , LKML , "Lad, Prabhakar" , Heiko Schocher X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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(); }