From patchwork Thu Apr 11 11:24:00 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bastian Hecht X-Patchwork-Id: 2427331 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 D77B53FD40 for ; Thu, 11 Apr 2013 11:24:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752731Ab3DKLYO (ORCPT ); Thu, 11 Apr 2013 07:24:14 -0400 Received: from mail-bk0-f42.google.com ([209.85.214.42]:41175 "EHLO mail-bk0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752436Ab3DKLYO (ORCPT ); Thu, 11 Apr 2013 07:24:14 -0400 Received: by mail-bk0-f42.google.com with SMTP id jc3so765986bkc.1 for ; Thu, 11 Apr 2013 04:24:12 -0700 (PDT) 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=A1E12VqZBXOjyRLXHTnkoW3kFSsFOZyKHcoyUPSktP8=; b=p+kR4dSIX07dUbEyUNjPylcC2H+IVA4JTfYmScW/0SLQKRjPlc/Yax8La/1VlDwT04 cIF05fLGRIq2eNDY8aEfB0d2uy8BqmX3MC3DUzCOaHFEdLccRXKxb+A6JUZqZNL6oEK0 AoaAACFB2aIRW1bW4c6CJMjkeetMF4fnKJh9lKRZVPFydZWXGC/4bmvSTbzaBEHno2p0 buxV9eXCYsx+dmGJObH/abeAfigJJNXjEW2DOPQ7KmATVWx1/1jjB8EFDOSuR1i+TGmd EJdRguoim41rj1CwF7H3fiG2s97fj6JcohN8k+/3shwZpgdJnCHkiNEfX7DhPDlMA/Xg RPNg== X-Received: by 10.204.189.76 with SMTP id dd12mr2309748bkb.80.1365679452743; Thu, 11 Apr 2013 04:24:12 -0700 (PDT) Received: from localhost.localdomain (g229146212.adsl.alicedsl.de. [92.229.146.212]) by mx.google.com with ESMTPS id uo3sm1665914bkb.11.2013.04.11.04.24.11 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 11 Apr 2013 04:24:12 -0700 (PDT) From: Bastian Hecht To: linux-sh@vger.kernel.org Cc: Magnus Damm , Simon Horman , Paul Mundt , Mark Rutland , Sergei Shtylyov , linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 4/7] ARM: shmobile: sh73a0: Add timer DT names to clock list Date: Thu, 11 Apr 2013 13:24:00 +0200 Message-Id: <1365679443-25456-4-git-send-email-hechtb+renesas@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1365679443-25456-1-git-send-email-hechtb+renesas@gmail.com> References: <1365679443-25456-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 --- v4: same. only patches 2 and 3 are changed. arch/arm/mach-shmobile/clock-sh73a0.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/mach-shmobile/clock-sh73a0.c b/arch/arm/mach-shmobile/clock-sh73a0.c index 784fbaa..5d98322 100644 --- a/arch/arm/mach-shmobile/clock-sh73a0.c +++ b/arch/arm/mach-shmobile/clock-sh73a0.c @@ -535,7 +535,9 @@ static struct clk_lookup lookups[] = { CLKDEV_DEV_ID("sh_mobile_ceu.0", &mstp_clks[MSTP127]), /* CEU0 */ CLKDEV_DEV_ID("sh-mobile-csi2.0", &mstp_clks[MSTP126]), /* CSI2-RX0 */ CLKDEV_DEV_ID("sh_tmu.0", &mstp_clks[MSTP125]), /* TMU00 */ + CLKDEV_DEV_ID("fff60008.timer", &mstp_clks[MSTP125]), /* TMU00 */ CLKDEV_DEV_ID("sh_tmu.1", &mstp_clks[MSTP125]), /* TMU01 */ + CLKDEV_DEV_ID("fff60014.timer", &mstp_clks[MSTP125]), /* TMU01 */ CLKDEV_DEV_ID("sh-mipi-dsi.0", &mstp_clks[MSTP118]), /* DSITX */ CLKDEV_DEV_ID("i2c-sh_mobile.0", &mstp_clks[MSTP116]), /* I2C0 */ CLKDEV_DEV_ID("e6820000.i2c", &mstp_clks[MSTP116]), /* I2C0 */ @@ -552,6 +554,7 @@ static struct clk_lookup lookups[] = { CLKDEV_DEV_ID("sh-sci.4", &mstp_clks[MSTP200]), /* SCIFA4 */ CLKDEV_DEV_ID("sh-sci.6", &mstp_clks[MSTP331]), /* SCIFA6 */ CLKDEV_DEV_ID("sh_cmt.10", &mstp_clks[MSTP329]), /* CMT10 */ + CLKDEV_DEV_ID("e6138010.timer", &mstp_clks[MSTP329]), /* CMT10 */ CLKDEV_DEV_ID("sh_fsi2", &mstp_clks[MSTP328]), /* FSI */ CLKDEV_DEV_ID("sh_irda.0", &mstp_clks[MSTP325]), /* IrDA */ CLKDEV_DEV_ID("i2c-sh_mobile.1", &mstp_clks[MSTP323]), /* I2C1 */