From nobody Fri Jan 13 05:26:59 2023 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NtVLS0WhQz2qrXk for ; Fri, 13 Jan 2023 05:28:00 +0000 (UTC) (envelope-from darius@dons.net.au) Received: from midget.dons.net.au (2403-5800-5200-4700-225-90ff-fe47-39b4.ip6.aussiebb.net [IPv6:2403:5800:5200:4700:225:90ff:fe47:39b4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "dons.net.au", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NtVLR2XBYz4CXm for ; Fri, 13 Jan 2023 05:27:59 +0000 (UTC) (envelope-from darius@dons.net.au) Authentication-Results: mx1.freebsd.org; none Received: from smtpclient.apple ([IPv6:2001:44b8:1d2:8900:b960:cdda:6f68:5295]) (authenticated bits=0) by midget.dons.net.au (8.17.1/8.15.2) with ESMTPSA id 30D5R5FI048963 (version=TLSv1.2 cipher=ECDHE-ECDSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 13 Jan 2023 15:57:11 +1030 (ACDT) (envelope-from darius@dons.net.au) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dons.net.au; s=default; t=1673587632; bh=e7gqxowcft2TNmirom9rQfhm2ridi3/ttQvQqAIg72A=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=bcgKmzwRtsfifR4itp9PZnr1IzFPUUpwNmD1CnxtsxuWltYD214h3sadRp2HJvRvm 69MpFWjcFNrxKF5wnmdzmBaYokMrw+B6HJ81c+xWt5eIvkqwKWzkYfiJGWcC8LrZzo brcmeEnKjsPNx2bLEVD4rvD23D0e0Daa8hYBEhf0= X-Authentication-Warning: midget.dons.net.au: Host [IPv6:2001:44b8:1d2:8900:b960:cdda:6f68:5295] claimed to be smtpclient.apple Content-Type: text/plain; charset=utf-8 List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: Gpiopps module From: "Daniel O'Connor" In-Reply-To: Date: Fri, 13 Jan 2023 15:56:59 +1030 Cc: Emmanuel Vadot , "freebsd-arm@freebsd.org" Content-Transfer-Encoding: quoted-printable Message-Id: <4CC9689C-2679-4420-BB2C-16D78F505C9B@dons.net.au> References: <20230110083520.4b284ec89da2c7cd8a1c8fa7@bidouilliste.com> To: John Rushford X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Spam-Status: No, score=0.40 X-Rspamd-Server: midget.dons.net.au X-Rspamd-Queue-Id: 4NtVLR2XBYz4CXm X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:4764, ipnet:2403:5800::/32, country:AU] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N Hi John, > On 13 Jan 2023, at 10:03, John Rushford wrote: > Other than this, the module doesn=E2=80=99t seem to be working = properly. Is there something I=E2=80=99ve missed? I think to get it to attach you will need a device tree overlay to tell = it which pin to attach to. I see a few examples: = https://forums.freebsd.org/threads/module-load-order-issue-freebsd-13-on-b= eaglebone-black-with-overlays.80861/ = https://forums.freebsd.org/threads/adafruit-ultimate-gps-hat-on-a-raspberr= y-pi-3b-and-freebsd-12.74798/ https://forums.freebsd.org/threads/gpio-interupts-on-allwinner-h3.74892/ I haven't tried it myself though. -- Daniel O'Connor "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum