From patchwork Tue Jan 16 16:35:37 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 861754 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=linux-i2c-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 3zLbSY5Gghz9s7M for ; Wed, 17 Jan 2018 03:35:57 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751598AbeAPQfz (ORCPT ); Tue, 16 Jan 2018 11:35:55 -0500 Received: from mail.free-electrons.com ([62.4.15.54]:57593 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750764AbeAPQfz (ORCPT ); Tue, 16 Jan 2018 11:35:55 -0500 Received: by mail.free-electrons.com (Postfix, from userid 110) id 0F57C208D3; Tue, 16 Jan 2018 17:35:53 +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 localhost (242.171.71.37.rev.sfr.net [37.71.171.242]) by mail.free-electrons.com (Postfix) with ESMTPSA id DC5E1208B3; Tue, 16 Jan 2018 17:35:42 +0100 (CET) From: Gregory CLEMENT To: Wolfram Sang , linux-i2c@vger.kernel.org Cc: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT , Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Antoine Tenart , =?utf-8?q?Miqu=C3=A8l_Raynal?= , Nadav Haklai , Shadi Ammouri , Omri Itach , Hanna Hawa , Igal Liberman , Marcin Wojtas Subject: [PATCH v4 0/3] i2c: mv64xxx: Fix clock resource for Armada 7K/8K Date: Tue, 16 Jan 2018 17:35:37 +0100 Message-Id: <20180116163540.1092-1-gregory.clement@free-electrons.com> X-Mailer: git-send-email 2.15.1 Sender: linux-i2c-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-i2c@vger.kernel.org Hi, This short series fixes the way the clocks are used for the mv64xxx controller embedded in the Marvell Armada 7K/8K SoCs. On these SoCs a second one is needed in order to clock the registers. It was not noticed until now because we relied on the bootloader and also because the clock driver was wrong. Thanks to this fix, it would be possible to fix the clock driver without introducing a regression. The first patch is just a small cleanup found when I wrote the main patch. The last patch is not related to the series but as Wolfram to have a maintainer for this driver I added the patch here. Thanks, Gregory Changelog: v1 -> v2: - Really add the binding documentation in the second patch, noticed by Thomas Petazzoni. v2 -> v3: - Fix typo in binding documentation reported by Thomas Petazzoni - Use correct name for the axi clock, reported by Thomas Petazzoni v2 -> v4: - Use "reg" instead of "axi" as requested by Maxime Ripard - Reformulate the binding documentation, requested by Maxime Ripard - Add a maintainer for the i2c-mv64xxx driver, requested by Woflram Sang Gregory CLEMENT (3): i2c: mv64xxx: Remove useless test before clk_disable_unprepare i2c: mv64xxx: Fix clock resource by adding an optional bus clock i2c: mv64xxx: Add myslef as maintainer for this driver .../devicetree/bindings/i2c/i2c-mv64xxx.txt | 20 ++++++++++++++++++++ MAINTAINERS | 6 ++++++ drivers/i2c/busses/i2c-mv64xxx.c | 20 +++++++++++++------- 3 files changed, 39 insertions(+), 7 deletions(-)