dt-bindings: spi: mediatek,spi-mt65xx: add compatible for MT7981
Subsystems (3)
PATCH 1/2 dt-bindings: spi: mediatek,spi-mt65xx: add compatible for MT7981
From: Rafał Miłecki <[email protected]>
MT7981 has SPI controllers based on IPM design
--- Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/spi/mediatek,spi-mt65xx.yaml +1 -0
@@ -33,6 +33,7 @@ properties: - const: mediatek,mt6765-spi - items: - enum: + - mediatek,mt7981-spi-ipm - mediatek,mt7986-spi-ipm - mediatek,mt8188-spi-ipm - const: mediatek,spi-ipm
Signature · 1 line
2.35.3
PATCH 2/2 arm64: dts: mediatek: mt7981: add SPI controllers
From: Rafał Miłecki <[email protected]>
MT7981 (Filogic 820) has three on-SoC SPI controllers.
--- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 42 +++++++++++++++++++++++ 1 file changed, 42 insertions(+)
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +42 -0
@@ -109,6 +109,48 @@ i2c@11007000 { status = "disabled"; }; + spi@11009000 { + compatible = "mediatek,mt7981-spi-ipm", "mediatek,spi-ipm"; + reg = <0 0x11009000 0 0x1000>; + interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&topckgen CLK_TOP_CB_M_D2>, + <&topckgen CLK_TOP_SPI_SEL>, + <&infracfg CLK_INFRA_SPI2_CK>, + <&infracfg CLK_INFRA_SPI2_HCK_CK>; + clock-names = "parent-clk", "sel-clk", "spi-clk", "hclk"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi@1100a000 { + compatible = "mediatek,mt7981-spi-ipm", "mediatek,spi-ipm"; + reg = <0 0x1100a000 0 0x1000>; + interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&topckgen CLK_TOP_CB_M_D2>, + <&topckgen CLK_TOP_SPI_SEL>, + <&infracfg CLK_INFRA_SPI0_CK>, + <&infracfg CLK_INFRA_SPI0_HCK_CK>; + clock-names = "parent-clk", "sel-clk", "spi-clk", "hclk"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + + spi@1100b000 { + compatible = "mediatek,mt7981-spi-ipm", "mediatek,spi-ipm"; + reg = <0 0x1100b000 0 0x1000>; + interrupts = <GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&topckgen CLK_TOP_CB_M_D2>, + <&topckgen CLK_TOP_SPI_SEL>, + <&infracfg CLK_INFRA_SPI1_CK>, + <&infracfg CLK_INFRA_SPI1_HCK_CK>; + clock-names = "parent-clk", "sel-clk", "spi-clk", "hclk"; + #address-cells = <1>; + #size-cells = <0>; + status = "disabled"; + }; + pio: pinctrl@11d00000 { compatible = "mediatek,mt7981-pinctrl"; reg = <0 0x11d00000 0 0x1000>,
Signature · 1 line
2.35.3
Re: [PATCH 2/2] arm64: dts: mediatek: mt7981: add SPI controllers
Il 27/07/24 13:48, Rafał Miłecki ha scritto:
Quoted 5 lines
From: Rafał Miłecki <[email protected]>
MT7981 (Filogic 820) has three on-SoC SPI controllers.
Signed-off-by Rafał Miłecki <[email protected]>
Quoted 5 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
MT7981 has SPI controllers based on IPM design
Signed-off-by Rafał Miłecki <[email protected]>
Best regards,
Krzysztof
Mark Brown
maintainerRe: (subset) [PATCH 1/2] dt-bindings: spi: mediatek,spi-mt65xx: add compatible for MT7981
In reply to Rafał MiłeckiQuoted 3 lines · Rafał Miłecki
MT7981 has SPI controllers based on IPM design
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next
Thanks!
[1/2] dt-bindings: spi: mediatek,spi-mt65xx: add compatible for MT7981
commit: 158678bea637020dd6fc521536c5b07701447777
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark
Re: (subset) [PATCH 1/2] dt-bindings: spi: mediatek,spi-mt65xx: add compatible for MT7981
In reply to Rafał MiłeckiQuoted 5 lines · Rafał Miłecki
From: Rafał Miłecki <[email protected]>
MT7981 has SPI controllers based on IPM design
Applied to v6.11-next/dts64, thanks!
[2/2] arm64: dts: mediatek: mt7981: add SPI controllers
commit: 64b1cbad62cb11ab25ef87ed71561bad92ab93e2
Cheers,
Angelo