All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ARM: dts: ls1021a: split dcu reg into four parts
@ 2016-09-06  9:07 Meng Yi
  0 siblings, 0 replies; only message in thread
From: Meng Yi @ 2016-09-06  9:07 UTC (permalink / raw)
  To: robh+dt-DgEjT+Ai2ygdnm+yROfE0A, shawnguo-DgEjT+Ai2ygdnm+yROfE0A,
	stefan-XLVq0VzYD2Y
  Cc: devicetree-u79uwXL29TY76Z2rM5mHXA, Meng Yi

split DCU reg memory map into four parts with reg-names "regs",
"palette", "gamma", "cursor". gamma area is little endian while
the orther areas are big endian.

Suggested-by: Stefan Agner <stefan-XLVq0VzYD2Y@public.gmane.org>
Signed-off-by: Meng Yi <meng.yi-3arQi8VN3Tc@public.gmane.org>
---
 arch/arm/boot/dts/ls1021a.dtsi | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi
index 5ae8e92..42f71db 100644
--- a/arch/arm/boot/dts/ls1021a.dtsi
+++ b/arch/arm/boot/dts/ls1021a.dtsi
@@ -495,7 +495,11 @@
 
 		dcu: dcu@2ce0000 {
 			compatible = "fsl,ls1021a-dcu";
-			reg = <0x0 0x2ce0000 0x0 0x10000>;
+			reg = <0x0 0x2ce0000 0x0 0x2000>,
+			      <0x0 0x2ce2000 0x0 0x2000>,
+			      <0x0 0x2ce4000 0x0 0xc00>,
+			      <0x0 0x2ce4c00 0x0 0x400>;
+			reg-names = "regs", "palette", "gamma", "cursor";
 			interrupts = <GIC_SPI 172 IRQ_TYPE_LEVEL_HIGH>;
 			clocks = <&platform_clk 0>,
 				<&platform_clk 0>;
-- 
2.1.0.27.g96db324

--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-09-06  9:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-06  9:07 [PATCH] ARM: dts: ls1021a: split dcu reg into four parts Meng Yi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.