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 1DCC0C433EF for ; Fri, 11 Mar 2022 17:04:42 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1955283AFA; Fri, 11 Mar 2022 18:04:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=none dis=none) header.from=puri.sm Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by phobos.denx.de (Postfix, from userid 109) id 0957C83400; Fri, 11 Mar 2022 18:02:15 +0100 (CET) Received: from comms.puri.sm (comms.puri.sm [159.203.221.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id BF11B83AEA for ; Fri, 11 Mar 2022 18:02:10 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=puri.sm Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=angus.ainslie@puri.sm Received: from localhost (localhost [127.0.0.1]) by comms.puri.sm (Postfix) with ESMTP id 2E213E0E70; Fri, 11 Mar 2022 09:02:09 -0800 (PST) Received: from comms.puri.sm ([127.0.0.1]) by localhost (comms.puri.sm [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xm6aJLvZkKP7; Fri, 11 Mar 2022 09:02:08 -0800 (PST) Message-ID: <86e82fc6-4a10-3d7c-19bf-e171815ef0e6@puri.sm> Date: Fri, 11 Mar 2022 09:02:07 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH v2 2/2] clk: imx8mq: Add a clock driver for the imx8mq Content-Language: en-US To: Marek Vasut , Angus Ainslie , u-boot@lists.denx.de Cc: lukma@denx.de, seanga2@gmail.com, sbabic@denx.de, festevam@gmail.com, kernel@puri.sm, uboot-imx@nxp.com References: <20220311163536.1330032-1-angus@akkea.ca> <20220311163536.1330032-3-angus@akkea.ca> <14af7ab4-59a7-1af6-2f53-446eefcb87b5@denx.de> From: Angus Ainslie In-Reply-To: <14af7ab4-59a7-1af6-2f53-446eefcb87b5@denx.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 11 Mar 2022 18:04:37 +0100 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-03-11 08:57, Marek Vasut wrote: > On 3/11/22 17:35, Angus Ainslie wrote: >> This is a DM clock drvier based off the imx8mm u-boot driver and the >> linux >> kernel driver. > > s@drvier@driver@ > Thanks >> All of the PLLs and clocks are initialized so the subsystems below are >> functional and tested. >> >> 1) USB host and peripheral >> 2) ECSPI >> 3) UART >> 4) I2C all busses >> 5) USDHC for eMMC support >> 6) USB storage >> 7) GPIO >> 8) DRAM >> >> The PLL rate tables are from the kernel >> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=43cdaa1567ad3931fbde438853947d45238cc040 >> > > That patch is three years old. > That patch is for MX8M Mini clock, not for MX8M(Q). > > You can use the abbreviated commit ID instead: > 43cdaa1567ad3 ("clk: imx8mm: Move 1443X/1416X PLL clock structure to > common place") > But that seems to be the wrong commit. That's the commit where the imx8m PLL frequency table is moved to a common file for use by all of the imx8m variants. The imx8mq linux driver does not even use the frequency tables so there is not a specific commit for it.