Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys/arch/arm/nxp
Module Name: src
Committed By: hkenken
Date: Thu Nov 26 03:39:30 UTC 2026
Modified Files:
src/sys/arch/arm/nxp: files.imx_ccm imx_ccm.c imx_ccm.h
imx_ccm_composite.c imx_ccm_div.c imx_ccm_fdt.c
Added Files:
src/sys/arch/arm/nxp: imx_ccm_dpll.c
Log Message:
imx_ccm: extend the core for non-FDT i.MX50/51 CCM support
- Allow four register regions for the i.MX5 CCM and DPLL1-3.
- Add read-only divider and mux macros, including _INDEX variants.
- Add IMX_DIV_ONE_BASED, where zero means the clock is stopped.
- Add IMX_DIV_BUSY and its _INDEX variant to wait for the busy bit.
- Validate parent names against the clock table on non-FDT attach.
- Add a read-only i.MX5 DPLL clock type, kept out of GENERIC builds.
Use unsigned rate differences in divider and composite set_rate.
A true difference of 2^31 Hz or more could appear negative as an int
and select the wrong divisor. This is the only behavior change on
i.MX7D and i.MX8MQ.
Tested on QEMU mcimx7d-sabre: the clock list was unchanged, and a
3 GHz request with a 24 MHz parent changed from 3,428,571 Hz (/7)
to 24 MHz (/1). Built GENERIC, GENERIC64, KOBO, and NETWALKER
(i.MX8MQ build-tested only).
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/nxp/files.imx_ccm \
src/sys/arch/arm/nxp/imx_ccm_fdt.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/nxp/imx_ccm.c \
src/sys/arch/arm/nxp/imx_ccm.h src/sys/arch/arm/nxp/imx_ccm_composite.c
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/nxp/imx_ccm_div.c
cvs rdiff -u -r0 -r1.1 src/sys/arch/arm/nxp/imx_ccm_dpll.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index