Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Aug 2017 16:55:21 +0800 (CST)
From:      alina-AOSIF Generators <alina@aosif.com.cn>
To:        freebsd-arm@freebsd.org
Subject:   We are writing to introduce our generators for you
Message-ID:  <20170801165521685687@aosif.com.cn>

next in thread | raw e-mail | index | archive | help
RGVhciAgZnJlZWJzZC1hcm0sDQoNCkdvb2QgZGF5Lg0KVGhpcyBpcyBhbGluYSBmcm9tIFhpYW1l
biBBT1NJRiBFbmdpbmVlcmluZyBMdGQgIGZyb20gQ2hpbmEsIHdlIGFyZSBsZWFkaW5nIGRpZXNl
bCBnZW5lcmF0b3JzIG1hbnVmYWN0dXJlciBpbiBDaGluYS4gV2UgYXJlIGdsYWQgdG8ga25vdyBm
cm9tIHlvdXIgd2Vic2l0ZSB5b3Ugb2ZmZXIgYSByYW5nZSBvZiBlcXVpcG1lbnQgd2lkZSBlbm91
Z2ggdG8gbWVldCBldmVuIG1vc3Qgc3BlY2lmaWMgcG93ZXIgcmVxdWlyZW1lbnRzLCBmb3IgYWxs
IGFyZWFzIG9mIGluZHVzdHJ5LCBmb3IgYWxsIHR5cGVzIG9mIGFwcGxpY2F0aW9uLiBhbHNvIGtu
b3dzIHlvdSBjb29wZXJhdGVkIHdpdGggS0VZUE9XRVIgYmVmb3JlLiBXZSBhcmUgd3JpdGluZyB0
byBpbnRyb2R1Y2Ugb3VyIGRpZXNlbCBnZW5lcmF0b3JzIGZvciB5b3UuIFdlIGFyZSB0b3AgdGVu
IG9lbSBvZiBjdW1taW5zIGVuZ2luZSBhbmQgcGVya2lucyBlbmdpbmUgaW4gQ2hpbmEsIHdpdGgg
Y29tcGV0aXRpdmUgcHJpY2UuDQpJZiB5b3VyIGNvbXBhbnkgd291bGQgbGlrZSB0byBoZWxwIHVz
IHRvIHNlbGwgb3VyIHByb2R1Y3RzIGluIHRoZSBsb2NhbCBtYXJrZXQsIGl0IHdpbGwgYmUgb3Vy
IGdyZWF0IGhvbm9yLiANCllvdXIgcXVpY2sgcmVwbHkgd2lsbCBiZSBhcHByZWNpYXRlZCwgdGhh
bmtzIGFnYWluLg0KDQpCZXN0IHJlZ2FyZHMgDQoNCk1zLkFsaW5hIFlhbiANCkludGVybmF0aW9u
YWwgc2FsZXMgRGVwdC4NCg0KWGlhbWVuIEFPU0lGIEVuZ2luZWVyaW5nIEx0ZC4gDQoNCg0KQWRk
cmVzcyAxMDg4IFhpbmdodWEgUm9hZCxDaGFuZ3RhaSBlY29ub21pYyBkZXZlbG9wbWVudCB6b25l
LCBaaGFuZ3pob3UsIEZ1amlhbiwgQ2hpbmF8TW9iaWxlJldoYXRzQXBwOiArODYgMTM2IDY1MDYg
NzMyMHwNCkVtYWlsOiBhbGluYUBhb3NpZi5jb20uY24gfFNreXBlOiBhbGluYS55YW4zfFdlY2hh
dDogYWxpbmF5Zmx8V2ViOiB3d3cuYW9zaWYuY29tfA==
From owner-freebsd-arm@freebsd.org  Tue Aug  1 10:55:37 2017
Return-Path: <owner-freebsd-arm@freebsd.org>
Delivered-To: freebsd-arm@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 A585BDD0276
 for <freebsd-arm@mailman.ysv.freebsd.org>;
 Tue,  1 Aug 2017 10:55:37 +0000 (UTC)
 (envelope-from freebsd-arm@dino.sk)
Received: from mailhost.netlabit.sk (mailhost.netlabit.sk [84.245.65.72])
 (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 3933F71517;
 Tue,  1 Aug 2017 10:55:36 +0000 (UTC)
 (envelope-from freebsd-arm@dino.sk)
Received: from zeta.dino.sk (fw3.dino.sk [84.245.95.254]) (AUTH: LOGIN milan)
 by mailhost.netlabit.sk with ESMTPA; Tue, 01 Aug 2017 12:50:24 +0200
 id 00DE188B.59805CF0.0001626D
Date: Tue, 1 Aug 2017 12:50:24 +0200
From: Milan Obuch <freebsd-arm@dino.sk>
To: Emmanuel Vadot <manu@bidouilliste.com>
Cc: Dustin Marquess <dmarquess@gmail.com>, freebsd-arm@freebsd.org,
 Ian Lepore <ian@freebsd.org>
Subject: Re: Allwinner GPIO IRQ?
Message-ID: <20170801125024.4d38b893@zeta.dino.sk>
In-Reply-To: <20170801081921.0f9224bea088b8f58140ab9d@bidouilliste.com>
References: <CAJpsHY7DuhB3a6CPeEhzqHamdYAW5JA5h1pNAED-ibp+g5TC0A@mail.gmail.com>
 <1501537511.90400.116.camel@freebsd.org>
 <CAJpsHY5cd9OoM680mKY2CAGof0FdPBZTqJF9uQ40dJe5ZNXpbA@mail.gmail.com>
 <20170801081921.0f9224bea088b8f58140ab9d@bidouilliste.com>
X-Mailer: Claws Mail 3.15.0 (GTK+ 2.24.31; i386-portbld-freebsd10.3)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
X-BeenThere: freebsd-arm@freebsd.org
X-Mailman-Version: 2.1.23
Precedence: list
List-Id: "Porting FreeBSD to ARM processors." <freebsd-arm.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-arm/>;
List-Post: <mailto:freebsd-arm@freebsd.org>
List-Help: <mailto:freebsd-arm-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-arm>,
 <mailto:freebsd-arm-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Aug 2017 10:55:37 -0000

On Tue, 1 Aug 2017 08:19:21 +0200
Emmanuel Vadot <manu@bidouilliste.com> wrote:

> On Mon, 31 Jul 2017 17:22:11 -0500
> Dustin Marquess <dmarquess@gmail.com> wrote:
>=20
> > Ian,
> >=20
> > Thanks for the confirmation!  I'm not exactly a kernel-level dev,
> > so I was just pretty much guessing and poking around :).
> >=20
> > Thanks!
> > -Dustin
> >  =20
>=20
>  As Ian said the controller driver doesn't support interrupts, this
> would be easy to add but I have too much stuff to do so if someone
> want to work on this I'll be very happy.
>=20

[ snip ]

I am interested in this, too, as I am just starting to try a gpiopps...

> > > From a quick glance at the docs, it looks like only 32 of the
> > > pins on allwinner can be configured as interrupt sources, but it
> > > doesn't look like our code is ready to do that at all (I don't
> > > see any pins in the padconf tables that have "irq" as one of
> > > their choices). =20
>=20
>  Yes, not all pins can be interrupts sources.
>  I've added for most of the padconf information on which pins can do
> it (see
> https://svnweb.freebsd.org/base/head/sys/arm/allwinner/a20/a20_padconf.c?=
revision=3D310117&view=3Dmarkup#l104
> for example).
>  They are named eint like in the datasheet and linux (so a dts that
> would reference them on linux would work for us).
>=20

=46rom a quick glance over this file I see there are both PC19 and PH10
marked as eint12 - is it OK? Similarly PC20 and PH11, PC21 and PH12,
PC22 and PH13. Also, Pins PI10 to PI19 are marked with eint. I did not
try to read a datasheet, yet, so this could be dumb question, but
still, I would like to know the reason...

Anyway, as I am working with Orange Pi boards, I think this is not
relevant for me, I am looking in h3_padconf.c and h3_r_padconf.c, it
looks like all pins from PA, PG and PL blocks are usable as interrupt
source... and I see no such double usage here.

Regards,
Milan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170801165521685687>