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 E2591C021BE for ; Thu, 27 Feb 2025 09:36:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5EA3B810F4; Thu, 27 Feb 2025 10:36: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="gFPsP+iP"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D0BB7810F4; Thu, 27 Feb 2025 10:36:48 +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 62D2A807FB for ; Thu, 27 Feb 2025 10:36:46 +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=14638ef94=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=1740649006; x=1772185006; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=/lO6/e0CIp2o3HEOeIHdNWrabiRiUaUSMmSk3c2zEvA=; b=gFPsP+iPObx7/0EwW+jj2YwuYt3Ngu2flWQh+0CWoi7R3S2edmrZKfaN 7PX32PoGceMgxI5kcypEogbUwPbyaPjIz68sqykVCnKiv4BcZ7jn92MBD rCeC3f6GKpeZE6Ne9TEzDFFeJZzwuUl5OegViTnD105GPR29S+g1GWSCw y/REoS+1H4bnhWv3k3L4NxewYN3yhlfWZ63SHwrLBolZuLjBomT3gcuqd YCj/7ez/yueqwHx5ZPwimIQHmAFwe+aA2IDjry583hT4BKW8QExOBAeth LId9maoYuTKCDlW2gd+BvsqtRRiXvlCTwI/nFWWUorm1gVxojDgEX8HtR A==; X-CSE-ConnectionGUID: h/HZ0LKiT+6+xGiO61FaGw== X-CSE-MsgGUID: 48qqZ99CToiV6L86musy/g== X-IronPort-AV: E=Sophos;i="6.13,319,1732604400"; d="scan'208";a="37797564" 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; 27 Feb 2025 02:36:44 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 27 Feb 2025 02:36:13 -0700 Received: from che-lt-i67131.microchip.com (10.10.85.11) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 27 Feb 2025 02:36:06 -0700 From: Manikandan Muralidharan To: Eugen Hristev , Lukasz Majewski , , , , , , , , , , , , , , , , , CC: Subject: [PATCH v2 0/8] Add support for sam9x7 SoC and SAM9X75 Curiosity board Date: Thu, 27 Feb 2025 15:05:51 +0530 Message-ID: <20250227093559.797618-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 ---- 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: clk: define additional PMC clocks 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 .../dts/at91-sam9x75_curiosity-u-boot.dtsi | 107 ++ 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 + include/dt-bindings/clk/at91.h | 3 + include/dt-bindings/clock/at91.h | 2 + 20 files changed, 1694 insertions(+), 10 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 -- 2.25.1