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 3B367C43219 for ; Tue, 15 Feb 2022 00:51:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id AB19B8359C; Tue, 15 Feb 2022 01:51:36 +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="Mv+l12MJ"; dkim=pass (1024-bit key) header.d=akkea.ca header.i=@akkea.ca header.b="RwixBnpu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id ABD448359C; Tue, 15 Feb 2022 01:51:35 +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 8502D83504 for ; Tue, 15 Feb 2022 01:51:31 +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 919C84E2006; Tue, 15 Feb 2022 00:51:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1644886289; bh=kwhgt3hloNhlLYmyooWUH0HEMSM0f+o5cryDpoXeanA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=Mv+l12MJztdONBORkSSKAmkcu3o7Wmmvc8f8PMSorJYRG/TUubXlvieraBQTGovCz DHXp4BV3aOIbG1JIBP35QG+1Ucu5cFq/gl0pHXWadM/CioJKpez5ctlP3ZEKw4y9gi 4BhvKkD5DcLjVMZ6NlqEaLEFti6VjhtQtFoVloJI= 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 aLeUQodWArbe; Tue, 15 Feb 2022 00:51:28 +0000 (UTC) Received: from www.akkea.ca (localhost [127.0.0.1]) by node.akkea.ca (Postfix) with ESMTP id D2E8D4E2003; Tue, 15 Feb 2022 00:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akkea.ca; s=mail; t=1644886288; bh=kwhgt3hloNhlLYmyooWUH0HEMSM0f+o5cryDpoXeanA=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=RwixBnpuP3RMe9DrBGXkXLypN9x2OOYErBWu0V8Ke5+d2Imjukm4dUNzD3wbxpKhG WklavGHjuEt8WXeqnITQhyb5YDMq9Kk1wsKyC9ClfU4xyDidK/9om/hQpAg5Rzf+JT +A7TyI3VkoBkNEx8n9mK6X3NpUbbk8GAIuOi9GjY= MIME-Version: 1.0 Date: Mon, 14 Feb 2022 16:51:28 -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: X-Sender: angus@akkea.ca User-Agent: Roundcube Webmail/1.3.17 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 Hi Marek, 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. Thanks Angus