From patchwork Tue Sep 6 17:41:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Wojtas X-Patchwork-Id: 9317739 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 E6BAF601C0 for ; Tue, 6 Sep 2016 17:35:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E36AC28E2C for ; Tue, 6 Sep 2016 17:35:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D7FB828E2E; Tue, 6 Sep 2016 17:35:39 +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.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id EF84928E2C for ; Tue, 6 Sep 2016 17:35:37 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhKGG-0007nx-9z; Tue, 06 Sep 2016 17:34:16 +0000 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bhKFs-0007bw-Ch for linux-arm-kernel@lists.infradead.org; Tue, 06 Sep 2016 17:33:53 +0000 Received: by mail-lf0-x22d.google.com with SMTP id g62so151566673lfe.3 for ; Tue, 06 Sep 2016 10:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=ttnlvHrByIAuQMrt7fNdPBLlCtYT2cPUdvR8z2pkFsE=; b=zSjlSWkNmuNXEBXvwCUrn5n7ZPDfHSxVlIQM0YK2DNcannfKonTzF1Vh3rcyVTG+eP ylMtbOHBFh7BJAai3PIp4AKRyvikLi0xxNi350pTZ3Mt1MW75UIyLweUn7Lm3xERAv6P zLKqWqltxuiyU5Tj6LJAhOetrCZOMlFh8UIF3JKJHzaAhrRHHo+cRqbA+sDHG9bxyqYX BwP/S4VSw+e4eOBr0Ybv2b6ePDXmN8/vNPXA8mAGgwX3prPPWajsd78GtkrQf+4g97Ku e405bRn1T8xtBwqtFOoZabFbjp6YnAmwsWaKoNh+6qlRpQju/TuVj29XH2QjXesArHA5 PJGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ttnlvHrByIAuQMrt7fNdPBLlCtYT2cPUdvR8z2pkFsE=; b=FAv1pMkhUsjcNRcD/r0+erDz1NMYPgep4RpFEz0kzJVW8sweTKjjhepq0NKbzd/z2U mzWtN9a//FIqoLMvRisI/5MZbnq/OejZNnAHqlO9WH+Ic7pQ/zZCUc7OGPrvOyVoPAIk STumZrZuO2LBytuBMjjLidfK5DP0tuCnytx/QRqzCLLuWj52hyvvvFSI/1vd1Udi6/0f 6L/A8on2+D6KwK7Xe07kmJZBr4Smu5/G2sPgaAyHXvPkFQK76MYWZJ8R4HFhjBj7p4iW TycGeJAVPHbsWtmdVHtgseHWQLyIdCpgF3+IA7zkiw0xwz9E9hXwE46N83JJYjm26fUF JJxA== X-Gm-Message-State: AE9vXwNU+G6LofrlNHRZl57kg56c+OaCrkbffkWmF7scJ+yi9F32zv7Bq1Yug7BowhWq+Q== X-Received: by 10.25.217.82 with SMTP id q79mr7733058lfg.213.1473183210226; Tue, 06 Sep 2016 10:33:30 -0700 (PDT) Received: from enkidu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 4sm5404899ljf.33.2016.09.06.10.33.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 06 Sep 2016 10:33:29 -0700 (PDT) From: Marcin Wojtas To: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 1/2] arm64: dts: marvell: fix clocksource for CP110 master SPI0 Date: Tue, 6 Sep 2016 19:41:11 +0200 Message-Id: <1473183672-12028-2-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1473183672-12028-1-git-send-email-mw@semihalf.com> References: <1473183672-12028-1-git-send-email-mw@semihalf.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160906_103352_650399_73E70D83 X-CRM114-Status: GOOD ( 10.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: thomas.petazzoni@free-electrons.com, andrew@lunn.ch, jason@lakedaemon.net, jaz@semihalf.com, will.deacon@arm.com, stable@vger.kernel.org, nadavh@marvell.com, alior@marvell.com, robh+dt@kernel.org, tn@semihalf.com, gregory.clement@free-electrons.com, mark.rutland@arm.com, mw@semihalf.com, sebastian.hesselbarth@gmail.com 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 I2C and SPI interfaces share common clock trees within the CP110 HW block. It occurred that SPI0 interface has wrong clock assignment in the device tree, which is fixed in this commit to a proper value. Fixes: 728dacc7f4dd ("arm64: dts: marvell: initial DT description of ...") Signed-off-by: Marcin Wojtas CC: v4.7+ --- arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi index db1be4c..903b0f6 100644 --- a/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi +++ b/arch/arm64/boot/dts/marvell/armada-cp110-master.dtsi @@ -133,7 +133,7 @@ #address-cells = <0x1>; #size-cells = <0x0>; cell-index = <1>; - clocks = <&cpm_syscon0 0 3>; + clocks = <&cpm_syscon0 1 21>; status = "disabled"; };