Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp738155pxb; Thu, 5 Nov 2020 11:37:23 -0800 (PST) X-Google-Smtp-Source: ABdhPJxu2SRZs47lSwzSUbqI3X1W2GO3zQ98trvHXpgI5rZmox1jHujALROo1R+Eo8D0PjK6SUZI X-Received: by 2002:a17:906:ca93:: with SMTP id js19mr4095083ejb.537.1604605043138; Thu, 05 Nov 2020 11:37:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604605043; cv=none; d=google.com; s=arc-20160816; b=IluRjVmrtqk2pMZHTT9SP4KA510ETLypO5n4/Q0Kd56qYv583tWf4vtF47cEm7ff1e fznvk9k6q1y7PAFhsbsLYbhinFpOnowfsgb2RjDfrYNrmSwap+ZsUm40Fum26JfEg94y 2virhppKfDMgnY8nughm/LBFuZM/Fo6HJvRILFYcUqFk81QPPu6Cutez2J7HNZBUlTyX fYtAIFEwgH05mXULthlR/vguBqfd63qUbRhbXe+sbxOGKHEyk2Ujek6Hg1RcBye5GYsm L82h2SIXm6p94XDJB57mYM2wC13I8ZtJQIdlCt2dKVqszuOy8r6DnAytOtsQsgMz2aL0 9FsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ucz/4nF66ouu1r39hVjYEnRwtNvHWgDO+P7rFCmWSc0=; b=B583OQm6iUk4SczhFebgJ/3q+rVbt44LWcWxcjr6QRsBVt9PutPe3Fq6MLdreXW+yl K4s6FpvcutojpCSGqjGJZN58uyELiap22RaH/UXgpZh5JRfpwz9dNrHfiextOhH55bL+ oN82Ky+f4Ljc5TiqRTj6qmz3nIzbl1wck82Qe8t+QgWrW/WCPoX77WEQkIWAVkQIjEdr 9gycawDgkok+hN23WWsjNJBt9uTDOKX35B35vp5zKIIjuGn7h5Gf6tLDKJHG9+OZqBd0 yUMwn6xceb+XvLZKAH1IABCdKQ4eIdhMsj3qEtW+cQ7UMfBAzhxoEQDFiXtGe/YXSC2y ByyQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=PnuV2pg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s24si266138ejd.209.2020.11.05.11.37.00; Thu, 05 Nov 2020 11:37:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=PnuV2pg2; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732011AbgKETfa (ORCPT + 99 others); Thu, 5 Nov 2020 14:35:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36258 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732210AbgKETfZ (ORCPT ); Thu, 5 Nov 2020 14:35:25 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E26DC0613D3; Thu, 5 Nov 2020 11:35:25 -0800 (PST) Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 5280323E45; Thu, 5 Nov 2020 20:35:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1604604923; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ucz/4nF66ouu1r39hVjYEnRwtNvHWgDO+P7rFCmWSc0=; b=PnuV2pg2vv2rQroO86gWTrQnmefJJGPAq4xUmA+Uc9c9HFJNUVVM6qw36pYg+sLa5Ck8ec 8EAQtcf3nfshxsxss0skCIfRyauZ227AyLfA0Ynwpsgc+hTTwYUvDAlw6baEj5C6QH8muM VXTkMxqANgivIx9fWg1nvS2P23RikXI= From: Michael Walle To: linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: Michael Turquette , Stephen Boyd , Rob Herring , Shawn Guo , Li Yang , Michael Walle Subject: [PATCH v2 4/5] arm64: dts: ls1028a: fix FlexSPI clock Date: Thu, 5 Nov 2020 20:35:11 +0100 Message-Id: <20201105193512.22388-5-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201105193512.22388-1-michael@walle.cc> References: <20201105193512.22388-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Now that we have a proper driver for the FlexSPI interface use it. This will fix SCK frequency switching on Layerscape SoCs. This was tested on the Kontron sl28 board. Signed-off-by: Michael Walle --- Changes since v1: - none arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index ef413bae44cb..4c8b20e6312b 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -204,9 +204,20 @@ }; dcfg: syscon@1e00000 { - compatible = "fsl,ls1028a-dcfg", "syscon"; + #address-cells = <1>; + #size-cells = <1>; + compatible = "fsl,ls1028a-dcfg", "syscon", "simple-mfd"; reg = <0x0 0x1e00000 0x0 0x10000>; + ranges = <0x0 0x0 0x1e00000 0x10000>; little-endian; + + fspi_clk: clock-controller@900 { + compatible = "fsl,ls1028a-flexspi-clk"; + reg = <0x900 0x4>; + #clock-cells = <0>; + clocks = <&clockgen 4 0>; + clock-output-names = "fspi_clk"; + }; }; rst: syscon@1e60000 { @@ -316,7 +327,7 @@ <0x0 0x20000000 0x0 0x10000000>; reg-names = "fspi_base", "fspi_mmap"; interrupts = ; - clocks = <&clockgen 4 3>, <&clockgen 4 3>; + clocks = <&clockgen 4 3>, <&fspi_clk>; clock-names = "fspi_en", "fspi"; status = "disabled"; }; -- 2.20.1