From patchwork Sun Aug 11 21:49:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 2842818 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id AE0B49F239 for ; Sun, 11 Aug 2013 21:50:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DD1CE20272 for ; Sun, 11 Aug 2013 21:49:59 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9FEEE20265 for ; Sun, 11 Aug 2013 21:49:58 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V8dWO-0004Vz-7Z; Sun, 11 Aug 2013 21:49:56 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1V8dWL-0001SO-Qd; Sun, 11 Aug 2013 21:49:53 +0000 Received: from mail-lb0-f171.google.com ([209.85.217.171]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1V8dWJ-0001Rj-JB for linux-arm-kernel@lists.infradead.org; Sun, 11 Aug 2013 21:49:52 +0000 Received: by mail-lb0-f171.google.com with SMTP id t13so4406936lbd.30 for ; Sun, 11 Aug 2013 14:49:28 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iOS6Lc9Rw97Wo6dTrLFpIXerZqG7oUQkFs22lKudlUo=; b=UtCMv2PWUxUnFgk8vbsJj8m6pGCJ6eIVuLWqG97Q2Sjp17OKLWFH6Ba8MsuP8ZpP1s Ag8m6qE5WYDCo52YRSuJGd3JPtyVaiuoD9n+I5ViRaytn3DY5imx2nAnja/vHnsEUd1T j3A7UtKTLhPudFDGz8zPhiNnR8OPwd63GBcQRCxVmsV5YcgiuyV079mFDoIv6OkBIn3I RfH3M2G+UpVQUpi0okaw9fpnkeF5X9abS0hBiQ/9qA4QM1KjEixqfLBmNoVIUYZ2lnXn WgiEhfDtQTnfUd0N7dxTlcO/OpKWq4d0aHEcRZP+Jot+sROsszHVbCJDngStPGJXH6qS L+yA== X-Gm-Message-State: ALoCoQmZCh6cXMSNXD9K0rRNXserp8+ZBx+OCJwvf5dEO4j+cIXRTdAziGJnLFj1dfJ5Wgc1F2HP X-Received: by 10.112.200.135 with SMTP id js7mr8480981lbc.12.1376257768815; Sun, 11 Aug 2013 14:49:28 -0700 (PDT) Received: from localhost.localdomain (c83-249-209-185.bredband.comhem.se. [83.249.209.185]) by mx.google.com with ESMTPSA id i9sm10668115laa.3.2013.08.11.14.49.26 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 11 Aug 2013 14:49:27 -0700 (PDT) From: Linus Walleij To: Mike Turquette Subject: [PATCH] clk: ux500: Remove BML8580 clock Date: Sun, 11 Aug 2013 23:49:16 +0200 Message-Id: <1376257756-23575-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.1.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130811_174951_832668_606C6198 X-CRM114-Status: GOOD ( 10.57 ) X-Spam-Score: -2.6 (--) Cc: Ulf Hansson , Lee Jones , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Lee Jones There is no mention of the PRCMU_BML8580CLK in any of the Design Specifications for the chips supported in Mainline. In fact, where it is incorrectly used in the u8540 clock definition driver it would have the side effect of using the incorrect clock management address ([PRCM_BML8580CLK_MGT] 0x108 instead of the correct value 0x04C). Signed-off-by: Lee Jones --- drivers/clk/ux500/u8540_clk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/ux500/u8540_clk.c b/drivers/clk/ux500/u8540_clk.c index f262588..20c8add 100644 --- a/drivers/clk/ux500/u8540_clk.c +++ b/drivers/clk/ux500/u8540_clk.c @@ -83,7 +83,7 @@ void u8540_clk_init(u32 clkrst1_base, u32 clkrst2_base, u32 clkrst3_base, clk_register_clkdev(clk, NULL, "lcd"); clk_register_clkdev(clk, "lcd", "mcde"); - clk = clk_reg_prcmu_opp_gate("bmlclk", NULL, PRCMU_BML8580CLK, + clk = clk_reg_prcmu_opp_gate("bmlclk", NULL, PRCMU_BMLCLK, CLK_IS_ROOT); clk_register_clkdev(clk, NULL, "bml");