linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: gregory.clement@bootlin.com (Gregory CLEMENT)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/6] ARM64: dts: marvell: armada-cp110: Add registers clock for XOR engine nodes
Date: Wed, 14 Mar 2018 17:19:24 +0100	[thread overview]
Message-ID: <20180314161928.7239-3-gregory.clement@bootlin.com> (raw)
In-Reply-To: <20180314161928.7239-1-gregory.clement@bootlin.com>

This extra clock is needed to access the registers of the XOR engine
controller used on CP110 component of the Armada 7K/8K SoCs.

This follow the changes already made in the binding documentation (as
well as in the driver): "dmaengine: mv_xor_v2: Fix clock resource by
adding a register clock"

Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
---
 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 c35368d2a4cd..a51c553b5120 100644
--- a/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
+++ b/arch/arm64/boot/dts/marvell/armada-cp110.dtsi
@@ -244,7 +244,9 @@
 			reg = <0x6a0000 0x1000>, <0x6b0000 0x1000>;
 			dma-coherent;
 			msi-parent = <&gic_v2m0>;
-			clocks = <&CP110_LABEL(clk) 1 8>;
+			clock-names = "core", "reg";
+			clocks = <&CP110_LABEL(clk) 1 8>,
+				 <&CP110_LABEL(clk) 1 14>;
 		};
 
 		CP110_LABEL(xor1): xor at 6c0000 {
@@ -252,7 +254,9 @@
 			reg = <0x6c0000 0x1000>, <0x6d0000 0x1000>;
 			dma-coherent;
 			msi-parent = <&gic_v2m0>;
-			clocks = <&CP110_LABEL(clk) 1 7>;
+			clock-names = "core", "reg";
+			clocks = <&CP110_LABEL(clk) 1 7>,
+				 <&CP110_LABEL(clk) 1 14>;
 		};
 
 		CP110_LABEL(spi0): spi at 700600 {
-- 
2.16.1

  parent reply	other threads:[~2018-03-14 16:19 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 16:19 [PATCH 0/6] Add the registers clock for most of the peripherals Gregory CLEMENT
2018-03-14 16:19 ` [PATCH 1/6] ARM64: dts: marvell: armada-cp110: Add registers clock for USB host nodes Gregory CLEMENT
2018-03-14 16:19 ` Gregory CLEMENT [this message]
2018-03-14 16:19 ` [PATCH 3/6] ARM64: dts: marvell: armada-cp110: Add registers clock for the trng node Gregory CLEMENT
2018-03-14 16:19 ` [PATCH 4/6] ARM64: dts: marvell: armada-cp110: Add registers clock for the crypto node Gregory CLEMENT
2018-03-14 16:19 ` [PATCH 5/6] ARM64: dts: marvell: armada-cp110: Add registers clock for the NAND node Gregory CLEMENT
2018-03-14 16:19 ` [PATCH 6/6] ARM64: dts: marvell: armada-cp110: Add registers clock for the PCIe nodes Gregory CLEMENT
2018-03-14 16:22 ` [PATCH 0/6] Add the registers clock for most of the peripherals Gregory CLEMENT
2018-03-19 16:16 ` Gregory CLEMENT

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180314161928.7239-3-gregory.clement@bootlin.com \
    --to=gregory.clement@bootlin.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).