From owner-freebsd-arm@freebsd.org Wed Jan 18 00:56:47 2017 Return-Path: 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 5DEC0CB4D0D for ; Wed, 18 Jan 2017 00:56:47 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from mailhost.m5p.com (mailhost.m5p.com [IPv6:2001:418:3fd::f7]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "m5p.com", Issuer "Let's Encrypt Authority X3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id EF21A12FC for ; Wed, 18 Jan 2017 00:56:46 +0000 (UTC) (envelope-from george+freebsd@m5p.com) Received: from [IPv6:2001:418:3fd::1f] (haymarket.m5p.com [IPv6:2001:418:3fd::1f]) by mailhost.m5p.com (8.15.2/8.15.2) with ESMTP id v0I0udlL007142 for ; Tue, 17 Jan 2017 19:56:44 -0500 (EST) (envelope-from george+freebsd@m5p.com) To: "freebsd-arm@freebsd.org" From: George Mitchell Subject: Serial Peripheral Interface? Message-ID: Date: Tue, 17 Jan 2017 19:56:29 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE" X-Spam-Status: No, score=-4.2 required=10.0 tests=ALL_TRUSTED, RP_MATCHES_RCVD autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mattapan.m5p.com X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.1 (mailhost.m5p.com [IPv6:2001:418:3fd::f7]); Tue, 17 Jan 2017 19:56:45 -0500 (EST) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2017 00:56:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE Content-Type: multipart/mixed; boundary="ETkqSBq04l5eHTTxFHsPTvT2iDie0rpNA"; protected-headers="v1" From: George Mitchell To: "freebsd-arm@freebsd.org" Message-ID: Subject: Serial Peripheral Interface? --ETkqSBq04l5eHTTxFHsPTvT2iDie0rpNA Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The Raspberry Pi (among others) has two IIC interfaces on the GPIO connector, and there are /dev/iic0 and /dev/iic1 visible to userland. It also has two SPI interfaces, but despite the presence of "device spibus" and "device bcm2835_spi" in the RPI-B configuration file, I have been unable to detect any userland interface to the serial peripheral interface lines (except the dev.spibus and dev.spi sysctl entries). Is it possible to use the SPI interfaces somehow from userland? -- George --ETkqSBq04l5eHTTxFHsPTvT2iDie0rpNA-- --KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEENdM4ZHktsJW5kKZXwRES3m+p4fkFAlh+vUcACgkQwRES3m+p 4fkcQBAAkHt0W+X5HA++hRyo8t3dmiOXfPN5xA5nLPvJdwcoBUM6cXz5qvPFrUKA Ca9HJzyQgP5hAa2IVAYxGYmiZHXPawV0Vm1dkvuNdkMyrmPXPj6sxnKWoH6a/1ct 5M/OuWunoPZ6uk3+0ADgB7f2b3JwSDVTa8vz3W/b5qcUgUA3FSvCocorNGTKamT3 icBf8aT9Y0W2iBgBMuvJcauvdPh/4nZ4JvVuoo3VQZE0V0nmWZeVsBv6d54WdNc8 tnyMR+Q9DnhqI1HqYgUwZqzk+1byYqnW/iW8nnSYIBZupmomchr1yt/A0QxZ2egc tVls0B6ofKvk2IMmQe+ogzt3RdY2CZL/ic9n45k6i8DCjb7QiaPf1MadUt6XaI7U WIbn3d6GIT7L9dqsTCqYH06t3XEyMxACWkpUaXzIKahiMeaxuJnt4KRyLrKwc2vR B/wJ4/5YUdTpWSSf9r2wX6j/gKZF4qbqqQeX7HO8oMvgRbu5RzjrC9su0bIJEFl+ L9hsUpsdT8yDVTrHwHat9BBQGSt9F6NR6lii7zhrq7N9ZwNttuqFowbZ5PVSEdWw 3Tf3oS1IcxCxFIb5/3YjaQHtxmDs+j+3RebdBFDmnbPpYsiAQoPnpVxNBktIwbCt SNCTmnHBKbveH44uozvYQmaxX290Z8cqz99BXUoAN3+ofjOgnEg= =X2dK -----END PGP SIGNATURE----- --KJdokKKrnQEoefPHkA7BXlaIegeSNxNIE--