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: 21114 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f200.google.com (mail-ob0-f200.google.com [209.85.214.200]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id CAD10246F1 for ; Fri, 18 Oct 2013 11:44:08 +0000 (UTC) Received: by mail-ob0-f200.google.com with SMTP id uy5sf4863109obc.3 for ; Fri, 18 Oct 2013 04:44:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=mime-version:x-gm-message-state:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=PirmrzP+a/ZysX1+erwaIS28N+mjLGOfr6THovGEUe0=; b=cJsYfK2p97n9RrJbad/Fw/HFKc+AFmz9yfXTqygOKJYTD/FrvIelY4YCvuSkiS3x5Q ZbfXAGjHwk37hIQS4jfQCfU0CMJ2urBXcsMtVq8XeEyP+G1p10rtPYe57Woe2KhbMzX3 aOPjRHnPZFPbkI08pkqhga5r3RqXZfwnh33iDVVNmlv8fE5Y7z+vTvEF0jvGJ4DrFjNe vGGw23w8o/FZFFarnApSx4b8G/f+7roaEgdPz/dTxkupstKGRXQPSOB9l8jRbPUi/NOQ nJ4TwraxG+nkOPPtHoftTmrKJSyUPe06zVnGtkEsiz/ds79izgULyqVhIFeNrBMERYBP 5xSQ== X-Received: by 10.182.186.105 with SMTP id fj9mr933195obc.5.1382096647841; Fri, 18 Oct 2013 04:44:07 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.96.9 with SMTP id do9ls1249818qeb.80.gmail; Fri, 18 Oct 2013 04:44:07 -0700 (PDT) X-Received: by 10.220.92.8 with SMTP id p8mr1029810vcm.20.1382096647712; Fri, 18 Oct 2013 04:44:07 -0700 (PDT) Received: from mail-vb0-f48.google.com (mail-vb0-f48.google.com [209.85.212.48]) by mx.google.com with ESMTPS id m3si225340vdw.62.2013.10.18.04.44.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 04:44:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.48 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.48; Received: by mail-vb0-f48.google.com with SMTP id w8so1053199vbf.21 for ; Fri, 18 Oct 2013 04:44:07 -0700 (PDT) X-Gm-Message-State: ALoCoQnIfcRmMisNCT1PopdBteiDq3xYg1FS1npryrJFU9Yxu6EVctOUwMrEWVGV7JUEQg1/bYBf X-Received: by 10.58.136.231 with SMTP id qd7mr1673806veb.1.1382096647439; Fri, 18 Oct 2013 04:44:07 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp28916vcz; Fri, 18 Oct 2013 04:44:06 -0700 (PDT) X-Received: by 10.180.72.148 with SMTP id d20mr2064467wiv.21.1382096646158; Fri, 18 Oct 2013 04:44:06 -0700 (PDT) Received: from mail-we0-f181.google.com (mail-we0-f181.google.com [74.125.82.181]) by mx.google.com with ESMTPS id ao10si417103wjc.18.2013.10.18.04.44.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Oct 2013 04:44:06 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.181 is neither permitted nor denied by best guess record for domain of linus.walleij@linaro.org) client-ip=74.125.82.181; Received: by mail-we0-f181.google.com with SMTP id t60so3573537wes.40 for ; Fri, 18 Oct 2013 04:44:05 -0700 (PDT) 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 Cc: devicetree@vger.kernel.org, Linus Walleij 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-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.48 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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 --- 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"; };