Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 34E51C433EF for ; Tue, 15 Feb 2022 14:55:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AD2DA81FDE; Tue, 15 Feb 2022 15:55:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=akkea.ca header.i=@akkea.ca header.b="vYvZadb6"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="vYvZadb6"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C5A0B81FDE; Tue, 15 Feb 2022 15:55:42 +0100 (CET) Received: from node.akkea.ca (li1434-30.members.linode.com [45.33.107.30]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 75BC8819A2 for ; Tue, 15 Feb 2022 15:55:39 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=akkea.ca Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus@akkea.ca Received: from localhost (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 9311D4E2006; Tue, 15 Feb 2022 14:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1644936937; bh=ACdYDP1tMq2uZsSFvl1+1Y+ER/YyPXdSMcy6BMQgpeE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=vYvZadb60x7+LezNFs+J/os9kvVSARJuLqSm0+28mnyLs9dowgxrCOIwSxwUv2K9/ +JOH2Xq71yvbzVhrlO2IIDlbEBD59ts2+rWi656PJwkJqDI/GmAR4Hvm3fd2A8xnnb rArWHQBo+07S2qpGqflOeFqriRF8HHDqMwOvC0Tc= Received: from node.akkea.ca ([127.0.0.1]) by localhost (mail.akkea.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZzKqYa4daJSo; Tue, 15 Feb 2022 14:55:37 +0000 (UTC) Received: from www.akkea.ca (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id 15D0F4E2003; Tue, 15 Feb 2022 14:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1644936937; bh=ACdYDP1tMq2uZsSFvl1+1Y+ER/YyPXdSMcy6BMQgpeE=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=vYvZadb60x7+LezNFs+J/os9kvVSARJuLqSm0+28mnyLs9dowgxrCOIwSxwUv2K9/ +JOH2Xq71yvbzVhrlO2IIDlbEBD59ts2+rWi656PJwkJqDI/GmAR4Hvm3fd2A8xnnb rArWHQBo+07S2qpGqflOeFqriRF8HHDqMwOvC0Tc= MIME-Version: 1.0 Date: Tue, 15 Feb 2022 06:55:37 -0800 From: Angus Ainslie To: Marek Vasut Cc: "NXP i.MX U-Boot Team" , Stefano Babic , Fabio Estevam , Peng Fan , Ye Li , Alice Guo , Patrick Wildt , u-boot@lists.denx.de, kernel@puri.sm Subject: Re: [PATCH v2] imx8m: clock_imx8mq: Add the ecspi clocks In-Reply-To: References: <20220214205111.923751-1-angus@akkea.ca> Message-ID: <7360f21aa7ca91461eae705828d759b6@akkea.ca> X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.17 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.5 at phobos.denx.de X-Virus-Status: Clean On 2022-02-15 00:01, Marek Vasut wrote: > On 2/15/22 01:51, Angus Ainslie wrote: >> On 2022-02-14 16:25, Marek Vasut wrote: >>> On 2/14/22 21:51, Angus Ainslie wrote: >>>> Enable the clocks for spi buses 1 through 3 >>>> >>>> Signed-off-by: Angus Ainslie >>>> --- >>>> >>>> Changes since v1: >>>> >>>> added MXC_CSPI_CLK to ECSPI1_CLK_ROOT mapping >>>> >>>>   arch/arm/include/asm/arch-imx8m/imx-regs.h |  9 +++++ >>>>   arch/arm/mach-imx/imx8m/clock_imx8mq.c     | 40 >>>> ++++++++++++++++++++++ >>>>   2 files changed, 49 insertions(+) >>> >>> Shouldn't all this come from DT ? >> >> This is used in the SPL. >> >> The imx8mq also doesn't have a DM clock driver. > > Hmm, would it be possible to take one of the other Ms clock drivers, > fork it into MQ one, and fill in the tables from Linux, thus creating > the missing MQ clock driver? I've begun working on that as well. I'll send the patches once I get Linux to boot.