[PATCH 0/9] arm64: meson: Add s4 support
Sean Anderson <[email protected]>
| Newsgroups | gmane.comp.boot-loaders.u-boot |
|---|---|
| Message-ID | <20260817171623.1943847-1-sanderson__26615.5520615698$1786990679$gmane$org@brivo.com> |
This series (along with several patches submitted separately) adds basic support for the amlogic s4 SoCs (S805X2/S905W2/S905Y4). My tree with all patches on it is at [1]. I developed this for a custom board, but I believe a better candidate for a defconfig would be the publicly-available Khadas VIM1S [2]. Unfortunately, I don't own any VIM1S boards, but I have included a sample defconfig in the last patch. If anyone has a VIM1S, please test that patch. You will need to use AMLogic's FIP [3], as I have not yet gotten around to submitting a PR to LibreELEC's FIP. [1] https://github.com/brivolabs/u-boot/tree/meson_s4 [2] https://www.khadas.com/vim1s [3] https://github.com/khadas/u-boot-fip-yocto Sean Anderson (9): arm64: meson: Add s4 SoC support clk: meson: a1: Eliminate separate id parameter clk: meson: a1: Use clk_set_rate from meson_mux_set_rate clk: meson: Use soc-specific naming for common functions clk: meson: Export a1 functions to common file clk: meson: Support fractional fixed-factor clocks clk: meson: Support power-of-two dividers clk: meson: Add s4 clock driver [RFT] meson: Add Khadas VIM1S support arch/arm/include/asm/arch-meson/boot0.h | 14 + arch/arm/mach-meson/Kconfig | 7 + arch/arm/mach-meson/Makefile | 1 + arch/arm/mach-meson/board-s4.c | 50 ++ board/amlogic/q200/MAINTAINERS | 1 + configs/khadas-vim1s_defconfig | 80 ++++ drivers/clk/meson/Kconfig | 8 + drivers/clk/meson/Makefile | 2 + drivers/clk/meson/a1.c | 495 +------------------- drivers/clk/meson/axg-ao.c | 12 +- drivers/clk/meson/axg.c | 16 +- drivers/clk/meson/clk_meson.c | 376 +++++++++++++++ drivers/clk/meson/clk_meson.h | 149 ++++++ drivers/clk/meson/g12a-ao.c | 12 +- drivers/clk/meson/g12a.c | 24 +- drivers/clk/meson/gxbb.c | 24 +- drivers/clk/meson/s4.c | 587 ++++++++++++++++++++++++ 17 files changed, 1318 insertions(+), 540 deletions(-) create mode 100644 arch/arm/include/asm/arch-meson/boot0.h create mode 100644 arch/arm/mach-meson/board-s4.c create mode 100644 configs/khadas-vim1s_defconfig create mode 100644 drivers/clk/meson/clk_meson.c create mode 100644 drivers/clk/meson/s4.c --- base-commit: d3e8597e46b635ec556a057bc42f0b0859654bdf branch: s4_clk -- 2.53.0