* [PATCH v6 00/27] Add support for sam9x7 SoC family
@ 2024-07-29 6:56 Varshini Rajendran
2024-07-29 7:06 ` [PATCH v6 02/27] dt-bindings: mfd: syscon: add microchip's sam9x7 sfr Varshini Rajendran
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Varshini Rajendran @ 2024-07-29 6:56 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt, nicolas.ferre, alexandre.belloni,
claudiu.beznea, mturquette, sboyd, tglx, lee, sre, p.zabel,
richard.genoud, radu_nicolae.pirea, gregkh, jirislaby, linux,
matthias.bgg, angelogioacchino.delregno, ychuang3, schung,
mihai.sain, varshini.rajendran, andrei.simion, arnd, Jason,
dharma.b, rdunlap, devicetree, linux-arm-kernel, linux-kernel,
linux-clk, linux-pm, linux-spi, linux-serial, linux-mediatek
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 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
Hari Prasath (1):
irqchip/atmel-aic5: Add support for sam9x7 aic
Varshini Rajendran (26):
dt-bindings: atmel-sysreg: add sam9x7
dt-bindings: mfd: syscon: add microchip's sam9x7 sfr
dt-bindings: atmel-ssc: add microchip,sam9x7-ssc
dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7.
dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
ARM: at91: pm: add support for sam9x7 SoC family
ARM: at91: pm: add sam9x7 SoC init config
ARM: at91: add support in SoC driver for new sam9x7
dt-bindings: clocks: atmel,at91sam9x5-sckc: add sam9x7
dt-bindings: clocks: atmel,at91rm9200-pmc: add sam9x7 clock controller
clk: at91: clk-sam9x60-pll: re-factor to support individual core freq
outputs
clk: at91: sam9x7: add support for HW PLL freq dividers
clk: at91: sama7g5: move mux table macros to header file
dt-bindings: clock: at91: Allow PLLs to be exported and referenced in
DT
clk: at91: sam9x7: add sam9x7 pmc driver
dt-bindings: interrupt-controller: Add support for sam9x7 aic
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: at91: Kconfig: add config flag for SAM9X7 SoC
ARM: configs: at91: enable config flags for sam9x7 SoC family
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/arm/atmel-sysregs.txt | 6 +-
.../bindings/clock/atmel,at91rm9200-pmc.yaml | 2 +
.../bindings/clock/atmel,at91sam9x5-sckc.yaml | 4 +-
.../interrupt-controller/atmel,aic.yaml | 1 +
.../devicetree/bindings/mfd/syscon.yaml | 188 +--
.../devicetree/bindings/misc/atmel-ssc.txt | 1 +
.../power/reset/atmel,sama5d2-shdwc.yaml | 3 +
.../reset/atmel,at91sam9260-reset.yaml | 4 +
.../bindings/serial/atmel,at91-usart.yaml | 9 +-
.../soc/microchip/atmel,at91rm9200-tcb.yaml | 20 +-
arch/arm/boot/dts/microchip/Makefile | 3 +
.../dts/microchip/at91-sam9x75_curiosity.dts | 312 +++++
arch/arm/boot/dts/microchip/sam9x7.dtsi | 1226 +++++++++++++++++
arch/arm/configs/at91_dt_defconfig | 1 +
arch/arm/mach-at91/Kconfig | 22 +-
arch/arm/mach-at91/Makefile | 1 +
arch/arm/mach-at91/generic.h | 2 +
arch/arm/mach-at91/pm.c | 29 +
arch/arm/mach-at91/sam9x7.c | 33 +
drivers/clk/at91/Makefile | 1 +
drivers/clk/at91/clk-sam9x60-pll.c | 42 +-
drivers/clk/at91/pmc.h | 18 +
drivers/clk/at91/sam9x60.c | 7 +
drivers/clk/at91/sam9x7.c | 946 +++++++++++++
drivers/clk/at91/sama7g5.c | 42 +-
drivers/irqchip/irq-atmel-aic5.c | 10 +
drivers/power/reset/Kconfig | 4 +-
drivers/power/reset/at91-sama5d2_shdwc.c | 1 +
drivers/soc/atmel/soc.c | 23 +
drivers/soc/atmel/soc.h | 9 +
include/dt-bindings/clock/at91.h | 4 +
32 files changed, 2840 insertions(+), 140 deletions(-)
create mode 100644 arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts
create mode 100644 arch/arm/boot/dts/microchip/sam9x7.dtsi
create mode 100644 arch/arm/mach-at91/sam9x7.c
create mode 100644 drivers/clk/at91/sam9x7.c
--
2.25.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v6 02/27] dt-bindings: mfd: syscon: add microchip's sam9x7 sfr
2024-07-29 6:56 [PATCH v6 00/27] Add support for sam9x7 SoC family Varshini Rajendran
@ 2024-07-29 7:06 ` Varshini Rajendran
2024-07-30 16:50 ` Rob Herring
2024-07-29 8:17 ` [PATCH v6 00/27] Add support for sam9x7 SoC family Andrei.Simion
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Varshini Rajendran @ 2024-07-29 7:06 UTC (permalink / raw)
To: lee, robh, krzk+dt, conor+dt, matthias.bgg,
angelogioacchino.delregno, ychuang3, schung, devicetree,
linux-kernel, linux-arm-kernel, linux-mediatek
Cc: varshini.rajendran
Add compatible for sam9x7 SoC's SFR.
Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
---
Changes in v6:
- New patch in v6 as the syscon devices are moved to a new file
upstream.
---
.../devicetree/bindings/mfd/syscon.yaml | 188 +++++++++---------
1 file changed, 97 insertions(+), 91 deletions(-)
diff --git a/Documentation/devicetree/bindings/mfd/syscon.yaml b/Documentation/devicetree/bindings/mfd/syscon.yaml
index 9dc594ea3654..50392d091e70 100644
--- a/Documentation/devicetree/bindings/mfd/syscon.yaml
+++ b/Documentation/devicetree/bindings/mfd/syscon.yaml
@@ -120,97 +120,103 @@ select:
properties:
compatible:
- items:
- - enum:
- - al,alpine-sysfabric-service
- - allwinner,sun8i-a83t-system-controller
- - allwinner,sun8i-h3-system-controller
- - allwinner,sun8i-v3s-system-controller
- - allwinner,sun50i-a64-system-controller
- - altr,l3regs
- - altr,sdr-ctl
- - amd,pensando-elba-syscon
- - amlogic,meson-mx-assist
- - amlogic,meson-mx-bootrom
- - amlogic,meson8-analog-top
- - amlogic,meson8b-analog-top
- - amlogic,meson8-pmu
- - amlogic,meson8b-pmu
- - apm,merlin-poweroff-mailbox
- - apm,mustang-poweroff-mailbox
- - apm,xgene-csw
- - apm,xgene-efuse
- - apm,xgene-mcb
- - apm,xgene-rb
- - apm,xgene-scu
- - atmel,sama5d2-sfrbu
- - atmel,sama5d3-nfc-io
- - atmel,sama5d3-sfrbu
- - atmel,sama5d4-sfrbu
- - axis,artpec6-syscon
- - brcm,cru-clkset
- - brcm,sr-cdru
- - brcm,sr-mhb
- - cirrus,ep7209-syscon1
- - cirrus,ep7209-syscon2
- - cirrus,ep7209-syscon3
- - cnxt,cx92755-uc
- - freecom,fsg-cs2-system-controller
- - fsl,imx93-aonmix-ns-syscfg
- - fsl,imx93-wakeupmix-syscfg
- - fsl,ls1088a-reset
- - fsl,vf610-anatop
- - fsl,vf610-mscm-cpucfg
- - hisilicon,dsa-subctrl
- - hisilicon,hi6220-sramctrl
- - hisilicon,hip04-ppe
- - hisilicon,pcie-sas-subctrl
- - hisilicon,peri-subctrl
- - hpe,gxp-sysreg
- - loongson,ls1b-syscon
- - loongson,ls1c-syscon
- - lsi,axxia-syscon
- - marvell,armada-3700-cpu-misc
- - marvell,armada-3700-nb-pm
- - marvell,armada-3700-avs
- - marvell,armada-3700-usb2-host-misc
- - marvell,dove-global-config
- - mediatek,mt2701-pctl-a-syscfg
- - mediatek,mt2712-pctl-a-syscfg
- - mediatek,mt6397-pctl-pmic-syscfg
- - mediatek,mt8135-pctl-a-syscfg
- - mediatek,mt8135-pctl-b-syscfg
- - mediatek,mt8173-pctl-a-syscfg
- - mediatek,mt8365-syscfg
- - microchip,lan966x-cpu-syscon
- - microchip,sam9x60-sfr
- - microchip,sama7g5-ddr3phy
- - mscc,ocelot-cpu-syscon
- - mstar,msc313-pmsleep
- - nuvoton,ma35d1-sys
- - nuvoton,wpcm450-shm
- - rockchip,px30-qos
- - rockchip,rk3036-qos
- - rockchip,rk3066-qos
- - rockchip,rk3128-qos
- - rockchip,rk3228-qos
- - rockchip,rk3288-qos
- - rockchip,rk3368-qos
- - rockchip,rk3399-qos
- - rockchip,rk3568-qos
- - rockchip,rk3588-qos
- - rockchip,rv1126-qos
- - st,spear1340-misc
- - stericsson,nomadik-pmu
- - starfive,jh7100-sysmain
- - ti,am62-opp-efuse-table
- - ti,am62-usb-phy-ctrl
- - ti,am625-dss-oldi-io-ctrl
- - ti,am62p-cpsw-mac-efuse
- - ti,am654-dss-oldi-io-ctrl
- - ti,j784s4-pcie-ctrl
- - ti,keystone-pllctrl
- - const: syscon
+ oneOf:
+ - items:
+ - enum:
+ - al,alpine-sysfabric-service
+ - allwinner,sun8i-a83t-system-controller
+ - allwinner,sun8i-h3-system-controller
+ - allwinner,sun8i-v3s-system-controller
+ - allwinner,sun50i-a64-system-controller
+ - altr,l3regs
+ - altr,sdr-ctl
+ - amd,pensando-elba-syscon
+ - amlogic,meson-mx-assist
+ - amlogic,meson-mx-bootrom
+ - amlogic,meson8-analog-top
+ - amlogic,meson8b-analog-top
+ - amlogic,meson8-pmu
+ - amlogic,meson8b-pmu
+ - apm,merlin-poweroff-mailbox
+ - apm,mustang-poweroff-mailbox
+ - apm,xgene-csw
+ - apm,xgene-efuse
+ - apm,xgene-mcb
+ - apm,xgene-rb
+ - apm,xgene-scu
+ - atmel,sama5d2-sfrbu
+ - atmel,sama5d3-nfc-io
+ - atmel,sama5d3-sfrbu
+ - atmel,sama5d4-sfrbu
+ - axis,artpec6-syscon
+ - brcm,cru-clkset
+ - brcm,sr-cdru
+ - brcm,sr-mhb
+ - cirrus,ep7209-syscon1
+ - cirrus,ep7209-syscon2
+ - cirrus,ep7209-syscon3
+ - cnxt,cx92755-uc
+ - freecom,fsg-cs2-system-controller
+ - fsl,imx93-aonmix-ns-syscfg
+ - fsl,imx93-wakeupmix-syscfg
+ - fsl,ls1088a-reset
+ - fsl,vf610-anatop
+ - fsl,vf610-mscm-cpucfg
+ - hisilicon,dsa-subctrl
+ - hisilicon,hi6220-sramctrl
+ - hisilicon,hip04-ppe
+ - hisilicon,pcie-sas-subctrl
+ - hisilicon,peri-subctrl
+ - hpe,gxp-sysreg
+ - loongson,ls1b-syscon
+ - loongson,ls1c-syscon
+ - lsi,axxia-syscon
+ - marvell,armada-3700-cpu-misc
+ - marvell,armada-3700-nb-pm
+ - marvell,armada-3700-avs
+ - marvell,armada-3700-usb2-host-misc
+ - marvell,dove-global-config
+ - mediatek,mt2701-pctl-a-syscfg
+ - mediatek,mt2712-pctl-a-syscfg
+ - mediatek,mt6397-pctl-pmic-syscfg
+ - mediatek,mt8135-pctl-a-syscfg
+ - mediatek,mt8135-pctl-b-syscfg
+ - mediatek,mt8173-pctl-a-syscfg
+ - mediatek,mt8365-syscfg
+ - microchip,lan966x-cpu-syscon
+ - microchip,sam9x60-sfr
+ - microchip,sam9x7-sfr
+ - microchip,sama7g5-ddr3phy
+ - mscc,ocelot-cpu-syscon
+ - mstar,msc313-pmsleep
+ - nuvoton,ma35d1-sys
+ - nuvoton,wpcm450-shm
+ - rockchip,px30-qos
+ - rockchip,rk3036-qos
+ - rockchip,rk3066-qos
+ - rockchip,rk3128-qos
+ - rockchip,rk3228-qos
+ - rockchip,rk3288-qos
+ - rockchip,rk3368-qos
+ - rockchip,rk3399-qos
+ - rockchip,rk3568-qos
+ - rockchip,rk3588-qos
+ - rockchip,rv1126-qos
+ - st,spear1340-misc
+ - stericsson,nomadik-pmu
+ - starfive,jh7100-sysmain
+ - ti,am62-opp-efuse-table
+ - ti,am62-usb-phy-ctrl
+ - ti,am625-dss-oldi-io-ctrl
+ - ti,am62p-cpsw-mac-efuse
+ - ti,am654-dss-oldi-io-ctrl
+ - ti,j784s4-pcie-ctrl
+ - ti,keystone-pllctrl
+ - const: syscon
+ - items:
+ - const: microchip,sam9x7-sfr
+ - const: microchip,sam9x60-sfr
+ - const: syscon
reg:
maxItems: 1
--
2.25.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v6 00/27] Add support for sam9x7 SoC family
2024-07-29 6:56 [PATCH v6 00/27] Add support for sam9x7 SoC family Varshini Rajendran
2024-07-29 7:06 ` [PATCH v6 02/27] dt-bindings: mfd: syscon: add microchip's sam9x7 sfr Varshini Rajendran
@ 2024-07-29 8:17 ` Andrei.Simion
2024-07-29 8:57 ` Varshini.Rajendran
2024-07-29 18:52 ` Rob Herring (Arm)
2024-08-09 6:24 ` claudiu beznea
3 siblings, 1 reply; 7+ messages in thread
From: Andrei.Simion @ 2024-07-29 8:17 UTC (permalink / raw)
To: Varshini.Rajendran, robh, krzk+dt, conor+dt, Nicolas.Ferre,
alexandre.belloni, claudiu.beznea, mturquette, sboyd, tglx, lee,
sre, p.zabel, richard.genoud, radu_nicolae.pirea, gregkh,
jirislaby, linux, matthias.bgg, angelogioacchino.delregno,
ychuang3, schung, Mihai.Sain, arnd, Jason, Dharma.B, rdunlap,
devicetree, linux-arm-kernel, linux-kernel, linux-clk, linux-pm,
linux-spi, linux-serial, linux-mediatek
On 29.07.2024 09:56, Varshini Rajendran wrote:
> 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 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
>
>
> Hari Prasath (1):
> irqchip/atmel-aic5: Add support for sam9x7 aic
>
> Varshini Rajendran (26):
> dt-bindings: atmel-sysreg: add sam9x7
> dt-bindings: mfd: syscon: add microchip's sam9x7 sfr
> dt-bindings: atmel-ssc: add microchip,sam9x7-ssc
> dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7.
> dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
> ARM: at91: pm: add support for sam9x7 SoC family
> ARM: at91: pm: add sam9x7 SoC init config
> ARM: at91: add support in SoC driver for new sam9x7
> dt-bindings: clocks: atmel,at91sam9x5-sckc: add sam9x7
> dt-bindings: clocks: atmel,at91rm9200-pmc: add sam9x7 clock controller
> clk: at91: clk-sam9x60-pll: re-factor to support individual core freq
> outputs
> clk: at91: sam9x7: add support for HW PLL freq dividers
> clk: at91: sama7g5: move mux table macros to header file
> dt-bindings: clock: at91: Allow PLLs to be exported and referenced in
> DT
> clk: at91: sam9x7: add sam9x7 pmc driver
> dt-bindings: interrupt-controller: Add support for sam9x7 aic
> 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: at91: Kconfig: add config flag for SAM9X7 SoC
> ARM: configs: at91: enable config flags for sam9x7 SoC family
> 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/arm/atmel-sysregs.txt | 6 +-
> .../bindings/clock/atmel,at91rm9200-pmc.yaml | 2 +
> .../bindings/clock/atmel,at91sam9x5-sckc.yaml | 4 +-
> .../interrupt-controller/atmel,aic.yaml | 1 +
> .../devicetree/bindings/mfd/syscon.yaml | 188 +--
> .../devicetree/bindings/misc/atmel-ssc.txt | 1 +
> .../power/reset/atmel,sama5d2-shdwc.yaml | 3 +
> .../reset/atmel,at91sam9260-reset.yaml | 4 +
> .../bindings/serial/atmel,at91-usart.yaml | 9 +-
> .../soc/microchip/atmel,at91rm9200-tcb.yaml | 20 +-
> arch/arm/boot/dts/microchip/Makefile | 3 +
> .../dts/microchip/at91-sam9x75_curiosity.dts | 312 +++++
> arch/arm/boot/dts/microchip/sam9x7.dtsi | 1226 +++++++++++++++++
Hi,
Sorry for disturbing, I don't see the patch where you add arch/arm/boot/dts/microchip/sam9x7.dtsi
In linux-next this file is not applied yet:
:~$ find arch/arm/boot/dts/microchip | grep -i sam9x7.dtsi | wc -l
0
Best regards,
Andrei
> arch/arm/configs/at91_dt_defconfig | 1 +
> arch/arm/mach-at91/Kconfig | 22 +-
> arch/arm/mach-at91/Makefile | 1 +
> arch/arm/mach-at91/generic.h | 2 +
> arch/arm/mach-at91/pm.c | 29 +
> arch/arm/mach-at91/sam9x7.c | 33 +
> drivers/clk/at91/Makefile | 1 +
> drivers/clk/at91/clk-sam9x60-pll.c | 42 +-
> drivers/clk/at91/pmc.h | 18 +
> drivers/clk/at91/sam9x60.c | 7 +
> drivers/clk/at91/sam9x7.c | 946 +++++++++++++
> drivers/clk/at91/sama7g5.c | 42 +-
> drivers/irqchip/irq-atmel-aic5.c | 10 +
> drivers/power/reset/Kconfig | 4 +-
> drivers/power/reset/at91-sama5d2_shdwc.c | 1 +
> drivers/soc/atmel/soc.c | 23 +
> drivers/soc/atmel/soc.h | 9 +
> include/dt-bindings/clock/at91.h | 4 +
> 32 files changed, 2840 insertions(+), 140 deletions(-)
> create mode 100644 arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts
> create mode 100644 arch/arm/boot/dts/microchip/sam9x7.dtsi
> create mode 100644 arch/arm/mach-at91/sam9x7.c
> create mode 100644 drivers/clk/at91/sam9x7.c
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v6 00/27] Add support for sam9x7 SoC family
2024-07-29 8:17 ` [PATCH v6 00/27] Add support for sam9x7 SoC family Andrei.Simion
@ 2024-07-29 8:57 ` Varshini.Rajendran
0 siblings, 0 replies; 7+ messages in thread
From: Varshini.Rajendran @ 2024-07-29 8:57 UTC (permalink / raw)
To: Andrei.Simion
Cc: robh, krzk+dt, conor+dt, Nicolas.Ferre, alexandre.belloni,
claudiu.beznea, mturquette, sboyd, tglx, lee, sre, p.zabel,
richard.genoud, radu_nicolae.pirea, gregkh, jirislaby, linux,
matthias.bgg, angelogioacchino.delregno, ychuang3, schung,
Mihai.Sain, arnd, Jason, Dharma.B, rdunlap, devicetree,
linux-arm-kernel, linux-kernel, linux-clk, linux-pm, linux-spi,
linux-serial, linux-mediatek
On 29/07/24 1:47 pm, Andrei Simion - M76677 wrote:
> On 29.07.2024 09:56, Varshini Rajendran wrote:
>> 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 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
>>
>>
>> Hari Prasath (1):
>> irqchip/atmel-aic5: Add support for sam9x7 aic
>>
>> Varshini Rajendran (26):
>> dt-bindings: atmel-sysreg: add sam9x7
>> dt-bindings: mfd: syscon: add microchip's sam9x7 sfr
>> dt-bindings: atmel-ssc: add microchip,sam9x7-ssc
>> dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7.
>> dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
>> ARM: at91: pm: add support for sam9x7 SoC family
>> ARM: at91: pm: add sam9x7 SoC init config
>> ARM: at91: add support in SoC driver for new sam9x7
>> dt-bindings: clocks: atmel,at91sam9x5-sckc: add sam9x7
>> dt-bindings: clocks: atmel,at91rm9200-pmc: add sam9x7 clock controller
>> clk: at91: clk-sam9x60-pll: re-factor to support individual core freq
>> outputs
>> clk: at91: sam9x7: add support for HW PLL freq dividers
>> clk: at91: sama7g5: move mux table macros to header file
>> dt-bindings: clock: at91: Allow PLLs to be exported and referenced in
>> DT
>> clk: at91: sam9x7: add sam9x7 pmc driver
>> dt-bindings: interrupt-controller: Add support for sam9x7 aic
>> 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: at91: Kconfig: add config flag for SAM9X7 SoC
>> ARM: configs: at91: enable config flags for sam9x7 SoC family
>> 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/arm/atmel-sysregs.txt | 6 +-
>> .../bindings/clock/atmel,at91rm9200-pmc.yaml | 2 +
>> .../bindings/clock/atmel,at91sam9x5-sckc.yaml | 4 +-
>> .../interrupt-controller/atmel,aic.yaml | 1 +
>> .../devicetree/bindings/mfd/syscon.yaml | 188 +--
>> .../devicetree/bindings/misc/atmel-ssc.txt | 1 +
>> .../power/reset/atmel,sama5d2-shdwc.yaml | 3 +
>> .../reset/atmel,at91sam9260-reset.yaml | 4 +
>> .../bindings/serial/atmel,at91-usart.yaml | 9 +-
>> .../soc/microchip/atmel,at91rm9200-tcb.yaml | 20 +-
>> arch/arm/boot/dts/microchip/Makefile | 3 +
>> .../dts/microchip/at91-sam9x75_curiosity.dts | 312 +++++
>> arch/arm/boot/dts/microchip/sam9x7.dtsi | 1226 +++++++++++++++++
>
> Hi,
>
> Sorry for disturbing, I don't see the patch where you add arch/arm/boot/dts/microchip/sam9x7.dtsi
> In linux-next this file is not applied yet:
> :~$ find arch/arm/boot/dts/microchip | grep -i sam9x7.dtsi | wc -l
> 0
>
Hi Andrei,
I don't quite get your query. I am answering in a presumption that you
are enquiring about the sam9x7.dtsi file presence.
This file arch/arm/boot/dts/microchip/sam9x7.dtsi is being added in this
very series by patch 25/27. It is not yet applied, hence will not be
available in any of the upstream repos.
(P.S.: Sorry for the noise and the wide audience)
> Best regards,
> Andrei
>
>> arch/arm/configs/at91_dt_defconfig | 1 +
>> arch/arm/mach-at91/Kconfig | 22 +-
>> arch/arm/mach-at91/Makefile | 1 +
>> arch/arm/mach-at91/generic.h | 2 +
>> arch/arm/mach-at91/pm.c | 29 +
>> arch/arm/mach-at91/sam9x7.c | 33 +
>> drivers/clk/at91/Makefile | 1 +
>> drivers/clk/at91/clk-sam9x60-pll.c | 42 +-
>> drivers/clk/at91/pmc.h | 18 +
>> drivers/clk/at91/sam9x60.c | 7 +
>> drivers/clk/at91/sam9x7.c | 946 +++++++++++++
>> drivers/clk/at91/sama7g5.c | 42 +-
>> drivers/irqchip/irq-atmel-aic5.c | 10 +
>> drivers/power/reset/Kconfig | 4 +-
>> drivers/power/reset/at91-sama5d2_shdwc.c | 1 +
>> drivers/soc/atmel/soc.c | 23 +
>> drivers/soc/atmel/soc.h | 9 +
>> include/dt-bindings/clock/at91.h | 4 +
>> 32 files changed, 2840 insertions(+), 140 deletions(-)
>> create mode 100644 arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts
>> create mode 100644 arch/arm/boot/dts/microchip/sam9x7.dtsi
>> create mode 100644 arch/arm/mach-at91/sam9x7.c
>> create mode 100644 drivers/clk/at91/sam9x7.c
>>
--
Thanks and Regards,
Varshini Rajendran.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v6 00/27] Add support for sam9x7 SoC family
2024-07-29 6:56 [PATCH v6 00/27] Add support for sam9x7 SoC family Varshini Rajendran
2024-07-29 7:06 ` [PATCH v6 02/27] dt-bindings: mfd: syscon: add microchip's sam9x7 sfr Varshini Rajendran
2024-07-29 8:17 ` [PATCH v6 00/27] Add support for sam9x7 SoC family Andrei.Simion
@ 2024-07-29 18:52 ` Rob Herring (Arm)
2024-08-09 6:24 ` claudiu beznea
3 siblings, 0 replies; 7+ messages in thread
From: Rob Herring (Arm) @ 2024-07-29 18:52 UTC (permalink / raw)
To: Varshini Rajendran
Cc: Jason, linux, conor+dt, sre, richard.genoud, sboyd, linux-kernel,
linux-clk, krzk+dt, andrei.simion, linux-arm-kernel, linux-serial,
linux-spi, schung, jirislaby, devicetree, dharma.b,
angelogioacchino.delregno, lee, mturquette, matthias.bgg, tglx,
rdunlap, radu_nicolae.pirea, gregkh, nicolas.ferre, ychuang3,
claudiu.beznea, linux-pm, alexandre.belloni, arnd, mihai.sain,
linux-mediatek, p.zabel
On Mon, 29 Jul 2024 12:26:03 +0530, Varshini Rajendran wrote:
> 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 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
>
>
> Hari Prasath (1):
> irqchip/atmel-aic5: Add support for sam9x7 aic
>
> Varshini Rajendran (26):
> dt-bindings: atmel-sysreg: add sam9x7
> dt-bindings: mfd: syscon: add microchip's sam9x7 sfr
> dt-bindings: atmel-ssc: add microchip,sam9x7-ssc
> dt-bindings: serial: atmel,at91-usart: add compatible for sam9x7.
> dt-bindings: microchip: atmel,at91rm9200-tcb: add sam9x7 compatible
> ARM: at91: pm: add support for sam9x7 SoC family
> ARM: at91: pm: add sam9x7 SoC init config
> ARM: at91: add support in SoC driver for new sam9x7
> dt-bindings: clocks: atmel,at91sam9x5-sckc: add sam9x7
> dt-bindings: clocks: atmel,at91rm9200-pmc: add sam9x7 clock controller
> clk: at91: clk-sam9x60-pll: re-factor to support individual core freq
> outputs
> clk: at91: sam9x7: add support for HW PLL freq dividers
> clk: at91: sama7g5: move mux table macros to header file
> dt-bindings: clock: at91: Allow PLLs to be exported and referenced in
> DT
> clk: at91: sam9x7: add sam9x7 pmc driver
> dt-bindings: interrupt-controller: Add support for sam9x7 aic
> 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: at91: Kconfig: add config flag for SAM9X7 SoC
> ARM: configs: at91: enable config flags for sam9x7 SoC family
> 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/arm/atmel-sysregs.txt | 6 +-
> .../bindings/clock/atmel,at91rm9200-pmc.yaml | 2 +
> .../bindings/clock/atmel,at91sam9x5-sckc.yaml | 4 +-
> .../interrupt-controller/atmel,aic.yaml | 1 +
> .../devicetree/bindings/mfd/syscon.yaml | 188 +--
> .../devicetree/bindings/misc/atmel-ssc.txt | 1 +
> .../power/reset/atmel,sama5d2-shdwc.yaml | 3 +
> .../reset/atmel,at91sam9260-reset.yaml | 4 +
> .../bindings/serial/atmel,at91-usart.yaml | 9 +-
> .../soc/microchip/atmel,at91rm9200-tcb.yaml | 20 +-
> arch/arm/boot/dts/microchip/Makefile | 3 +
> .../dts/microchip/at91-sam9x75_curiosity.dts | 312 +++++
> arch/arm/boot/dts/microchip/sam9x7.dtsi | 1226 +++++++++++++++++
> arch/arm/configs/at91_dt_defconfig | 1 +
> arch/arm/mach-at91/Kconfig | 22 +-
> arch/arm/mach-at91/Makefile | 1 +
> arch/arm/mach-at91/generic.h | 2 +
> arch/arm/mach-at91/pm.c | 29 +
> arch/arm/mach-at91/sam9x7.c | 33 +
> drivers/clk/at91/Makefile | 1 +
> drivers/clk/at91/clk-sam9x60-pll.c | 42 +-
> drivers/clk/at91/pmc.h | 18 +
> drivers/clk/at91/sam9x60.c | 7 +
> drivers/clk/at91/sam9x7.c | 946 +++++++++++++
> drivers/clk/at91/sama7g5.c | 42 +-
> drivers/irqchip/irq-atmel-aic5.c | 10 +
> drivers/power/reset/Kconfig | 4 +-
> drivers/power/reset/at91-sama5d2_shdwc.c | 1 +
> drivers/soc/atmel/soc.c | 23 +
> drivers/soc/atmel/soc.h | 9 +
> include/dt-bindings/clock/at91.h | 4 +
> 32 files changed, 2840 insertions(+), 140 deletions(-)
> create mode 100644 arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dts
> create mode 100644 arch/arm/boot/dts/microchip/sam9x7.dtsi
> create mode 100644 arch/arm/mach-at91/sam9x7.c
> create mode 100644 drivers/clk/at91/sam9x7.c
>
> --
> 2.25.1
>
>
>
My bot found new DTB warnings on the .dts files added or changed in this
series.
Some warnings may be from an existing SoC .dtsi. Or perhaps the warnings
are fixed by another series. Ultimately, it is up to the platform
maintainer whether these warnings are acceptable or not. No need to reply
unless the platform maintainer has comments.
If you already ran DT checks and didn't see these error(s), then
make sure dt-schema is up to date:
pip3 install dtschema --upgrade
New warnings running 'make CHECK_DTBS=y microchip/at91-sam9x75_curiosity.dtb' for 20240729065603.1986074-1-varshini.rajendran@microchip.com:
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /ahb/mmc@80000000: failed to match any schema with compatible: ['microchip,sam9x7-sdhci', 'microchip,sam9x60-sdhci']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /ahb/mmc@80000000: failed to match any schema with compatible: ['microchip,sam9x7-sdhci', 'microchip,sam9x60-sdhci']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /ahb/mmc@90000000: failed to match any schema with compatible: ['microchip,sam9x7-sdhci', 'microchip,sam9x60-sdhci']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /ahb/mmc@90000000: failed to match any schema with compatible: ['microchip,sam9x7-sdhci', 'microchip,sam9x60-sdhci']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/dma-controller@f0008000: failed to match any schema with compatible: ['microchip,sam9x7-dma', 'atmel,sama5d4-dma']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/dma-controller@f0008000: failed to match any schema with compatible: ['microchip,sam9x7-dma', 'atmel,sama5d4-dma']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/ssc@f0010000: failed to match any schema with compatible: ['microchip,sam9x7-ssc', 'atmel,at91sam9g45-ssc']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/ssc@f0010000: failed to match any schema with compatible: ['microchip,sam9x7-ssc', 'atmel,at91sam9g45-ssc']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/timer@f0028000: failed to match any schema with compatible: ['microchip,sam9x7-pit64b', 'microchip,sam9x60-pit64b']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/timer@f0028000: failed to match any schema with compatible: ['microchip,sam9x7-pit64b', 'microchip,sam9x60-pit64b']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/timer@f0040000: failed to match any schema with compatible: ['microchip,sam9x7-pit64b', 'microchip,sam9x60-pit64b']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/timer@f0040000: failed to match any schema with compatible: ['microchip,sam9x7-pit64b', 'microchip,sam9x60-pit64b']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/matrix@ffffde00: failed to match any schema with compatible: ['microchip,sam9x7-matrix', 'atmel,at91sam9x5-matrix', 'syscon']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/matrix@ffffde00: failed to match any schema with compatible: ['microchip,sam9x7-matrix', 'atmel,at91sam9x5-matrix', 'syscon']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/ecc-engine@ffffe000: failed to match any schema with compatible: ['microchip,sam9x7-pmecc', 'atmel,at91sam9g45-pmecc']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/ecc-engine@ffffe000: failed to match any schema with compatible: ['microchip,sam9x7-pmecc', 'atmel,at91sam9g45-pmecc']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/mpddrc@ffffe800: failed to match any schema with compatible: ['microchip,sam9x7-ddramc', 'atmel,sama5d3-ddramc']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/mpddrc@ffffe800: failed to match any schema with compatible: ['microchip,sam9x7-ddramc', 'atmel,sama5d3-ddramc']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/smc@ffffea00: failed to match any schema with compatible: ['microchip,sam9x7-smc', 'atmel,at91sam9260-smc', 'syscon']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/smc@ffffea00: failed to match any schema with compatible: ['microchip,sam9x7-smc', 'atmel,at91sam9260-smc', 'syscon']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/pinctrl@fffff400: failed to match any schema with compatible: ['microchip,sam9x7-pinctrl', 'microchip,sam9x60-pinctrl', 'simple-mfd']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/pinctrl@fffff400: failed to match any schema with compatible: ['microchip,sam9x7-pinctrl', 'microchip,sam9x60-pinctrl', 'simple-mfd']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/syscon@fffffe60: failed to match any schema with compatible: ['microchip,sam9x7-gpbr', 'atmel,at91sam9260-gpbr', 'syscon']
arch/arm/boot/dts/microchip/at91-sam9x75_curiosity.dtb: /apb/syscon@fffffe60: failed to match any schema with compatible: ['microchip,sam9x7-gpbr', 'atmel,at91sam9260-gpbr', 'syscon']
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v6 02/27] dt-bindings: mfd: syscon: add microchip's sam9x7 sfr
2024-07-29 7:06 ` [PATCH v6 02/27] dt-bindings: mfd: syscon: add microchip's sam9x7 sfr Varshini Rajendran
@ 2024-07-30 16:50 ` Rob Herring
0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2024-07-30 16:50 UTC (permalink / raw)
To: Varshini Rajendran
Cc: lee, krzk+dt, conor+dt, matthias.bgg, angelogioacchino.delregno,
ychuang3, schung, devicetree, linux-kernel, linux-arm-kernel,
linux-mediatek
On Mon, Jul 29, 2024 at 12:36:03PM +0530, Varshini Rajendran wrote:
> Add compatible for sam9x7 SoC's SFR.
That's (kind of) obvious from the diff. How is the block on the new SoC
the same or different from the prior chip? It's kind of strange that one
of these blocks which tend to be register bit soup of left over controls
would be the same or a superset of another SoC.
>
> Signed-off-by: Varshini Rajendran <varshini.rajendran@microchip.com>
> ---
> Changes in v6:
>
> - New patch in v6 as the syscon devices are moved to a new file
> upstream.
> ---
> .../devicetree/bindings/mfd/syscon.yaml | 188 +++++++++---------
> 1 file changed, 97 insertions(+), 91 deletions(-)
Put this in your own schema file. I don't think we want get into more
complicated cases here.
Rob
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v6 00/27] Add support for sam9x7 SoC family
2024-07-29 6:56 [PATCH v6 00/27] Add support for sam9x7 SoC family Varshini Rajendran
` (2 preceding siblings ...)
2024-07-29 18:52 ` Rob Herring (Arm)
@ 2024-08-09 6:24 ` claudiu beznea
3 siblings, 0 replies; 7+ messages in thread
From: claudiu beznea @ 2024-08-09 6:24 UTC (permalink / raw)
To: Varshini Rajendran, robh, krzk+dt, conor+dt, nicolas.ferre,
alexandre.belloni, mturquette, sboyd, tglx, lee, sre, p.zabel,
richard.genoud, radu_nicolae.pirea, gregkh, jirislaby, linux,
matthias.bgg, angelogioacchino.delregno, ychuang3, schung,
mihai.sain, andrei.simion, arnd, Jason, dharma.b, rdunlap,
devicetree, linux-arm-kernel, linux-kernel, linux-clk, linux-pm,
linux-spi, linux-serial, linux-mediatek
On 29.07.2024 09:56, Varshini Rajendran wrote:
> 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 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
>
[ ... ]
>
> Varshini Rajendran (26):
> dt-bindings: atmel-sysreg: add sam9x7
> ARM: at91: pm: add support for sam9x7 SoC family
> ARM: at91: pm: add sam9x7 SoC init config
> ARM: at91: add support in SoC driver for new sam9x7
Applied to at91-soc, thanks!
> dt-bindings: clocks: atmel,at91sam9x5-sckc: add sam9x7
> dt-bindings: clocks: atmel,at91rm9200-pmc: add sam9x7 clock controller
> clk: at91: clk-sam9x60-pll: re-factor to support individual core freq
> outputs
> clk: at91: sam9x7: add support for HW PLL freq dividers
> clk: at91: sama7g5: move mux table macros to header file
> dt-bindings: clock: at91: Allow PLLs to be exported and referenced in
> DT
> clk: at91: sam9x7: add sam9x7 pmc driver
Applied to clk-microchip, thanks!
> ARM: at91: Kconfig: add config flag for SAM9X7 SoC
Applied to at91-soc, thanks!
> ARM: configs: at91: enable config flags for sam9x7 SoC family
Applied to at91-defconfig, thanks!
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-08-09 6:24 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-29 6:56 [PATCH v6 00/27] Add support for sam9x7 SoC family Varshini Rajendran
2024-07-29 7:06 ` [PATCH v6 02/27] dt-bindings: mfd: syscon: add microchip's sam9x7 sfr Varshini Rajendran
2024-07-30 16:50 ` Rob Herring
2024-07-29 8:17 ` [PATCH v6 00/27] Add support for sam9x7 SoC family Andrei.Simion
2024-07-29 8:57 ` Varshini.Rajendran
2024-07-29 18:52 ` Rob Herring (Arm)
2024-08-09 6:24 ` claudiu beznea
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).