From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 72E0DC19F32 for ; Wed, 5 Mar 2025 06:07:53 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 355EE807B1; Wed, 5 Mar 2025 07:07:49 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="BQntUwVt"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DF874807D9; Wed, 5 Mar 2025 07:07:43 +0100 (CET) Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.154.123]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 58324800C1 for ; Wed, 5 Mar 2025 07:07:41 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=prvs=1521d03f8=Manikandan.M@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1741154861; x=1772690861; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7Chdks7G8gn5kCGXxTfrqrsReshOz30UpGnpPpa8aCg=; b=BQntUwVtfNMT4KI09UprN2lVKEE59ZDFwpGVe/0QOtD+cnLIB25Y3Wfi U/3CRuZerG+Q8cAfBfeqmUYsr/G2QGsTOVDBqZE8Y/yscU4epLZwSYS// gEOyPuCbItpCAkxCvThMB3l1EMDwV08c43mU7SqfTnUugzFuIPJ/q/R0o 7vPSjMh/08CCfKmkXDSLDYsGbg1XOTGVSMn3EanBUlWMfDv0/Z9vY9zQ+ 7dwpN92upjqxCcdcLCtTHDm7S82aUOKqBaHpiYQNKwVOANjeJDLrIb1nt a0J8kam0w9eYFWpo0/9tLrQc9wAWsTH60VNEkKwVLs+bbBTlFfQmnJlTL Q==; X-CSE-ConnectionGUID: GoLPETYvRYO8KxT+irsCdw== X-CSE-MsgGUID: EomgXjxgRv2G5oTabgEoig== X-IronPort-AV: E=Sophos;i="6.14,222,1736838000"; d="scan'208";a="38023805" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa4.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 04 Mar 2025 23:07:39 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Tue, 4 Mar 2025 23:07:25 -0700 Received: from che-lt-i67131.microchip.com (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Tue, 4 Mar 2025 23:07:17 -0700 From: Manikandan Muralidharan To: Eugen Hristev , Lukasz Majewski , , , , , , , , , , , , , , , , , CC: Subject: [PATCH v3 0/8] Add support for sam9x7 SoC and SAM9X75 Curiosity board Date: Wed, 5 Mar 2025 11:37:03 +0530 Message-ID: <20250305060711.1127301-1-manikandan.m@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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 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 ---- Manikandan Muralidharan (4): dt-bindings: clock: rename at91.h to at91-pmc-status.h 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 | 2 +- .../dts/at91-sam9x75_curiosity-u-boot.dtsi | 107 ++ arch/arm/dts/at91-sama7g5ek-u-boot.dtsi | 2 +- arch/arm/dts/at91sam9260.dtsi | 2 +- arch/arm/dts/at91sam9261.dtsi | 2 +- arch/arm/dts/at91sam9263.dtsi | 2 +- arch/arm/dts/at91sam9g45.dtsi | 2 +- arch/arm/dts/at91sam9n12.dtsi | 2 +- arch/arm/dts/at91sam9rl.dtsi | 2 +- arch/arm/dts/at91sam9x5.dtsi | 2 +- arch/arm/dts/sama5d3.dtsi | 2 +- arch/arm/dts/sama5d3_mci2.dtsi | 2 +- arch/arm/dts/sama5d3_tcb1.dtsi | 2 +- arch/arm/dts/sama5d3_uart.dtsi | 2 +- arch/arm/dts/sama5d4.dtsi | 2 +- 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-sam9x60-pll.c | 55 +- drivers/clk/at91/pmc.h | 2 + drivers/clk/at91/sam9x60.c | 7 + drivers/clk/at91/sam9x7.c | 1094 +++++++++++++++++ drivers/clk/at91/sama7g5.c | 6 + include/configs/sam9x75_curiosity.h | 23 + .../clock/{at91.h => at91-pmc-status.h} | 0 33 files changed, 1703 insertions(+), 24 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 rename include/dt-bindings/clock/{at91.h => at91-pmc-status.h} (100%) -- 2.25.1