From patchwork Wed Mar 6 11:30:36 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Hecht X-Patchwork-Id: 2224761 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 213A33FCF6 for ; Wed, 6 Mar 2013 11:30:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757137Ab3CFLap (ORCPT ); Wed, 6 Mar 2013 06:30:45 -0500 Received: from mail-ee0-f48.google.com ([74.125.83.48]:42452 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756900Ab3CFLap (ORCPT ); Wed, 6 Mar 2013 06:30:45 -0500 Received: by mail-ee0-f48.google.com with SMTP id t10so5646776eei.21 for ; Wed, 06 Mar 2013 03:30:44 -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=c+4OuEAggSc4rieboXoKi059LF6kyDElk5oD7M6tOqc=; b=ywF6pMQ1NUwwPS8SsvhQGHQLv+/jfNoy8ijrmsqD1RFagJlaStqZypyg1b57AibkSn ZrOc3Lj0gUbBY71lQzdC/QrTPxuYXaPS6K7z+6p1/JHf9xjvyL+dcIaK7GAtPaZktQ3O fk2xY0Ty0j7z6jlV3RB8b9FOr4D46ipzjTClw0yBxUOfwjujsOfGZOzHnKykoh0NVSqJ RxLoq1DGpKzrq2OZs6d3tr38gEHbaD9G6iWSxmGqqpDbvj39EYWt4IAPI83ON71Oyeba 6hktH3E011zCnYRDpAhhmdPXcG9rT70B8piUH0k9AxNWKJERuHGE0QJtwr8n1TP84zqG EnUA== X-Received: by 10.14.223.69 with SMTP id u45mr80865580eep.23.1362569444211; Wed, 06 Mar 2013 03:30:44 -0800 (PST) Received: from localhost.localdomain (p4FD2500B.dip.t-dialin.net. [79.210.80.11]) by mx.google.com with ESMTPS id u44sm41940111eel.7.2013.03.06.03.30.42 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Mar 2013 03:30:43 -0800 (PST) From: Bastian Hecht To: linux-sh@vger.kernel.org Cc: Paul Mundt , Magnus Damm , Arnd Bergmann , Simon Horman , linux-arm-kernel@lists.infradead.org Subject: [PATCH v6 2/3] ARM: mach-shmobile: r8a7740: Add DT names to clock list Date: Wed, 6 Mar 2013 12:30:36 +0100 Message-Id: <1362569437-11133-2-git-send-email-hechtb+renesas@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1362569437-11133-1-git-send-email-hechtb+renesas@gmail.com> References: <1362569437-11133-1-git-send-email-hechtb+renesas@gmail.com> Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org This adds temporarily the alternative device names to the clock list that are used when booting via Device Tree setup. Signed-off-by: Bastian Hecht --- arch/arm/mach-shmobile/clock-r8a7740.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c index 71fc400..b9d6312 100644 --- a/arch/arm/mach-shmobile/clock-r8a7740.c +++ b/arch/arm/mach-shmobile/clock-r8a7740.c @@ -593,18 +593,27 @@ static struct clk_lookup lookups[] = { CLKDEV_DEV_ID("sh_mobile_ceu.1", &mstp_clks[MSTP128]), CLKDEV_DEV_ID("sh-sci.4", &mstp_clks[MSTP200]), + CLKDEV_DEV_ID("e6c80000.serial", &mstp_clks[MSTP200]), CLKDEV_DEV_ID("sh-sci.3", &mstp_clks[MSTP201]), + CLKDEV_DEV_ID("e6c70000.serial", &mstp_clks[MSTP201]), CLKDEV_DEV_ID("sh-sci.2", &mstp_clks[MSTP202]), + CLKDEV_DEV_ID("e6c60000.serial", &mstp_clks[MSTP202]), CLKDEV_DEV_ID("sh-sci.1", &mstp_clks[MSTP203]), + CLKDEV_DEV_ID("e6c50000.serial", &mstp_clks[MSTP203]), CLKDEV_DEV_ID("sh-sci.0", &mstp_clks[MSTP204]), + CLKDEV_DEV_ID("e6c40000.serial", &mstp_clks[MSTP204]), CLKDEV_DEV_ID("sh-sci.8", &mstp_clks[MSTP206]), + CLKDEV_DEV_ID("e6c30000.serial", &mstp_clks[MSTP206]), CLKDEV_DEV_ID("sh-sci.5", &mstp_clks[MSTP207]), + CLKDEV_DEV_ID("e6cb0000.serial", &mstp_clks[MSTP207]), CLKDEV_DEV_ID("sh-dma-engine.3", &mstp_clks[MSTP214]), CLKDEV_DEV_ID("sh-dma-engine.2", &mstp_clks[MSTP216]), CLKDEV_DEV_ID("sh-dma-engine.1", &mstp_clks[MSTP217]), CLKDEV_DEV_ID("sh-dma-engine.0", &mstp_clks[MSTP218]), CLKDEV_DEV_ID("sh-sci.7", &mstp_clks[MSTP222]), + CLKDEV_DEV_ID("e6cd0000.serial", &mstp_clks[MSTP222]), CLKDEV_DEV_ID("sh-sci.6", &mstp_clks[MSTP230]), + CLKDEV_DEV_ID("e6cc0000.serial", &mstp_clks[MSTP230]), CLKDEV_DEV_ID("sh_cmt.10", &mstp_clks[MSTP329]), CLKDEV_DEV_ID("sh_fsi2", &mstp_clks[MSTP328]),