From patchwork Tue Jan 30 14:19:46 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory CLEMENT X-Patchwork-Id: 10191883 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 0E1C460383 for ; Tue, 30 Jan 2018 14:20:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EF378289ED for ; Tue, 30 Jan 2018 14:20:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E3646289F7; Tue, 30 Jan 2018 14:20:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 78E762897D for ; Tue, 30 Jan 2018 14:20:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=t9vJ6RV9gL7qSDeEq81Hoaat0/FuB9TjfBK6LUFVB10=; b=sK4 7lgD1tEK4+qIOjwc6lmki3Dwj442qKiQCt8+fuoQPYKTa7yj7wxKUtH+DGcyH1HSC4Tt8KTcdw+MI jJIxod2h9k7u2vSgbEL+mQ0xrCGy3dlrKf28ObwnaPRSCX939R0nOJLAPfilX9/QHk9DhlOqtE+Uv RrbPgGNnPKXXhptdC6FpqbBA70hzrOUsCaiAa66Vip5JMeP1z13uPh/jm+1lV8o3BMykaf2c2Iu+8 1tJqsZ9Q5K1DkFet+GzOFS8C3XJmzKB+pPFPE7c67/pRmFK8lxGQXvHxApbrup/FehSzSSJYfPPuX C14t95az3DzYseuN7b8a7Zlycmu8KAg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egWlz-0004F9-JC; Tue, 30 Jan 2018 14:20:31 +0000 Received: from mail.free-electrons.com ([62.4.15.54]) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1egWlw-0004Er-5h for linux-arm-kernel@lists.infradead.org; Tue, 30 Jan 2018 14:20:29 +0000 Received: by mail.free-electrons.com (Postfix, from userid 110) id D454E219FA; Tue, 30 Jan 2018 15:20:16 +0100 (CET) Received: from localhost (unknown [37.71.171.242]) by mail.free-electrons.com (Postfix) with ESMTPSA id A6B04219DA; Tue, 30 Jan 2018 15:20:06 +0100 (CET) From: Gregory CLEMENT To: Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory CLEMENT Subject: [PATCH v2] ARM64: dts: marvell: armada-cp110: Add registers clock for I2C nodes Date: Tue, 30 Jan 2018 15:19:46 +0100 Message-Id: <20180130141946.18890-1-gregory.clement@free-electrons.com> X-Mailer: git-send-email 2.15.1 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni , Antoine Tenart , Omri Itach , Nadav Haklai , Shadi Ammouri , Igal Liberman , =?UTF-8?q?Miqu=C3=A8l=20Raynal?= , Marcin Wojtas , Hanna Hawa , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This extra clock is needed to access the registers of the I2C controller used on the Armada 7K/8K SoCs. This follows the changes already made in the binding documentation (as well as in the driver) in: commit 1534156e999735fe0befad958e1447600c0c20e7 ("i2c: mv64xxx: Fix clock resource by adding an optional bus clock") Signed-off-by: Gregory CLEMENT --- Changelog: v1 -> v2 Add comment about the commit modifying the driver in the commit log arch/arm64/boot/dts/marvell/armada-cp110.dtsi | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi index 0ab921861a2f..c57bf6661622 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi @@ -280,7 +280,9 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&CP110_LABEL(clk) 1 21>; + clock-names = "core", "reg"; + clocks = <&CP110_LABEL(clk) 1 21>, + <&CP110_LABEL(clk) 1 17>; status = "disabled"; }; @@ -290,7 +292,9 @@ #address-cells = <1>; #size-cells = <0>; interrupts = ; - clocks = <&CP110_LABEL(clk) 1 21>; + clock-names = "core", "reg"; + clocks = <&CP110_LABEL(clk) 1 21>, + <&CP110_LABEL(clk) 1 17>; status = "disabled"; };