From owner-freebsd-arm@FreeBSD.ORG Tue Aug 27 12:36:04 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3FF63B5A for ; Tue, 27 Aug 2013 12:36:04 +0000 (UTC) (envelope-from lists.br@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CAEF92411 for ; Tue, 27 Aug 2013 12:36:03 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id x12so3325456wgg.11 for ; Tue, 27 Aug 2013 05:36:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=E4o1vRpCiq7Y+m5Rx9oFNT91j9zcn+uCGeskBXFi9bQ=; b=UYuMrF/e3Tk6byw1Fh3LUyIJZX+yfYhfzSNFxzjvkUa+uQ39RZJnK7qr/vOWBuv2pT ni3tjtWEE5HNQCOA/i4DIe+JMLQ4PyDtZtlRm0kxjA3jUyGxzs3nLfzCQBE72xk70F+w RJ3iTMsZjAy79ITKgK0PXel6+Mjs1X0gl5KiV1fOG7QdQLBJi6OQYqXrqmNEK9kWtyI0 RtLksl9q4Xh+ezgeVP7+TpZjpFCjCl5sVd9+AmEmwRQrNXSA5U9Ajz04la+yiMNcYggT 4dZj7x3+yObi6k2fk9qgz3FUl04FkUB1SaO4K9KFTMrlG0FGdUGjxZ7bUb6t2Gb7hlZe zgkQ== MIME-Version: 1.0 X-Received: by 10.180.187.41 with SMTP id fp9mr11180091wic.33.1377606962088; Tue, 27 Aug 2013 05:36:02 -0700 (PDT) Received: by 10.216.75.140 with HTTP; Tue, 27 Aug 2013 05:36:02 -0700 (PDT) In-Reply-To: References: <126AAEEA-1F99-42E4-9620-9CB4F3610671@gmail.com> Date: Tue, 27 Aug 2013 09:36:02 -0300 Message-ID: Subject: Re: SPI driver for RPi From: Luiz Otavio O Souza To: fabiodive Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-arm@freebsd.org" , Luiz Otavio O Souza X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 12:36:04 -0000 On 25 August 2013 11:12, fabiodive wrote: > Hello Luiz, > after applying the patches, > should I compile the kernel with the "device api" written into the kernel > config file? > thank you, > f. No, it is not needed and actually, there is no 'device spi' defined in kernel. SPI in general is handled by 'device spibus' plus the specific driver for your hardware, bcm2835_spi in this case. Luiz