Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2024663imu; Fri, 14 Dec 2018 04:41:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/UXT9NkMhV726iKhNxlkPo3PpBlAlhSOpkKlt1gO4gAklI+NL4h0/FoW+tPe5DByl9zWTg/ X-Received: by 2002:a63:101:: with SMTP id 1mr2608202pgb.152.1544791292627; Fri, 14 Dec 2018 04:41:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544791292; cv=none; d=google.com; s=arc-20160816; b=h3TnefxViQzMbY0fZKKLZOGgp/XFOCtysSrelSayK2LWPpQhwtD6eNoTO1k+OZAUYz 74rCmLBsf0U/un1btI7A2tlcy2yod9MBWDDSIEMBOnoAuXGSswWIa3TdVwYgdbtlkUyk qkoFDNHE4BPSPrw47/2nr27h8itT7D5lQWLFqgLIcz5QYJDH+ykpkHheM4iRIoeAT+Iz A1aMZ+NxXIjxNSXmu+KO8r00dLQW10CfgjxUoEV0Fxm5boRzBGlEvuetZOPg/hmB7nOr rwWmLG6/A6seu5Z6p3JDlhFZ9BYafxK/DqiaYgjiHELothzNIDAa277FCSPb3DWYED5M zdNg== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=EH/IF13r5vALjpXNoTjfcVsdFqCy+bOkL8KYC1bGdyo=; b=VDBoFTUiHSW1jLKwtvjF1+q2qo5hxFSZQxNA4HsJutHlGxC3HtDw74pk4ZuxN6FDbh PPTb/Q1+Ps7yqy/GLLo5N0/in/q9PRWyNQ9trZLQnId8ic6zicKBKx5PI1iVxHQs1ufB OzJ9EjNWtpX595+ekDXfZVE880pYCQLOboLCxnxD5bXD6x7SWjl4uDxaOwZwqvrxKjzc SmKo+rI/Dj3cj2HQTAvzutWio2FcMLA+zjUpGfqMfnTeaTLgrXDhMdY2HzsoyNixK4Zt mRmCRZThNwBNhu2qoaoYBWnFNjjQcgAd5cd4gwxNofXjUucwVdzsS7sVg0uzdPo4RTB7 p6fA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AQAW5Wgg; 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 x3si3877934pgf.453.2018.12.14.04.41.18; Fri, 14 Dec 2018 04:41:32 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=AQAW5Wgg; 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 S1730565AbeLNMEq (ORCPT + 99 others); Fri, 14 Dec 2018 07:04:46 -0500 Received: from mail.kernel.org ([198.145.29.99]:49422 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730552AbeLNMEl (ORCPT ); Fri, 14 Dec 2018 07:04:41 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E8BFD21479; Fri, 14 Dec 2018 12:04:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1544789080; bh=SENmB9h0Z+74h3yqtt43cYmiSwqQ73vTGDIOU1KpemI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AQAW5WgghmkfhjCTWpar1YhRFkeZZ9IG9BeUdzqW2DGocIYuGfkR5mVQaWR3IG3IR oVeKPFs/Yi6WgpIgPZ0XvNDPoe3BMJofooapp4S9qoEtOKj9yoLfxccfHka3m9GWJq hMoJZrZoPYJgpdqtZKCzi5+R2oriiMO68WqRE478= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Romain Izard , Alexandre Belloni , Sasha Levin Subject: [PATCH 4.19 069/142] ARM: dts: at91: sama5d2: use the divided clock for SMC Date: Fri, 14 Dec 2018 12:59:14 +0100 Message-Id: <20181214115749.818717106@linuxfoundation.org> X-Mailer: git-send-email 2.20.0 In-Reply-To: <20181214115747.053633987@linuxfoundation.org> References: <20181214115747.053633987@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore 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 4.19-stable review patch. If anyone has any objections, please let me know. ------------------ [ Upstream commit 4ab7ca092c3c7ac8b16aa28eba723a8868f82f14 ] The SAMA5D2 is different from SAMA5D3 and SAMA5D4, as there are two different clocks for the peripherals in the SoC. The Static Memory controller is connected to the divided master clock. Unfortunately, the device tree does not correctly show this and uses the master clock directly. This clock is then used by the code for the NAND controller to calculate the timings for the controller, and we end up with slow NAND Flash access. Fix the device tree, and the performance of Flash access is improved. Signed-off-by: Romain Izard Signed-off-by: Alexandre Belloni Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sama5d2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index 61f68e5c48e9..b405992eb601 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -308,7 +308,7 @@ 0x1 0x0 0x60000000 0x10000000 0x2 0x0 0x70000000 0x10000000 0x3 0x0 0x80000000 0x10000000>; - clocks = <&mck>; + clocks = <&h32ck>; status = "disabled"; nand_controller: nand-controller { -- 2.19.1