From owner-freebsd-usb@freebsd.org Fri Aug 5 09:00:51 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 4FCC4BAEAA7 for ; Fri, 5 Aug 2016 09:00:51 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) (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 0EE391A92 for ; Fri, 5 Aug 2016 09:00:50 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from [88.198.220.131] (helo=sslproxy02.your-server.de) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1bVazi-0002mQ-DA for freebsd-usb@freebsd.org; Fri, 05 Aug 2016 11:00:42 +0200 Received: from [82.135.62.35] (helo=mail.embedded-brains.de) by sslproxy02.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bVazi-0007z2-5X for freebsd-usb@freebsd.org; Fri, 05 Aug 2016 11:00:42 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 419832A000B for ; Fri, 5 Aug 2016 11:00:59 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id Hc18eZ_py2Lt for ; Fri, 5 Aug 2016 11:00:56 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id C25322A1807 for ; Fri, 5 Aug 2016 11:00:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id aWaHTFf4An-2 for ; Fri, 5 Aug 2016 11:00:56 +0200 (CEST) Received: from [192.168.96.129] (unknown [192.168.96.129]) by mail.embedded-brains.de (Postfix) with ESMTPSA id A6B692A000B for ; Fri, 5 Aug 2016 11:00:56 +0200 (CEST) To: freebsd-usb@freebsd.org From: Sebastian Huber Subject: USB Host Driver for Atmel USB High-Speed Interface (USBHS)? Message-ID: <57A455B6.5080608@embedded-brains.de> Date: Fri, 5 Aug 2016 11:00:38 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.99.2/22031/Fri Aug 5 09:06:32 2016) 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:00:51 -0000 Hello, there are several Atmel USB controllers supported by FreeBSD. However,=20 support for the Atmel USB High-Speed Interface (USBHS) module seems to=20 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=20 someone working on a driver already? If not, then in case someone is=20 able to develop a FreeBSD driver for this module, then please contact me=20 to potentially do this on a contract basis. --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG= . From owner-freebsd-usb@freebsd.org Fri Aug 5 09:07:01 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 CF878BAEE28 for ; Fri, 5 Aug 2016 09:07:01 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 9ACD51F3E for ; Fri, 5 Aug 2016 09:07:01 +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 3C5891FE024; Fri, 5 Aug 2016 11:06:53 +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> From: Hans Petter Selasky Message-ID: Date: Fri, 5 Aug 2016 11:11:12 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 In-Reply-To: <57A455B6.5080608@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:07:01 -0000 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 ? Else feel free to copy one of the existing Atmel based USB controller drivers and make a new one. They are probably very similar. --HPS From owner-freebsd-usb@freebsd.org Fri Aug 5 09:19:56 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 9293EBAF31D for ; Fri, 5 Aug 2016 09:19:56 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from dedi548.your-server.de (dedi548.your-server.de [85.10.215.148]) (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 4E0BB196C for ; Fri, 5 Aug 2016 09:19:55 +0000 (UTC) (envelope-from sebastian.huber@embedded-brains.de) Received: from [88.198.220.131] (helo=sslproxy02.your-server.de) by dedi548.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.85_2) (envelope-from ) id 1bVbIH-0003Bh-KS; Fri, 05 Aug 2016 11:19:53 +0200 Received: from [82.135.62.35] (helo=mail.embedded-brains.de) by sslproxy02.your-server.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bVbIH-0004cc-AU; Fri, 05 Aug 2016 11:19:53 +0200 Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id 6B40B2A000B; Fri, 5 Aug 2016 11:20:10 +0200 (CEST) Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id IlWdIE-Gj3_0; Fri, 5 Aug 2016 11:20:06 +0200 (CEST) Received: from localhost (localhost.localhost [127.0.0.1]) by mail.embedded-brains.de (Postfix) with ESMTP id D88472A1807; Fri, 5 Aug 2016 11:20:05 +0200 (CEST) X-Virus-Scanned: amavisd-new at zimbra.eb.localhost Received: from mail.embedded-brains.de ([127.0.0.1]) by localhost (zimbra.eb.localhost [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id wY_vPD42lc5p; Fri, 5 Aug 2016 11:20:05 +0200 (CEST) Received: from [192.168.96.129] (unknown [192.168.96.129]) by mail.embedded-brains.de (Postfix) with ESMTPSA id AFB0B2A000B; Fri, 5 Aug 2016 11:20:05 +0200 (CEST) Subject: Re: USB Host Driver for Atmel USB High-Speed Interface (USBHS)? To: Hans Petter Selasky , freebsd-usb@freebsd.org References: <57A455B6.5080608@embedded-brains.de> From: Sebastian Huber Message-ID: <57A45A33.6020607@embedded-brains.de> Date: Fri, 5 Aug 2016 11:19:47 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: smtp-embedded@poldinet.de X-Virus-Scanned: Clear (ClamAV 0.99.2/22031/Fri Aug 5 09:06:32 2016) 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:19:56 -0000 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 i= s >> 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=20 > sys/dev/usb/controller ? The register interface looks similar, but this is a device only driver?=20 At least I don't find defines for the host registers. I need the host mod= e. --=20 Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax : +49 89 189 47 41-09 E-Mail : sebastian.huber@embedded-brains.de PGP : Public key available on request. Diese Nachricht ist keine gesch=C3=A4ftliche Mitteilung im Sinne des EHUG= . 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