From patchwork Thu Oct 11 22:05:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 1584381 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 9EFE4DFABE for ; Thu, 11 Oct 2012 22:08:05 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TMQtF-0004j8-Tp; Thu, 11 Oct 2012 22:06:02 +0000 Received: from mail-lb0-f177.google.com ([209.85.217.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TMQtC-0004iV-Mz for linux-arm-kernel@lists.infradead.org; Thu, 11 Oct 2012 22:05:59 +0000 Received: by mail-lb0-f177.google.com with SMTP id gi11so1589264lbb.36 for ; Thu, 11 Oct 2012 15:05:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=OUWNnHBOHv81bQtSvtEkM/0tNFIEgF4b762/ozPf2ag=; b=FP2E2/HZMoy6qzum8ejKMz5CVOw7ek7Mm+IXYLPCdp6cdZ6+fsU4wTQfc9L0ErMgP7 d6ZekG4uKni0usQ54lzVW6OC1sQJqI4ysbOJ19FphJiZQtjvF1Ki0RCUk0Vz5Mdf14Z2 eZcUNll5C9cQvo0HjpzA+iBIcc/bD4uDKd7sZ4LdjxkGpGZMjV9BTyZiI7iqt7bw3yJi /riNAJS7JWtSljX/x8GBDab9l4rV9vh7jaa6vi0mZRO4JST9HzVSdAVexkX9OemXmyY1 5IoJ2scb05g1D8c5n+8+z4Y3kyPEKWSelMxkSd9IXsJWgFzJRCG3VA/fp7xXghWEOFnA llzg== Received: by 10.112.24.39 with SMTP id r7mr710107lbf.130.1349993156669; Thu, 11 Oct 2012 15:05:56 -0700 (PDT) Received: from localhost.localdomain ([90.149.223.57]) by mx.google.com with ESMTPS id m6sm21903lbh.10.2012.10.11.15.05.55 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 11 Oct 2012 15:05:55 -0700 (PDT) From: Joachim Eastwood To: nicolas.ferre@atmel.com Subject: [PATCH 2/4] ARM: AT91: Add usart/tc DT clock lookup to AT91RM9200 Date: Fri, 12 Oct 2012 00:05:24 +0200 Message-Id: <1349993126-9519-2-git-send-email-manabian@gmail.com> X-Mailer: git-send-email 1.7.12.2 In-Reply-To: <1349993126-9519-1-git-send-email-manabian@gmail.com> References: <1349993126-9519-1-git-send-email-manabian@gmail.com> X-Spam-Note: CRM114 invocation failed 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.217.177 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (manabian[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: Joachim Eastwood , plagnioj@jcrosoft.com, linux-arm-kernel@lists.infradead.org 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 Signed-off-by: Joachim Eastwood --- arch/arm/mach-at91/at91rm9200.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/mach-at91/at91rm9200.c b/arch/arm/mach-at91/at91rm9200.c index b4f0565..eef3f53 100644 --- a/arch/arm/mach-at91/at91rm9200.c +++ b/arch/arm/mach-at91/at91rm9200.c @@ -188,6 +188,19 @@ static struct clk_lookup periph_clocks_lookups[] = { CLKDEV_CON_DEV_ID("pclk", "ssc.1", &ssc1_clk), CLKDEV_CON_DEV_ID("pclk", "ssc.2", &ssc2_clk), CLKDEV_CON_DEV_ID(NULL, "i2c-at91rm9200", &twi_clk), + /* usart lookup table for DT entries */ + CLKDEV_CON_DEV_ID("usart", "fffff200.serial", &mck), + CLKDEV_CON_DEV_ID("usart", "fffc0000.serial", &usart0_clk), + CLKDEV_CON_DEV_ID("usart", "fffc4000.serial", &usart1_clk), + CLKDEV_CON_DEV_ID("usart", "fffc8000.serial", &usart2_clk), + CLKDEV_CON_DEV_ID("usart", "fffcc000.serial", &usart3_clk), + /* tc lookup table for DT entries */ + CLKDEV_CON_DEV_ID("t0_clk", "fffa0000.timer", &tc0_clk), + CLKDEV_CON_DEV_ID("t1_clk", "fffa0000.timer", &tc1_clk), + CLKDEV_CON_DEV_ID("t2_clk", "fffa0000.timer", &tc2_clk), + CLKDEV_CON_DEV_ID("t0_clk", "fffa4000.timer", &tc3_clk), + CLKDEV_CON_DEV_ID("t1_clk", "fffa4000.timer", &tc4_clk), + CLKDEV_CON_DEV_ID("t2_clk", "fffa4000.timer", &tc5_clk), /* fake hclk clock */ CLKDEV_CON_DEV_ID("hclk", "at91_ohci", &ohci_clk), CLKDEV_CON_ID("pioA", &pioA_clk),