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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C2515CF11F5 for ; Thu, 10 Oct 2024 13:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Type: Content-Transfer-Encoding:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=mzZcOeOO80Yf0yT3tXU3r5uQvKYXS4t5UrIng8EfBVo=; b=G3VkG/u1dPHu0g Ald6TqD712uA7mOHuXlrqlh9cs3WrCIYPLR6h+Mh/djWwKBPGWrEjP213JlN4y2G2Z8iOT1TRRp2r 6uKWDjm4TRqpytt+th90uAG6HMsPY31KPDWa8GtI9/o+JC9xXFgwBj/FvPFC+Lai/7Mkd0CRIljXi Ar1oet+tGmfOBPUK0TT6MI9OW74pqmJ95UNA08jPuESO59cHiONnGJg+JQtmng7fj+ZB5sMXfvpLM cU5dra35pTu/kuiCC6YV3jBW+27AVrlCzui0wvDmciSUBJD4c9UF2ZojGYHoliE9f0vH1rq/lbWa5 q27uvItuctH5Quf7ZwBw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1sytG5-0000000Cv8G-2vc7; Thu, 10 Oct 2024 13:31:13 +0000 Received: from esa.microchip.iphmx.com ([68.232.154.123]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1syrsL-0000000Cdt6-0pqQ for linux-arm-kernel@lists.infradead.org; Thu, 10 Oct 2024 12:02:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1728561757; x=1760097757; h=from:to:subject:date:message-id:mime-version: content-transfer-encoding; bh=68PLVgZztHKJSdcs8OgU0ydTUNTRkFpa2xwbnZuTHOE=; b=MmqPUDJdkXT0k5acAIRNX99hbWsN1PpzyZ/vMacn+oJA3aT94qsP6ziY JjJ5UDS1qZlgUgbokfk4wrU+eurWZA3z7JWSh/qge39fDKbusf+vanMbS GBOYd5CIhaCuF5Iw3Omzkh9lWgYu2WgPIDaVZ0Xey9nKXxyJTiEsC3882 V8SSvr5LkR4WDLI41+9C7CfcU1aw3wLA7kzyI0tUbiIvwVqCZeFIMvbNs dDAaXZ69U0bRVYN2BBzVFhQm0gcKc4Pex+AhUeGAHmwKhx7sNoLSlfW5O PnN/DMwWzRHCUBh17lBSYP2GHHGt7iEK5qr2TIvE98H10kJv+Ug+9nCNj g==; X-CSE-ConnectionGUID: pjexnr5TS8Sok4kh7b/pQA== X-CSE-MsgGUID: jg+Fo0yUTWCrGHGQyJ0KlQ== X-IronPort-AV: E=Sophos;i="6.11,192,1725346800"; d="scan'208";a="33425205" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa2.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 10 Oct 2024 05:02:33 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) 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, 10 Oct 2024 05:01:51 -0700 Received: from che-lt-i67070.microchip.com (10.10.85.11) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2507.35 via Frontend Transport; Thu, 10 Oct 2024 05:01:47 -0700 From: Varshini Rajendran To: , , , , , , , , , , , , , Subject: [PATCH v8 0/9] Add support for sam9x7 SoC family Date: Thu, 10 Oct 2024 17:31:42 +0530 Message-ID: <20241010120142.92057-1-varshini.rajendran@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241010_050237_325587_F5FDA873 X-CRM114-Status: GOOD ( 29.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This patch series adds support for the new SoC family - sam9x7. - The device tree, configs and drivers are added - Clock driver for sam9x7 is added - Support for basic peripherals is added - Target board SAM9X75 Curiosity is added Changes in v8: -------------- - Dropped patches that are applied from the series - Picked up Reviewed-by tags - Changed the node name from leds to led-controller in the board dts file. Changes in v7: -------------- - Addressed all the review comments in the patches - Dropped patches that are applied from the series - Removed sfr node from the DT to add it later after creating the right DT documentation for microchip sfr IPs. - All the specific changes are captured in the corresponding patches Changes in v6: -------------- - Addressed all the review comments in the patches - Picked up all Acked-by and Reviewed-by tags - Reverted the IRQ patch to that of version 3 of the same series - All the specific changes are captured in the corresponding patches Changes in v5: -------------- - Addressed all the review comments in the patches - Picked up all Acked-by and Reviewed-by tags - Dropped applied patches from the series - Addressed the ABI breakage reported in the IRQ patch - All the specific changes are captured in the corresponding patches Changes in v4: -------------- - Addressed all the review comments in the patches - Picked up all Acked-by and Reviewed-by tags - Dropped applied patches from the series - Added pwm node and related dt binding documentation - Added support for exporting some clocks to DT - Dropped USB related patches and changes. See NOTE. - All the specific changes are captured in the corresponding patches NOTE: Owing to the discussion here https://lore.kernel.org/linux-devicetree/CAL_JsqJ9PrX6fj-EbffeJce09MXs=B7t+KS_kOinxaRx38=WxA@mail.gmail.com/ the USB related changes are dropped from this series in order to enable us to work on the mentioned issues before adding new compatibles as said. The issues/warnings will be addressed in subsequent patches. After which the USB related support for sam9x7 SoCs will be added. Hope this works out fine. Changes in v3: -------------- - Fixed the DT documentation errors pointed out in v2. - Dropped Acked-by tag in tcb DT doc patch as it had to be adapted according to sam9x7 correctly. - Picked by the previously missed tags. - Dropped this patch "dt-bindings: usb: generic-ehci: Document clock-names property" as the warning was not found while validating DT-schema for at91-sam9x75_curiosity.dtb. - Dropped redundant words in the commit message. - Fixed the CHECK_DTBS warnings validated against at91-sam9x75_curiosity.dtb. - Renamed dt nodes according to naming convention. - Dropped unwanted status property in dts. - Removed nodes that are not in use from the board dts. - Removed spi DT doc patch from the series as it was already applied and a fix patch was applied subsequently. Added a patch to remove the compatible to adapt sam9x7. - Added sam9x7 compatibles in usb dt documentation. Changes in v2: -------------- - Added sam9x7 specific compatibles in DT with fallbacks - Documented all the newly added DT compatible strings - Added device tree for the target board sam9x75 curiosity and documented the same in the DT bindings documentation - Removed the dt nodes that are not supported at the moment - Removed the configs added by previous version that are not supported at the moment - Fixed all the corrections in the commit message - Changed all the instances of copyright year to 2023 - Added sam9x7 flag in PIT64B configuration - Moved macro definitions to header file - Added another divider in mck characteristics in the pmc driver - Fixed the memory leak in the pmc driver - Dropped patches that are no longer needed - Picked up Acked-by and Reviewed-by tags Varshini Rajendran (9): dt-bindings: atmel-ssc: add microchip,sam9x7-ssc power: reset: at91-poweroff: lookup for proper pmc dt node for sam9x7 power: reset: at91-reset: add reset support for sam9x7 SoC power: reset: at91-reset: add sdhwc support for sam9x7 SoC dt-bindings: reset: atmel,at91sam9260-reset: add sam9x7 dt-bindings: power: reset: atmel,sama5d2-shdwc: add sam9x7 ARM: dts: at91: sam9x7: add device tree for SoC dt-bindings: arm: add sam9x75 curiosity board ARM: dts: microchip: sam9x75_curiosity: add sam9x75 curiosity board .../devicetree/bindings/arm/atmel-at91.yaml | 6 + .../devicetree/bindings/misc/atmel-ssc.txt | 1 + .../power/reset/atmel,sama5d2-shdwc.yaml | 3 + .../reset/atmel,at91sam9260-reset.yaml | 4 + arch/arm/boot/dts/microchip/Makefile | 3 + .../dts/microchip/at91-sam9x75_curiosity.dts | 324 +++++ arch/arm/boot/dts/microchip/sam9x7.dtsi | 1220 +++++++++++++++++ drivers/power/reset/Kconfig | 4 +- drivers/power/reset/at91-sama5d2_shdwc.c | 1 + 9 files changed, 1564 insertions(+), 2 deletions(-) create mode 100644 arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts create mode 100644 arch/arm/boot/dts/microchip/sam9x7.dtsi -- 2.25.1