From patchwork Fri Oct 18 11:43:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 3065921 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 0ED7C9F243 for ; Fri, 18 Oct 2013 11:44:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08B4F20425 for ; Fri, 18 Oct 2013 11:44:46 +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 A80EC20421 for ; Fri, 18 Oct 2013 11:44:44 +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 1VX8Tr-0006AC-Hm; Fri, 18 Oct 2013 11:44:35 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VX8Tp-0000AE-57; Fri, 18 Oct 2013 11:44:33 +0000 Received: from mail-wg0-f42.google.com ([74.125.82.42]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VX8Tl-00009t-Tr for linux-arm-kernel@lists.infradead.org; Fri, 18 Oct 2013 11:44:30 +0000 Received: by mail-wg0-f42.google.com with SMTP id n12so1954236wgh.3 for ; Fri, 18 Oct 2013 04:44:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=PirmrzP+a/ZysX1+erwaIS28N+mjLGOfr6THovGEUe0=; b=QCKVELgmApKjVduSE1lXhpV8sqtYe15NqYgcxGoJGIvL2P8euO8/EM9k5s0zWoOoAv dYqvY0LFDyDk+nj7S6bAITzcUJ6r7QlNiyw8IvM4C4lnN94rhqQ8Nl8T6qK7mu09nCwW TiXhmHmH7TRBgYmnTrkaRG4DO/Z3ctMR//ueQC9CGL1zmxrX9qRA1n8ileIdwsvXvrGB kV+La71cXb1Pioz6Q5tpFl8cMgALew9sBrdfcahALLWQxXdYZ5b0F6s+QcysGv/i3STL 7jshcXr9w9gN3UFXpKg/4VOhDS0fXIVNJ/frhJ1YK1oKktvJP8FhedyM320oqcHlvNW1 MWXA== X-Gm-Message-State: ALoCoQn/519jaGlO0LYn/FudOwYH3DFSSVulbhn2TIGr+Xrfao2hlSDAftAzQWp9pWSNHJXneKiQ X-Received: by 10.194.94.167 with SMTP id dd7mr1431588wjb.43.1382096645603; Fri, 18 Oct 2013 04:44:05 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id lr3sm24924855wic.5.2013.10.18.04.44.04 for (version=TLSv1.2 cipher=AES128-GCM-SHA256 bits=128/128); Fri, 18 Oct 2013 04:44:04 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Lee Jones Subject: [PATCH 4/5 v2] ARM: ux500: fix I2C4 clock bit Date: Fri, 18 Oct 2013 13:43:50 +0200 Message-Id: <1382096630-23640-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.8.3.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131018_074430_074872_A2669A7A X-CRM114-Status: GOOD ( 10.93 ) X-Spam-Score: -2.6 (--) Cc: devicetree@vger.kernel.org, Linus Walleij 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=-4.6 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 The PCLK for I2C4 is controlled by bit 10 in the PCKEN registers while the KCLK is controlled by bit 9 on the KCKEN, it's one of these odd assymetric things. Correct the PCLK bit to 10. Cc: Lee Jones Signed-off-by: Linus Walleij Acked-by: Lee Jones --- ChangeLog v1->v2: - Actually do what the commit says and update the PCLK to bit 10 instead of screwing with the KCLK. The KCLK was right all the time. --- arch/arm/boot/dts/ste-dbx5x0.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ste-dbx5x0.dtsi b/arch/arm/boot/dts/ste-dbx5x0.dtsi index 705bd0d..7da99fe 100644 --- a/arch/arm/boot/dts/ste-dbx5x0.dtsi +++ b/arch/arm/boot/dts/ste-dbx5x0.dtsi @@ -694,7 +694,7 @@ clock-frequency = <400000>; - clocks = <&prcc_kclk 1 9>, <&prcc_pclk 1 9>; + clocks = <&prcc_kclk 1 9>, <&prcc_pclk 1 10>; clock-names = "i2cclk", "apb_pclk"; };