From owner-freebsd-arm@FreeBSD.ORG Thu Mar 6 14:10:28 2014 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3CFE2F64 for ; Thu, 6 Mar 2014 14:10:28 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C69D6907 for ; Thu, 6 Mar 2014 14:10:27 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id y10so3204099wgg.13 for ; Thu, 06 Mar 2014 06:10:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=jxpohfDHmyFfQtvk1UPVdqA8PM1/IqaNGg5zmdv7KYo=; b=t7c6T/ZHP+/bRCD5IhUED6cedD44+2Tgtkq5DtjRcUclbBTbrGFHMZDNJcXDrOrtAW pnl4uroJR9vZmMziyRzMrJnCXQjKt/X3uVGGEOEcrySr2qOO3EzqyQ3wT9FE0k8QWpRN 1tzG2ZsL2MGW1zOmo7iZ3hZD2hzMUbCG1iNufMzqeIBqhi1TVyb225bjI46/ySLN9u/k qngap3zrhtfU6bNOCD8rBwlHd0Eijouj5W5oPCjzWqjqxFNklaYUW6laf4lqrnmj9Wlf lw+Sn+sJC7GT7YCLImPi/WkDsXVuwLNJNUfgmoVnOxxeoJEQ0mrsgkHPQytmNkhX+sRR vxSw== X-Received: by 10.194.82.69 with SMTP id g5mr10163128wjy.85.1394115026209; Thu, 06 Mar 2014 06:10:26 -0800 (PST) Received: from [192.168.113.40] (142.Red-83-56-26.staticIP.rima-tde.net. [83.56.26.142]) by mx.google.com with ESMTPSA id h13sm17592837wjr.22.2014.03.06.06.10.24 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 06:10:25 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Subject: Re: TI AM335x ADC support (on BeagleBone Black) From: fabiodive In-Reply-To: Date: Thu, 6 Mar 2014 14:10:22 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <64573951-E47F-4384-A016-8F65FCD72B56@gmail.com> References: <531851D6.5060308@hot.ee> To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.1510) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Mar 2014 14:10:28 -0000 ADC support would be a great feature! I hope to contribute as well, Luiz, in case you write some code I can try it, I will also try to read the documentation to see if I can achieve some results. Thank you f. On Mar 6, 2014, at 14:02 , Luiz Otavio O Souza = wrote: > On 6 March 2014 07:45, Sulev-Madis Silber (ketas) wrote: >> Hello. >>=20 >> I'm trying to figure out how hard would it be to get ADC working on = my BBB. >>=20 >> Most of things seem to work (except some content on eMMC seemed to >> interfere with eMMC / USB - works with clean eMMC). Also 11-CURRENT = (at >> least r262309) is stable on it while running my PERL-POE daemon [1] >>=20 >> While I can fix some GPIO "just I/O" related things (like some pins = seem >> to be "lost"), I don't feel comfortable with writing device drivers >> right now. I read almost all the AM335x related IO code and then TI = ADC >> driver code for Linux but I don't see myself getting anything done = here >> alone (or it takes years). Maybe someone else works on those things >> already? I can test code to verify correct operation of ADC. >>=20 >> Also, should watchdog work? It's in kernel (running "BEAGLEBONE" now) >> and there is /dev/fido but that can't be used? >>=20 >>=20 >> [1] http://ketas.si.pri.ee/bbb-poe-daemon/ >>=20 >>=20 >> -- >> ketas >=20 > Hello Ketas, >=20 > I've started read the ADC chapter on TRM a couple of times but i'm yet > to finish it. >=20 > It is on my plans write a driver for the ADC unless someone beat me = here. >=20 > Looks like there is no watchdog driver for am335x, another good chance > for practice a little bit. >=20 > Cheers, > Luiz > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"