linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus
@ 2018-06-22 12:45 Icenowy Zheng
  2018-06-22 12:45 ` [PATCH v2 3/7] bus: add bus driver for accessing Allwinner A64 DE2 Icenowy Zheng
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Icenowy Zheng @ 2018-06-22 12:45 UTC (permalink / raw)
  To: Rob Herring, Maxime Ripard, Chen-Yu Tsai, Jagan Teki, Jernej Skrabec
  Cc: devicetree, linux-arm-kernel, linux-kernel, linux-clk,
	linux-sunxi, Icenowy Zheng

All the sub-blocks of Allwinner A64 DE2 needs the SRAM C on A64 SoC to
be claimed, otherwise the whole DE2 space is inaccessible.

Add a device tree binding of the DE2 part as a sub-bus.

Signed-off-by: Icenowy Zheng <icenowy@aosc.io>
---
No changes since v1.

 .../bindings/bus/sun50i-de2-bus.txt           | 37 +++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt

diff --git a/Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt b/Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt
new file mode 100644
index 000000000000..87dfb33fb3be
--- /dev/null
+++ b/Documentation/devicetree/bindings/bus/sun50i-de2-bus.txt
@@ -0,0 +1,37 @@
+Device tree bindings for Allwinner A64 DE2 bus
+
+The Allwinner A64 DE2 is on a special bus, which needs a SRAM region (SRAM C)
+to be claimed for enabling the access.
+
+Required properties:
+
+ - compatible:		Should contain "allwinner,sun50i-a64-de2"
+ - reg:			A resource specifier for the register space
+ - #address-cells:	Must be set to 1
+ - #size-cells:		Must be set to 1
+ - ranges:		Must be set up to map the address space inside the
+			DE2, for the sub-blocks of DE2.
+ - allwinner,sram:	the SRAM that needs to be claimed
+
+Example:
+
+	de2@1000000 {
+		compatible = "allwinner,sun50i-a64-de2";
+		reg = <0x1000000 0x400000>;
+		allwinner,sram = <&de2_sram 1>;
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges = <0 0x1000000 0x400000>;
+
+		display_clocks: clock@0 {
+			compatible = "allwinner,sun50i-a64-de2-clk";
+			reg = <0x0 0x100000>;
+			clocks = <&ccu CLK_DE>,
+				 <&ccu CLK_BUS_DE>;
+			clock-names = "mod",
+				      "bus";
+			resets = <&ccu RST_BUS_DE>;
+			#clock-cells = <1>;
+			#reset-cells = <1>;
+		};
+	};
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2018-06-26  3:33 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-22 12:45 [PATCH v2 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus Icenowy Zheng
2018-06-22 12:45 ` [PATCH v2 3/7] bus: add bus driver for accessing Allwinner A64 DE2 Icenowy Zheng
2018-06-25 15:58   ` Maxime Ripard
2018-06-25 15:59     ` Icenowy Zheng
2018-06-22 12:45 ` [PATCH v2 4/7] clk: sunxi-ng: add A64 compatible string Icenowy Zheng
2018-06-25 15:58   ` Maxime Ripard
2018-06-22 12:45 ` [PATCH v2 5/7] arm64: allwinner: a64: add necessary device tree nodes for DE2 CCU Icenowy Zheng
2018-06-23 14:06   ` [linux-sunxi] " Julian Calaby
2018-06-23 14:18     ` Icenowy Zheng
2018-06-23 14:49       ` Julian Calaby
2018-06-22 12:45 ` [PATCH v2 6/7] arm64: allwinner: a64: add device tree node for HDMI simplefb Icenowy Zheng
2018-06-25 15:59   ` Maxime Ripard
2018-06-26  3:32   ` [linux-sunxi] " Chen-Yu Tsai
2018-06-25 20:18 ` [PATCH v2 2/7] dt-bindings: add binding for the Allwinner A64 DE2 bus Rob Herring

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).