From owner-freebsd-arm@FreeBSD.ORG Thu Mar 6 10:45:46 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 934318E8 for ; Thu, 6 Mar 2014 10:45:46 +0000 (UTC) Received: from mail-we0-x231.google.com (mail-we0-x231.google.com [IPv6:2a00:1450:400c:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2C33CF41 for ; Thu, 6 Mar 2014 10:45:46 +0000 (UTC) Received: by mail-we0-f177.google.com with SMTP id u57so2761477wes.8 for ; Thu, 06 Mar 2014 02:45:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=rifxyDMAHvcN4V4J86jRcUFfpwzKuOa0jq4vsLJSmnU=; b=RqDPKmZhBp5gt+qb81K9PBciWefibMnDbKua8nQ4BoS59L+e3zXw6v8RuMf9sSt5nQ QGjzxDmTJE1jCsJzZWDAwHiLFvCFEd9l5cnxprbeMHDVhg7We9xtEmSgERmeGoD49FUa yELBfqhLkok2hEpIfWLXdoVgGLjO2A2sr7y64Fk3Gl/YJWAAIOa0JfJT5pU+oFwPmTsj /Qng+N/tCSaxVzHhLuyQRAdSPQKW4vKkLYlO1Zy7spRsbMVJAZn/wFMoqLE29U0zMz+Z XGTmOk4HlrGnFbLwofDkeTt2YiNYuZCAsIYnnjcCipSX7wk99Du8RbPC5ElqV3kRoqZB lM8Q== X-Received: by 10.194.90.196 with SMTP id by4mr8612317wjb.45.1394102744531; Thu, 06 Mar 2014 02:45:44 -0800 (PST) Received: from ketas-laptop.mydomain (ketas-laptop6.si.pri.ee. [2001:ad0:91f:0:21a:6bff:fe66:2ad3]) by mx.google.com with ESMTPSA id f7sm14951169wjb.7.2014.03.06.02.45.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 06 Mar 2014 02:45:43 -0800 (PST) Sender: Sulev-Madis Silber Message-ID: <531851D6.5060308@hot.ee> Date: Thu, 06 Mar 2014 12:45:42 +0200 From: "Sulev-Madis Silber (ketas)" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-arm@freebsd.org Subject: TI AM335x ADC support (on BeagleBone Black) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 10:45:46 -0000 Hello. I'm trying to figure out how hard would it be to get ADC working on my BBB. 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] 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. Also, should watchdog work? It's in kernel (running "BEAGLEBONE" now) and there is /dev/fido but that can't be used? [1] http://ketas.si.pri.ee/bbb-poe-daemon/ -- ketas