From owner-freebsd-arm@FreeBSD.ORG Mon Feb 16 08:34:22 2015 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ADD7B904 for ; Mon, 16 Feb 2015 08:34:22 +0000 (UTC) Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2D5C222F for ; Mon, 16 Feb 2015 08:34:21 +0000 (UTC) Received: from zeta.dino.sk (fw1.dino.sk [84.245.95.252]) (AUTH: LOGIN milan) by mailhost.netlabit.sk with ESMTPA; Mon, 16 Feb 2015 09:34:19 +0100 id 0036FC98.54E1AB8B.0000C0EF Date: Mon, 16 Feb 2015 09:34:18 +0100 From: Milan Obuch To: freebsd-arm@freebsd.org Subject: Raspberry Pi SPI device example? Message-ID: <20150216093418.3d1be83b@zeta.dino.sk> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.25; i386-portbld-freebsd10.1) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2015 08:34:22 -0000 Hi, I have little display attached to my raspberry, description found at https://learn.adafruit.com/adafruit-pitft-28-inch-resistive-touchscreen-display-raspberry-pi It uses SPI interface for bouth display module and touch panel overlay, so my question is - do we have any example how a SPI connected device could be used? This module uses ILI9341 as TFT driver/controller and STMPE610 for touch screen interface, both in SPI mode. As datasheets are available on internet, it should not be too hard to write a driver, but first some example would be great... Do we have anything like this? I could try to look how it is done on raspbian linux, but as internally this is totally different, I would like to avoid this, not to mention I have a hard time understand linux kernel sources... Regards, Milan