Skip to contentSkip to conversation

ARM: dts: aspeed: Add aspeed-p2a-ctrl node

PATCH Applied Patrick Venture 3 participants 3 messages Apr 25, 2019 – Apr 29, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ARM: dts: aspeed: Add aspeed-p2a-ctrl node

Add a node for the aspeed-p2a-ctrl module. This node, when enabled will disable the PCI-to-AHB bridge and then allow control of this bridge via ioctls, and access via mmap.

---
 arch/arm/boot/dts/aspeed-g4.dtsi | 4 ++++
 arch/arm/boot/dts/aspeed-g5.dtsi | 5 +++++
 2 files changed, 9 insertions(+)
arch/arm/boot/dts/aspeed-g4.dtsi +4 -0
index 9549f867aa1ef..0b7bc6072aed0 100644
@@ -165,6 +165,10 @@
 					compatible = "aspeed,g4-pinctrl";
 				};
 
+				p2a: p2a-control {
+					compatible = "aspeed,ast2400-p2a-ctrl";
+					status = "disabled";
+				};
 			};
 
 			rng: hwrng at 1e6e2078 {
arch/arm/boot/dts/aspeed-g5.dtsi +5 -0
index 3e4ed081505cc..5f01befcca1e2 100644
@@ -212,6 +212,11 @@
 					aspeed,external-nodes = <&gfx &lhc>;
 
 				};
+
+				p2a: p2a-control {
+					compatible = "aspeed,ast2500-p2a-ctrl";
+					status = "disabled";
+				};
 			};
 
 			rng: hwrng at 1e6e2078 {
Signature · 1 line
2.21.0.593.g511ec345e18-goog
maintainer Applied
#1 lore raw
Quoted 6 lines · Patrick Venture

Add a node for the aspeed-p2a-ctrl module. This node, when enabled will disable the PCI-to-AHB bridge and then allow control of this bridge via ioctls, and access via mmap.

Applied to the aspeed SoC tree.

Cheers,

Joel

#2 lore raw
In reply to Patrick Venture
Quoted 5 lines · Patrick Venture

Add a node for the aspeed-p2a-ctrl module. This node, when enabled will disable the PCI-to-AHB bridge and then allow control of this bridge via ioctls, and access via mmap.

Patrick,

Please send these to Joel and Andrew (and cc the mailing lists). No need to send patches that there are active maintainers for to arm at kernel.org directly.

(As a matter of fact, drivers/soc/aspeed should go through them too, even if I applied the first patch directly just now).

-Olof