Received: by 10.223.164.221 with SMTP id h29csp3231102wrb; Fri, 3 Nov 2017 04:00:44 -0700 (PDT) X-Google-Smtp-Source: ABhQp+T76kk0qdc8DHcoOSkBpC4NYEHLcc/X7iIP0UPPs7zHsugowoW0QeA9JAixCn/Q6QHtBpY4 X-Received: by 10.99.175.80 with SMTP id s16mr6718782pgo.161.1509706844421; Fri, 03 Nov 2017 04:00:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509706844; cv=none; d=google.com; s=arc-20160816; b=0oQp6811OeHxLvFMPa4r9OoZkZVd3NI1molWIijVnkr0iVQbyFZCDfHygqk1itX4ZU EZ7nAeTxdiSikoUFn/XYIhysjptvcTNMIcJso6iwTgP8rtl5CzaQnFgeIVC8K2sN/EGy 3WL4IGS4vXQLbEs/zmqo80ozFtSh4vmqdsTV3xcaZgydekaO0GUKjkpt57hUwoCFTI96 zi9y2IhL0elSq0Fc8kZa1RXEJULgxFA21KgbUnGMsUgcR/u/buzofNdIWMVlX/YgOCqu 8jjWX8cb+3ZMm/nysX7FFzasvdXHuUdpNXYnAZ0lfQzPDyGIhHaBlyKqxlCK0SKrjUF8 EYGg== 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=3VypNXaeZzeZOo6R4PcWVNwCsXry8ivQUrXWfmUULxI=; b=SwmCj6JlYbotGMiOPy5iuUDlwdYPengyNzuT0hdLJfH1HeHxHUcUvjlQXok2TEtRrA t/qmRJZYH39XA08X0hClWD8ZcZqLbkc9VXIKPXztsxjSBddG+Eedt/rpmvpdjp+xxurh tzRsodOhKy8gR04ga4WyDO0jUlHdOCS8seTS7skol1lEDo4xwAKyICXG2wmUJhf0VGo7 GkkueA8fOZNRpm8FHXdgPhVLNBqnGJp3jsmXoWRp70z//ye41svo2XpbxwFJfyF05rtB a/tztSd3U7o7zY3U7oaydjGP6K7O2lT1v/Z8eH86x1PwpO7eT6MrNva2gqiLn6Sqr2Mp qd/g== 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 q17si5739359pgt.617.2017.11.03.04.00.30; Fri, 03 Nov 2017 04:00:44 -0700 (PDT) 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 S933114AbdKCK6R (ORCPT + 97 others); Fri, 3 Nov 2017 06:58:17 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:57758 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752719AbdKCK6O (ORCPT ); Fri, 3 Nov 2017 06:58:14 -0400 Received: by mail.free-electrons.com (Postfix, from userid 110) id E8CD2207C5; Fri, 3 Nov 2017 11:58:12 +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, URIBL_BLOCKED shortcircuit=ham autolearn=disabled version=3.4.0 Received: from dell-desktop.lan (LStLambert-657-1-97-87.w90-63.abo.wanadoo.fr [90.63.216.87]) by mail.free-electrons.com (Postfix) with ESMTPSA id AB654207AF; Fri, 3 Nov 2017 11:58:12 +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] clk: sunxi-ng: a83t: Fix i2c buses bits Date: Fri, 3 Nov 2017 11:57:47 +0100 Message-Id: <20171103105747.26335-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. 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 1584042737606736231@xxx Tue Nov 14 12:01:14 +0000 2017 X-GM-THRID: 1584042737606736231 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread