From patchwork Thu Jul 9 08:40:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peng Fan X-Patchwork-Id: 241101 List-Id: U-Boot discussion From: peng.fan at nxp.com (peng.fan at nxp.com) Date: Thu, 9 Jul 2020 16:40:31 +0800 Subject: [PATCH 00/11] imx8m: soc/clk update Message-ID: <20200709084042.8234-1-peng.fan@nxp.com> From: Peng Fan This is to upstream some patches from NXP tree after adapt to U-Boot upstream. Added a few APIs that directly touch CCM/PLL register without CLK DM. I plan to simplify the clk DM part to only keep gate and get rate, so move complicated set rate out from clk DM with non-DM API. Peng Fan (9): imx8m: configure arm clk sources from PLL imx8m: configure NoC clk imx8m: add sdhc/nand/ecspi clk api imx8m: add eqos clk imx8m: workaround ROM serror imx8m: power down fused cores imx8m: disable nodes before kernel/mfgtool boot for fused part clk: imx8m: drop clk settings imx8m: Refactor the OPTEE memory removal Ye Li (2): imx8mp: Add fused parts support imx8mn/imx8mp: override env_get_offset and env_get_location arch/arm/include/asm/arch-imx/cpu.h | 5 + arch/arm/include/asm/arch-imx8m/imx-regs.h | 158 +++++++ arch/arm/include/asm/mach-imx/sys_proto.h | 9 +- arch/arm/mach-imx/cpu.c | 12 +- arch/arm/mach-imx/imx8m/clock_imx8mm.c | 299 +++++++++++- arch/arm/mach-imx/imx8m/soc.c | 605 ++++++++++++++++++++++++- board/beacon/imx8mm/imx8mm_beacon.c | 11 - board/freescale/imx8mm_evk/imx8mm_evk.c | 11 - board/freescale/imx8mn_evk/imx8mn_evk.c | 7 - board/freescale/imx8mp_evk/imx8mp_evk.c | 40 -- board/freescale/imx8mq_evk/imx8mq_evk.c | 11 - board/google/imx8mq_phanbell/imx8mq_phanbell.c | 11 - board/technexion/pico-imx8mq/pico-imx8mq.c | 26 +- board/toradex/verdin-imx8mm/verdin-imx8mm.c | 11 - configs/imx8mp_evk_defconfig | 1 - drivers/clk/imx/clk-imx8mm.c | 34 -- drivers/clk/imx/clk-imx8mn.c | 34 -- 17 files changed, 1089 insertions(+), 196 deletions(-)