From owner-freebsd-usb@freebsd.org Fri Aug 5 09:24:57 2016 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D142BBAF4FF for ; Fri, 5 Aug 2016 09:24:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DBBB1C8C for ; Fri, 5 Aug 2016 09:24:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (unknown [62.141.129.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E73DB1FE024; Fri, 5 Aug 2016 11:24:55 +0200 (CEST) Subject: Re: USB Host Driver for Atmel USB High-Speed Interface (USBHS)? To: Sebastian Huber , freebsd-usb@freebsd.org References: <57A455B6.5080608@embedded-brains.de> <57A45A33.6020607@embedded-brains.de> From: Hans Petter Selasky Message-ID: <433210bc-71eb-4d49-6713-9259a0cd38fe@selasky.org> Date: Fri, 5 Aug 2016 11:29:15 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <57A45A33.6020607@embedded-brains.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 09:24:57 -0000 On 08/05/16 11:19, Sebastian Huber wrote: > > > On 05/08/16 11:11, Hans Petter Selasky wrote: >> On 08/05/16 11:00, Sebastian Huber wrote: >>> Hello, >>> >>> there are several Atmel USB controllers supported by FreeBSD. However, >>> support for the Atmel USB High-Speed Interface (USBHS) module seems to >>> be missing. This module can be found for example on the ATSAMV71Q21: >>> >>> http://www.atmel.com/devices/ATSAMV71Q21.aspx >>> >>> Does someone know if this module is supported (maybe out of tree) or is >>> someone working on a driver already? If not, then in case someone is >>> able to develop a FreeBSD driver for this module, then please contact me >>> to potentially do this on a contract basis. >>> >> >> Hi, >> >> Can you check if you have a match with avr32dci.c in >> sys/dev/usb/controller ? > > The register interface looks similar, but this is a device only driver? > At least I don't find defines for the host registers. I need the host mode. > Right. Try looking on sys/dev/usb/controllers, if you find a match for the register set. Else make a new one, cloning one of the existing ones. --HPS