Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2012 20:13:56 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 209381 for review
Message-ID:  <201204102013.q3AKDuob047219@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@209381?ac=10

Change 209381 by rwatson@rwatson_svr_ctsrd_mipsbuild on 2012/04/10 20:13:49

	Checkpoint first cut at Terasic Multi-touch LCD (MTL) driver for
	FreeBSD/BERI.  This driver really just exports the MTL's region of
	physical address space to userspace via a memory mappable device
	node (/dev/terasic_mtllcd0), including text frame buffer, graphics
	frame buffer, and touch screen input.  A more refined and perhaps
	more granular approach might be desirable in the future so that,
	for example, we might hook up syscons(4) to the text frame buffer,
	and allow the different regions to be exported (and hence
	delegated from a Capsicum perspective) using separate device nodes.
	We might also want to allow read()/write() on it so that dd(1) can
	dump contents onto the text and graphics frame buffers easily.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/dev/terasic/mtllcd/terasic_mtllcd.c#1 add
.. //depot/projects/ctsrd/beribsd/src/sys/dev/terasic/mtllcd/terasic_mtllcd.h#1 add
.. //depot/projects/ctsrd/beribsd/src/sys/dev/terasic/mtllcd/terasic_mtllcd_nexus.c#1 add
.. //depot/projects/ctsrd/beribsd/src/sys/mips/beri/files.beri#10 edit
.. //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI.hints#6 edit
.. //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_MDROOT#4 edit
.. //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_SDROOT#4 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/mips/beri/files.beri#10 (text+ko) ====

@@ -6,6 +6,8 @@
 dev/altera/sdcard/altera_sdcard_nexus.c	optional altera_sdcard
 dev/terasic/de4led/terasic_de4led.c	optional terasic_de4led
 dev/terasic/de4led/terasic_de4led_nexus.c	optional terasic_de4led
+dev/terasic/mtllcd/terasic_mtllcd.c	optional terasic_mtllcd
+dev/terasic/mtllcd/terasic_mtllcd_nexus.c	optional terasic_mtllcd
 mips/beri/beri_machdep.c		standard
 mips/beri/gxemul_cons.c			optional gxemul_cons
 mips/mips/intr_machdep.c		standard

==== //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI.hints#6 (text+ko) ====

@@ -24,6 +24,6 @@
 #
 # Terasic Multi-touch LCD (MTL), an optional feature in DE-4 configurations
 #
-hint.mtllcd.0.at="nexus0"
-hint.mtllcd.0.maddr=0x7f800000
-hint.mtllcd.0.msize=0x800000
+hint.terasic_mtllcd.0.at="nexus0"
+hint.terasic_mtllcd.0.maddr=0x7f800000
+hint.terasic_mtllcd.0.msize=0x800000

==== //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_MDROOT#4 (text+ko) ====

@@ -50,6 +50,7 @@
 device		altera_jtag_uart
 device		altera_sdcard
 device		terasic_de4led
+device		terasic_mtllcd
 
 device		md
 device		loop

==== //depot/projects/ctsrd/beribsd/src/sys/mips/conf/BERI_SDROOT#4 (text+ko) ====

@@ -43,6 +43,7 @@
 device		altera_jtag_uart
 device		altera_sdcard
 device		terasic_de4led
+device		terasic_mtllcd
 
 device		md
 device		loop



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204102013.q3AKDuob047219>