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: 2055991 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 1C9CE3FD49 for ; Mon, 28 Jan 2013 13:51:39 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Tzp5R-0004rx-4p; Mon, 28 Jan 2013 13:49:25 +0000 Received: from mail-pa0-f44.google.com ([209.85.220.44]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Tzp4u-0004iF-7i for linux-arm-kernel@lists.infradead.org; Mon, 28 Jan 2013 13:48:54 +0000 Received: by mail-pa0-f44.google.com with SMTP id hz11so1537044pad.17 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 , linux-arm-kernel@lists.infradead.org, davinci-linux-open-source@linux.davincidsp.com 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130128_084852_418691_A5C4477A X-CRM114-Status: GOOD ( 11.78 ) 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.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.44 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (prabhakar.csengg[at]gmail.com) -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, Heiko Schocher , linux-kernel@vger.kernel.org, "Lad, Prabhakar" 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 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(); }