Add support for SAMA7D65
From: | Ryan.Wanner-AT-microchip.com | |
To: | <robh-AT-kernel.org>, <krzk+dt-AT-kernel.org>, <conor+dt-AT-kernel.org>, <nicolas.ferre-AT-microchip.com>, <alexandre.belloni-AT-bootlin.com>, <claudiu.beznea-AT-tuxon.dev>, <mturquette-AT-baylibre.com>, <sboyd-AT-kernel.org>, <arnd-AT-arndb.de> | |
Subject: | [PATCH v4 00/13] Add support for SAMA7D65 | |
Date: | Fri, 20 Dec 2024 14:07:01 -0700 | |
Message-ID: | <cover.1734723585.git.Ryan.Wanner@microchip.com> | |
Cc: | <dharma.b-AT-microchip.com>, <mihai.sain-AT-microchip.com>, <romain.sioen-AT-microchip.com>, <varshini.rajendran-AT-microchip.com>, <devicetree-AT-vger.kernel.org>, <linux-arm-kernel-AT-lists.infradead.org>, <linux-kernel-AT-vger.kernel.org>, <linux-clk-AT-vger.kernel.org>, <linux-mmc-AT-vger.kernel.org>, <linux-gpio-AT-vger.kernel.org>, <linux-spi-AT-vger.kernel.org>, <linux-serial-AT-vger.kernel.org>, Ryan Wanner <Ryan.Wanner-AT-microchip.com> | |
Archive-link: | Article |
From: Ryan Wanner <Ryan.Wanner@microchip.com> This series adds support for the SAMA7D65 SoC. V2 of this series [1]. V3 of this series [2]. For the pinctrl and pit64 timers those will have DTB warnings due to those bindings not being in the .yaml format. Changes v1->v2: - V1 set was sent incorrectly as multiple seprate patches v2 took all those patches and put them in 1 thread. Changes v2->v3: - Correct the patch order to follow correct practice. - Correct flexcom dt-binding commit messge to reflect the changes in the coding style. - Add missing SoB tags to patches. - Moved export clocks to DT patch to be included with the clock binding patch. - Separate Kconfig changes and defconfig changes into different patches and removed unused Kconfig params. - Correct confusing SoB and Co-developed chain. - Removed unsued nodes in DTSI file and sorted includes alphanumerically. - Fix incorrect dts formatting. - Separate dts and pinmux changes into two patches. - Combine PLL and MCK changes into core clock driver patch. - Correct formatting in main clock driver. - MMC dt-binding changes are applied for next so have been removed from the set [3]. Changes v3->v4: - Collect all tags from maintainers. - Correct compile error on 11/13 and correct location of vendor specific properties. - Add USB and UTMI selections to 12/13 to prevent compile errors due to functions in the clock driver that use the USB clock system. - Add "microchip,sama7g5-pinctrl" compatible string as a fall back in 9/13. - Add missing kfree() to 8/13 to correctly handle error case. - Replace bad spacing with correct tab formatting on 7/13. 1) https://lore.kernel.org/linux-arm-kernel/cover.1732030972... 2) https://lore.kernel.org/linux-arm-kernel/cover.1733505542... 3) https://lore.kernel.org/linux-arm-kernel/cover.1732030972... Dharma Balasubiramani (6): dt-bindings: mfd: atmel,sama5d2-flexcom: add microchip,sama7d65-flexcom dt-bindings: atmel-sysreg: add sama7d65 RAM and PIT dt-bindings: serial: atmel,at91-usart: add microchip,sama7d65-usart dt-bindings: pinctrl: at91-pio4: add microchip,sama7d65-pinctrl dt-bindings: clocks: atmel,at91sam9x5-sckc: add sama7d65 dt-bindings: clock: Add SAMA7D65 PMC compatible string Romain Sioen (2): dt-bindings: ARM: at91: Document Microchip SAMA7D65 Curiosity ARM: dts: microchip: add support for sama7d65_curiosity board Ryan Wanner (5): clk: at91: sama7d65: add sama7d65 pmc driver ARM: dts: microchip: add sama7d65 SoC DT ARM: dts: at91: Add sama7d65 pinmux ARM: configs: at91: sama7: add new SoC config ARM: at91: add new SoC sama7d65 .../devicetree/bindings/arm/atmel-at91.yaml | 7 + .../devicetree/bindings/arm/atmel-sysregs.txt | 14 +- .../bindings/clock/atmel,at91rm9200-pmc.yaml | 2 + .../bindings/clock/atmel,at91sam9x5-sckc.yaml | 1 + .../bindings/mfd/atmel,sama5d2-flexcom.yaml | 9 +- .../pinctrl/atmel,at91-pio4-pinctrl.txt | 1 + .../bindings/serial/atmel,at91-usart.yaml | 1 + arch/arm/boot/dts/microchip/Makefile | 3 + .../dts/microchip/at91-sama7d65_curiosity.dts | 89 ++ .../arm/boot/dts/microchip/sama7d65-pinfunc.h | 947 ++++++++++++ arch/arm/boot/dts/microchip/sama7d65.dtsi | 145 ++ arch/arm/configs/multi_v7_defconfig | 1 + arch/arm/configs/sama7_defconfig | 1 + arch/arm/mach-at91/Kconfig | 11 + drivers/clk/at91/Makefile | 1 + drivers/clk/at91/clk-master.c | 2 +- drivers/clk/at91/clk-sam9x60-pll.c | 2 +- drivers/clk/at91/pmc.c | 1 + drivers/clk/at91/sama7d65.c | 1375 +++++++++++++++++ include/dt-bindings/clock/at91.h | 4 + 20 files changed, 2604 insertions(+), 13 deletions(-) create mode 100644 arch/arm/boot/dts/microchip/at91-sama7d65_curiosity.dts create mode 100644 arch/arm/boot/dts/microchip/sama7d65-pinfunc.h create mode 100644 arch/arm/boot/dts/microchip/sama7d65.dtsi create mode 100644 drivers/clk/at91/sama7d65.c -- 2.43.0