Add support for SAMA7D65
Subsystems (12)
v6 cover Add support for SAMA7D65
From: Ryan Wanner <[email protected]>
This series adds support for the SAMA7D65 SoC.
V2 of this series [1].
V3 of this series [2].
V4 of this series [4].
V5 of this series [6].
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.
Changes from v4->v5:
- Remove patches that have been applied [5].
- Update pinctrl dt-binding to use fallback formatting.
Changes from v5->v6:
- Remove patches that have been applied [6].
- Correct incorrect spacing formatting on pinctrl dt-binding.
- Reintroduce flexcom to the thread since it was removed due to an error in collecting applied patches.
Note:
- For the SDHCI DTB error that patch has been removed do to it being applied see [3].
- There are DTB errors on microchip,sama7d65-pit64b and microchip,sama7d65-pinctrl, this is due to those bindings being .txt files.
1) https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#m9691b4d58b62f36f6cbac1d06883c985766c2c0d
2) https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#m3b52978236907198f727424e69ef21c8898e95c8
3) https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#mccf6521c07e74e1c7dc61b09ae0ebdbbdde73a28
4) https://lore.kernel.org/linux-arm-kernel/70d429086fd8e858d79ca2824ad8cc4a09e3fe5d.1734723585.git.Ryan.Wanner@microchip.com/T/#m918b8db23c8d30981263846a02dafc085e17de14
5) https://lore.kernel.org/linux-arm-kernel/70d429086fd8e858d79ca2824ad8cc4a09e3fe5d.1734723585.git.Ryan.Wanner@microchip.com/T/#m69b8f11536e3b0ca3d69d125d0670c90412d4317
6) https://lore.kernel.org/linux-arm-kernel/[email protected]/T/#m54eaea3dc49c687865e3db33e286eeb29edd7cf0
Dharma Balasubiramani (3):
dt-bindings: serial: atmel,at91-usart: add microchip,sama7d65-usart
dt-bindings: pinctrl: at91-pio4: add microchip,sama7d65-pinctrl
dt-bindings: mfd: atmel,sama5d2-flexcom: add
microchip,sama7d65-flexcom
.../devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml | 9 ++++----- .../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 1 + .../devicetree/bindings/serial/atmel,at91-usart.yaml | 1 + 3 files changed, 6 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0
PATCH v6 1/3 dt-bindings: serial: atmel,at91-usart: add microchip,sama7d65-usart
From: Dharma Balasubiramani <[email protected]>
Add SAMA7D65 USART compatible to DT bindings documentation.
--- Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/serial/atmel,at91-usart.yaml +1 -0
@@ -26,6 +26,7 @@ properties: - enum: - microchip,sam9x60-usart - microchip,sam9x7-usart + - microchip,sama7d65-usart - const: atmel,at91sam9260-usart - items: - const: microchip,sam9x60-dbgu
Signature · 1 line
2.43.0
PATCH v6 2/3 dt-bindings: pinctrl: at91-pio4: add microchip,sama7d65-pinctrl
In reply to [email protected]From: Dharma Balasubiramani <[email protected]>
Add pinctrl bindings for microchip sama7d65 SoC.
--- .../devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/pinctrl/atmel,at91-pio4-pinctrl.txt +1 -0
@@ -6,6 +6,7 @@ configure it. Required properties: - compatible: "atmel,sama5d2-pinctrl" + "microchip,sama7d65-pinctrl", "microchip,sama7g5-pinctrl" "microchip,sama7g5-pinctrl" - reg: base address and length of the PIO controller. - interrupts: interrupt outputs from the controller, one for each bank.
Signature · 1 line
2.43.0
Re: [RESEND PATCH v6 2/3] dt-bindings: pinctrl: at91-pio4: add microchip,sama7d65-pinctrl
Quoted 7 lines · On Thu, Mar 6, 2025 at 5:03 PM <[email protected]> wrote:
From: Dharma Balasubiramani <[email protected]>
Add pinctrl bindings for microchip sama7d65 SoC.
Signed-off-by Dharma Balasubiramani <[email protected]>Signed-off-by Ryan Wanner <[email protected]>
This patch applied to the pinctrl tree.
Yours,
Linus Walleij
PATCH v6 3/3 dt-bindings: mfd: atmel,sama5d2-flexcom: add microchip,sama7d65-flexcom
In reply to [email protected]From: Dharma Balasubiramani <[email protected]>
Add flexcom binding documentation for sama7d65.
Consolidated entries into one enum to match proper coding style.
--- .../devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-)
Documentation/devicetree/bindings/mfd/atmel,sama5d2-flexcom.yaml +4 -5
@@ -19,12 +19,11 @@ properties: oneOf: - const: atmel,sama5d2-flexcom - items: - - const: microchip,sam9x7-flexcom + - enum: + - microchip,sam9x7-flexcom + - microchip,sama7d65-flexcom + - microchip,sama7g5-flexcom - const: atmel,sama5d2-flexcom - - items: - - const: microchip,sama7g5-flexcom - - const: atmel,sama5d2-flexcom - reg: maxItems: 1
Signature · 1 line
2.43.0
Re: (subset) [PATCH v6 3/3] dt-bindings: mfd: atmel,sama5d2-flexcom: add microchip,sama7d65-flexcom
Quoted 5 lines · On Fri, 10 Jan 2025 08:25:42 -0700, [email protected] wrote:
Add flexcom binding documentation for sama7d65.
Consolidated entries into one enum to match proper coding style.
Applied, thanks!
[3/3] dt-bindings: mfd: atmel,sama5d2-flexcom: add microchip,sama7d65-flexcom
commit: c37ee2ed38391eef476fea6af8eccd0d31f5ed98
--
Lee Jones [李琼斯]