History log of /freebsd-current/sys/arm/nvidia/tegra124/tegra124_clk_pll.c
Revision Date Author Comments
# be82b3a0 26-Dec-2023 Emmanuel Vadot <manu@FreeBSD.org>

clk: Move clock code in dev/clk

We've removed kernel option EXT_RESOURCES almost two years ago.
While it was ok to have some code under a common 'extres' subdirectory
at first, we now have a lot of consumer of it and we made it mandatory
so no need to have it under a cryptic name.

Reviewed by: mhorne
Sponsored by: Beckhoff Automation GmbH & Co. KG
Differential Revision: https://reviews.freebsd.org/D43191


# fdafd315 24-Nov-2023 Warner Losh <imp@FreeBSD.org>

sys: Automated cleanup of cdefs and other formatting

Apply the following automated changes to try to eliminate
no-longer-needed sys/cdefs.h includes as well as now-empty
blank lines in a row.

Remove /^#if.*\n#endif.*\n#include\s+<sys/cdefs.h>.*\n/
Remove /\n+#include\s+<sys/cdefs.h>.*\n+#if.*\n#endif.*\n+/
Remove /\n+#if.*\n#endif.*\n+/
Remove /^#if.*\n#endif.*\n/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/types.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/param.h>/
Remove /\n+#include\s+<sys/cdefs.h>\n#include\s+<sys/capsicum.h>/

Sponsored by: Netflix


# 685dc743 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

sys: Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 4b9b6a50 08-Apr-2022 John Baldwin <jhb@FreeBSD.org>

arm/arm64 nvidia: Remove unused variables.


# be01656f 24-Dec-2021 Michal Meloun <mmel@FreeBSD.org>

tegra124: Implement new get_gate method for tegra124 clocks.

MFC after: 1 week


# 8a7a4683 15-Jan-2021 Emmanuel Vadot <manu@FreeBSD.org>

arm: arm64: Directly use #include <dt-binding/...>

We have it in the includes path and this will help the transition to the
new device-tree import in sys/contrib


# 65454883 01-Sep-2020 Mateusz Guzik <mjg@FreeBSD.org>

arm: clean up empty lines in .c and .h files


# 6f1eb305 04-Dec-2016 Michal Meloun <mmel@FreeBSD.org>

Fixes for NVIDIA Tegra124 clocks:
- EMC clock have standard peripheral clock block. Use it.
- Implement full frequency set method for PLLD2. This PLL
is used as HDMI pixel clock so we must be able to set it
to wide range of frequencies, within 5% tolerance allowed
by HDMI specification. Due to this, full state space search
(over m, n, p fields) is necessary.

MFC after: 3 weeks


# 7961a970 04-Nov-2016 Michal Meloun <mmel@FreeBSD.org>

TEGRA: Fix numerous issues in clock code.
Define and export clocks related to XUSB driver.


# a2785248 30-Sep-2016 Michal Meloun <mmel@FreeBSD.org>

TEGRA: Extend timeout for PLLs lock to 5 ms. Real lock time for PLLA
has been very near to old limit.


# b7997839 05-Apr-2016 Michal Meloun <mmel@FreeBSD.org>

TEGRA: Fix CPU frequency switching.
The PLL_X, base CPU frequency source, doesn't have a bypass switch and thus
we must use another frequency source for CPU while changing its frequency.
PLL_P is ideal for this, it runs at 480MHz and CPU can be clocked at this
frequency at any CPU voltage.


# ef2ee5d0 16-Mar-2016 Michal Meloun <mmel@FreeBSD.org>

Import basic support for Nvidia Jetson TK1 board and tegra124 SoC.
The following pheripherals are supported: UART, MMC, AHCI, EHCI, PCIe, I2C,
PMIC, GPIO, CPU temperature and clock.

Note: The PCIe driver is pure mash at this moment. It will be reworked
immediately when both D5237 and D2579 enter the current tree.