Received: by 10.223.164.200 with SMTP id h8csp314161wrb; Sun, 5 Nov 2017 08:53:12 -0800 (PST) X-Google-Smtp-Source: ABhQp+QkMnT4DkWLgAIUDsmh9Esjbf3J5oDZ2NpIJUJJqCFfbwLobJFpdSlCOyDC3fP5gcsJsb0j X-Received: by 10.84.201.6 with SMTP id u6mr3314411pld.28.1509900792656; Sun, 05 Nov 2017 08:53:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509900792; cv=none; d=google.com; s=arc-20160816; b=RXV9uUMC2VzfeVC6wqvbzy+6LAlcS409g+mxdOWw7ybDPHScoL6RiUN3VHWL/9LylC CDLieNDE3yW5zbpJyush2DBnckdLQ9C4e8G/KPLnhHMIJH8VY/sWnmUZerFPT8dwVzkX tulcZ6cuACdFkzowmuNNZj+ePsiQGxeEu8TrCmritsIsbEegjdY4i2sq4R/g7ueB9Mnf 0nAvEpL9QDi0rDGieKSjIyqbPQJSe+/pXJhesu0IRS8IdU2kCTdbk8Z13M9Hj0BMOT0Q kGCBozgI9k97x19R9BC/C/xWt0G0eY1P9dhuhuaGab6tvuaujsKL0wUVdYLsPia0L1n0 yRig== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:arc-authentication-results; bh=umd6VJ10R1NiRQtV3JUEepkGhLc4ukBqb2TYvl6OTLc=; b=eQHp1Cd+9fD4DLjnzFpe7EMkg+A11nnnbn4JTB9W7lvsPJWNoB/tU04x/SO+pG4U47 9j/4XG4yAmn0sJSOqEC78B5cbYVlp1wlPfSI7XpwLBcRJyP7Vnj/rUwCtuubLDy+wXUq fUOypDS380cxSJheshCps3XDgf72b231FJPBz30vGpj65TMJBpm/bg1yElc0HvA8+PgM KhSEweXU0LXDSm4anOtO4/2sY33a/+LREVQzIsD/X/DNuEtR4rmuBY74TPAlUG7EmhoR JbkLvAUilPIt7kAAcfEdF29VevEKm+NTzwwU1EE7YJN5Z8/yUh28Ywjp/W2ge7sQjSu/ s2Og== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b6si9868667pgs.396.2017.11.05.08.52.59; Sun, 05 Nov 2017 08:53:12 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751839AbdKEQwX (ORCPT + 96 others); Sun, 5 Nov 2017 11:52:23 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:33359 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750731AbdKEQwU (ORCPT ); Sun, 5 Nov 2017 11:52:20 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 00DE1206E2; Sun, 5 Nov 2017 17:52:18 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.free-electrons.com X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED,SHORTCIRCUIT shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.home (vol75-h03-176-137-37-244.dsl.sta.abo.bbox.fr [176.137.37.244]) by mail.free-electrons.com (Postfix) with ESMTPSA id 7A73E20388; Sun, 5 Nov 2017 17:52:08 +0100 (CET) From: =?UTF-8?q?Myl=C3=A8ne=20Josserand?= To: maxime.ripard@free-electrons.com, wens@csie.org, mturquette@baylibre.com, sboyd@codeaurora.org Cc: mylene.josserand@free-electrons.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH RESEND] clk: sunxi-ng: a83t: Fix i2c buses bits Date: Sun, 5 Nov 2017 17:51:34 +0100 Message-Id: <20171105165134.5199-1-mylene.josserand@free-electrons.com> X-Mailer: git-send-email 2.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org i2c1 and i2c2 bits for CCU are not bit 0 but bit 1 and bit 2. Because of that, the i2c0 (bit 0) was not correctly configured. Fixed the correct bits for i2c1 and i2c2. Fixes: 05359be1176b ("clk: sunxi-ng: Add driver for A83T CCU") Signed-off-by: Mylène Josserand --- drivers/clk/sunxi-ng/ccu-sun8i-a83t.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c b/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c index e43acebdfbcd..f8203115a6bc 100644 --- a/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c +++ b/drivers/clk/sunxi-ng/ccu-sun8i-a83t.c @@ -354,9 +354,9 @@ static SUNXI_CCU_GATE(bus_tdm_clk, "bus-tdm", "apb1", static SUNXI_CCU_GATE(bus_i2c0_clk, "bus-i2c0", "apb2", 0x06c, BIT(0), 0); static SUNXI_CCU_GATE(bus_i2c1_clk, "bus-i2c1", "apb2", - 0x06c, BIT(0), 0); + 0x06c, BIT(1), 0); static SUNXI_CCU_GATE(bus_i2c2_clk, "bus-i2c2", "apb2", - 0x06c, BIT(0), 0); + 0x06c, BIT(2), 0); static SUNXI_CCU_GATE(bus_uart0_clk, "bus-uart0", "apb2", 0x06c, BIT(16), 0); static SUNXI_CCU_GATE(bus_uart1_clk, "bus-uart1", "apb2", -- 2.11.0 From 1583244899486780136@xxx Sun Nov 05 16:39:57 +0000 2017 X-GM-THRID: 1583042364346109440 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread