Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp2826120pxx; Sun, 1 Nov 2020 11:24:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTMdoqJW/vQj8PUFPmo+WCDGe/uCianHtxIl9/gc+MhcJ0tw4cQxBcQjxE6oBnaSrlzKUC X-Received: by 2002:aa7:db48:: with SMTP id n8mr4878727edt.123.1604258675486; Sun, 01 Nov 2020 11:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604258675; cv=none; d=google.com; s=arc-20160816; b=H6CP0RaN4knvHgUuMS4jMnn5SKTzcuWYEZ/vukS3PuTveVvMm6SR0Co48BGEA6UHfU eDUpWVbVivGi5dkQ5iaosTgAr0qwdmKIo4GmkUOh9k+YhWTOE5KoLtzk6wxmujwdDgec vaybmCHUkcXc4C2KdeNpS6mOFUsGVFjNWBFHWF6PxJUvnSxP5iXXj69u4KNm6d2TYvms tXZt5fobPG775+6DPLEROJfN1/aj+ulkKH27xWrMlXt1hFvkfZN56Wzr1izSSx4iKhA3 1fL06LvuWrJZF4lA701vmQW8B5K3etfLClZLJyJBwtvHnbZQ2ooVBzRHLAzjy6HNnqmo zOMA== 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=jrGrdZA03H0jf+vzvyuLno2m8KTDqXS0+2bMtxKpIDg=; b=cu4M+kkU97aUi5Jfxbp4OMcANU+RMz0MJ5HPchywpKJN3nm+aOEo63UqJEu7KZrSsc OpS84KPcV9F1OmuXkQjVUv8beYbDYqykhH78XmFRrfMDH+IXF38N+BHw9YfaheJl9Jpn yMG3RgGrnXfKiuV8Oh+15Q+diCipuOt9YdTCTSalGh1viecjamUHCnmTbt6PwV94fgAb vdKg+kdDx6E2qXnoGfGEnXfLYrdivresB0qgiVUUv8XC3VFKvipp7PuN81P1xMUxITg5 kOHqcbalnJ4R1gxSz5LoNYb/ljXinauwfXGaqKwQMTaABWASMT9xGF63SAsGuxxSF2Lm sKeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=JNiU5i5z; 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 o20si8982917ejn.279.2020.11.01.11.23.44; Sun, 01 Nov 2020 11:24:35 -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=JNiU5i5z; 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 S1727289AbgKATVF (ORCPT + 99 others); Sun, 1 Nov 2020 14:21:05 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:38581 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726791AbgKATVE (ORCPT ); Sun, 1 Nov 2020 14:21:04 -0500 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 D74B822FB3; Sun, 1 Nov 2020 20:21:01 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1604258462; 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=jrGrdZA03H0jf+vzvyuLno2m8KTDqXS0+2bMtxKpIDg=; b=JNiU5i5zQ4WDyscO4fhPrG3gKTlRr8lq85YY7d+4wrTB19tzz2YfZWmlM8Hl43pY5Jx+SN cA54BpiiTYY6t/R9ugpfXC6f5sxgfLj5Z+zXPyXva3Ik0DADd7zDftJnkLHlAS7SvbgTrN pjJhA2EO7UEY9QBSH40jHzwVu/6E5Yc= 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 3/4] arm64: dts: ls1028a: fix FlexSPI clock Date: Sun, 1 Nov 2020 20:20:52 +0100 Message-Id: <20201101192053.18644-3-michael@walle.cc> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201101192053.18644-1-michael@walle.cc> References: <20201101192053.18644-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 --- 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 f223396b8266..ee88bf60f9a9 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -197,9 +197,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 { @@ -309,7 +320,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