On 6/3/25 08:05, Manikandan Muralidharan wrote: > This patch series adds support for the new SoC family - sam9x7. > - sam9x7 SoC is added > - Clock driver for sam9x7 is added > - Target board SAM9X75 Curiosity is added with its differences in DT > and MMC config support > > ---- > changes in v6: > - 1/4 - New addition to this series > - 5/8 - Parse NULL in at91_clk_main_rc() call for parent_name > - 7/8 - Remove main_rc node from DT > > changes in v5: > - 4/8 - Define ID_MAIN_RC name in sam9x7 clock driver thus dropping > the main_rc clock from DT and Alinging it with Linux > - 6/8 - Drop main_rc clock for pmc node in DT > > changes in v4: > - 1/8 - Drop the local include file clock/at91.h and the update > the MAINTAINERS respectively. > > changes in v3: > - 1/8 - rename at91.h to at91-pmc-status.h, update the SoC DTs > and MAINTAINERS file respectively > - 4/8 - update header from clk/at91.h to clock/at91.h > > changes in v2: > - 1/8 - add additional PMC clock definition to support the sam9x7 upstream > DT > - 6/8 - Remove support for SoC DT and board DTS as they are already available > in dts/upstream > - add the differences in DT files between upstream Linux DT and U-Boot > DT to at91-sam9x75_curiosity-u-boot.dtsi > - 7/8 - Add OF_UPSTREAM support for sam9x75 curiosity board > - 8/8 - update the DEFAULT_DEVICE_TREE config to <vendor/name> > > ---- > > > Manikandan Muralidharan (5): > dt-bindings: drop at91.h from clock includes > clk: at91: clk-main: drop parent_name check when registering main_rc > oscillator > ARM: dts: at91: sam9x75_curiosity: add tweaks for sam9x75 curiosity > board > board: sam9x75_curiosity: Add support for sam9x75 curiosity > configs: sam9x75_curiosity: Add initial mmc default config > > Varshini Rajendran (4): > clk: at91: sam9x60-pll: add support for core clock frequency inputs > clk: at91: sam9x60-pll: add support for HW PLL freq dividers > clk: at91: sam9x7: add pmc driver for sam9x7 SoC family > ARM: at91: Add sam9x7 soc > > MAINTAINERS | 1 - > .../dts/at91-sam9x75_curiosity-u-boot.dtsi | 95 ++ > arch/arm/mach-at91/Kconfig | 12 + > arch/arm/mach-at91/arm926ejs/Makefile | 1 + > arch/arm/mach-at91/arm926ejs/sam9x7_devices.c | 49 + > arch/arm/mach-at91/include/mach/hardware.h | 2 + > arch/arm/mach-at91/include/mach/sam9x7.h | 172 +++ > board/atmel/sam9x75_curiosity/Kconfig | 15 + > board/atmel/sam9x75_curiosity/MAINTAINERS | 7 + > board/atmel/sam9x75_curiosity/Makefile | 7 + > .../sam9x75_curiosity/sam9x75_curiosity.c | 66 + > configs/sam9x75_curiosity_mmc_defconfig | 73 ++ > drivers/clk/at91/Makefile | 1 + > drivers/clk/at91/clk-main.c | 2 +- > drivers/clk/at91/clk-sam9x60-pll.c | 55 +- > drivers/clk/at91/pmc.h | 2 + > drivers/clk/at91/sam9x60.c | 7 + > drivers/clk/at91/sam9x7.c | 1085 +++++++++++++++++ > drivers/clk/at91/sama7g5.c | 6 + > include/configs/sam9x75_curiosity.h | 23 + > include/dt-bindings/clock/at91.h | 23 - > 21 files changed, 1669 insertions(+), 35 deletions(-) > create mode 100644 arch/arm/dts/at91-sam9x75_curiosity-u-boot.dtsi > create mode 100644 arch/arm/mach-at91/arm926ejs/sam9x7_devices.c > create mode 100644 arch/arm/mach-at91/include/mach/sam9x7.h > create mode 100644 board/atmel/sam9x75_curiosity/Kconfig > create mode 100644 board/atmel/sam9x75_curiosity/MAINTAINERS > create mode 100644 board/atmel/sam9x75_curiosity/Makefile > create mode 100644 board/atmel/sam9x75_curiosity/sam9x75_curiosity.c > create mode 100644 configs/sam9x75_curiosity_mmc_defconfig > create mode 100644 drivers/clk/at91/sam9x7.c > create mode 100644 include/configs/sam9x75_curiosity.h > delete mode 100644 include/dt-bindings/clock/at91.h > Even though I am not really happy with patch 4/9 , but because I haven't figured a better way to deal with it without some core rework, let's not delay this further, applied to u-boot-at91/next ! Eugen