- May 08, 2024
-
-
Tom Rini authored
Greg Malysa <greg.malysa@timesys.com> says: This series adds support for the ADI SC5xx machine type and includes two core drivers that are required for being able to boot any board--a UART driver, the gptimer driver which is used as a clock reference (CNTVCNT is not supported on the armv7 sc5xx SoCs) and the clock tree driver. Our corresponding Linux support relies on u-boot configuring the clocks correctly before booting, so it is not possible to boot any board without the CGU/CDU configuration happening here. There are also no board files, device trees, or defconfigs included here, but some common definitions that will be used to build board files currently are. The sc5xx SoCs themselves include many armv7 families (sc57x, sc58x, and sc594) all using an ARM Cortex-A5, and one armv8 family (sc598) indended to be a drop-in replacement for the SC594 in terms of peripherals, with a Cortex-A55 instead. Some of the configuration code in dmcinit and clkinit is quite scary and causes a lot of checkpatch violations. It is modified from code initially provided by ADI, but it has not been fully rewritten. There's a question of how important it is to clean up this code--it has some quality violations, but it has been in use (including in production) for over two years and is known to work for performing the low level SoC initialization, while a rewrite might introduce timing or sequence bugs that could take a significant amount of time to detect in the future.
-
Co-developed-by:
Nathan Barrett-Morrison <nathan.morrison@timesys.com> Signed-off-by:
Nathan Barrett-Morrison <nathan.morrison@timesys.com> Co-developed-by:
Angelo Dureghello <angelo.dureghello@timesys.com> Signed-off-by:
Angelo Dureghello <angelo.dureghello@timesys.com> Co-developed-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Greg Malysa <greg.malysa@timesys.com>
-
Co-developed-by:
Greg Malysa <greg.malysa@timesys.com> Signed-off-by:
Greg Malysa <greg.malysa@timesys.com> Co-developed-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Vasileios Bimpikas <vasileios.bimpikas@analog.com> Signed-off-by:
Utsav Agarwal <utsav.agarwal@analog.com> Signed-off-by:
Arturs Artamonovs <arturs.artamonovs@analog.com> Signed-off-by:
Nathan Barrett-Morrison <nathan.morrison@timesys.com>
-
This adds support for the SC5XX clock trees which are required for reading clock speeds on the SoCs. This is largely a port of the same support for Linux, which has not yet been submitted upstream. Co-developed-by:
Greg Malysa <greg.malysa@timesys.com> Signed-off-by:
Greg Malysa <greg.malysa@timesys.com> Co-developed-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Vasileios Bimpikas <vasileios.bimpikas@analog.com> Signed-off-by:
Utsav Agarwal <utsav.agarwal@analog.com> Signed-off-by:
Arturs Artamonovs <arturs.artamonovs@analog.com> Signed-off-by:
Nathan Barrett-Morrison <nathan.morrison@timesys.com>
-
Add support for the SC5xx machine type from Analog Devices. This includes support for the SC57x, SC58x, SC59x, and SC59x-64 SoCs, which have many common features such as common ADI IP blocks, and SHARC DSP cores. This commit introduces core functionality required for all boards using an SC5xx SoC, such as: - SPL configuration - Required CPU hooks such as reset - Boot ROM interaction to load the stage 2 bootloader in the reference configuration. Other options are possible but not officially supported at this time - SoC-common configuration expected to be reused by all boards - Early initialization for system clocks and DDR controller Co-developed-by:
Greg Malysa <greg.malysa@timesys.com> Signed-off-by:
Greg Malysa <greg.malysa@timesys.com> Co-developed-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Ian Roberts <ian.roberts@timesys.com> Signed-off-by:
Vasileios Bimpikas <vasileios.bimpikas@analog.com> Signed-off-by:
Utsav Agarwal <utsav.agarwal@analog.com> Signed-off-by:
Arturs Artamonovs <arturs.artamonovs@analog.com> Signed-off-by:
Nathan Barrett-Morrison <nathan.morrison@timesys.com>
-
- May 07, 2024
-
-
Tom Rini authored
- Merge the four series that I made to finally remove include/common.h. For the most part, this is just removing <common.h> entirely. In a few cases we needed to add <linux/types.h> or <time.h>. In the case of PowerPC related code, we instead need to bring in <asm/ppc.h>.
-
Tom Rini authored
With all files that had included this file directly having been updated, we can now remove this file. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from here and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Acked-by:
Angelo Dureghello <angelo@kernel-space.org> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by:
Peter Robinson <pbrobinson@gmail.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by:
Mattijs Korpershoek <mkorpershoek@baylibre.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by:
Cédric Le Goater <clg@kaod.org> Reviewed-by:
William Zhang <william.zhang@broadcom.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by:
Bryan Brattlof <bb@ti.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by:
Peter Robinson <pbrobinson@gmail.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by:
Peter Robinson <pbrobinson@gmail.com> Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Signed-off-by:
Tom Rini <trini@konsulko.com>
-
Tom Rini authored
Remove <common.h> from this driver directory and when needed add missing include files directly. Reviewed-by:
Heiko Schocher <hs@denx.de> Signed-off-by:
Tom Rini <trini@konsulko.com>
-