Skip to content

Commit b52486e

Browse files
committed
Enable RP1 PIO driver and add notes
This will enable some pretty cool I/O on the RPi5 for those interested in programming the PIO state machines.
1 parent 37a49e9 commit b52486e

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,16 @@ cmd("amixer cset numid=3 2")
7676

7777
Change the last argument to `amixer` to `1` to output to the stereo output jack.
7878

79+
## RP1 PIO
80+
81+
The `rpi1-pio` device driver allows use of the PIO hardware using
82+
[`piolib`](https://github.com/raspberrypi/utils/tree/master/piolib). If you
83+
don't see `/dev/pio0`, the most likely cause is that you need to update your
84+
Raspberry Pi's boot EEPROM. See
85+
[rpi-eeprom](https://github.com/raspberrypi/rpi-eeprom) for binaries. It may be
86+
easier to upgrade the EEPROM via RaspberryPi OS if the instructions aren't
87+
clear.
88+
7989
## Provisioning devices
8090

8191
This system supports storing provisioning information in a small key-value store

linux-6.6.defconfig

+2-1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ CONFIG_RASPBERRYPI_FIRMWARE=y
160160
CONFIG_OF_CONFIGFS=y
161161
CONFIG_BLK_DEV_LOOP=y
162162
CONFIG_BLK_DEV_RAM=y
163+
CONFIG_RP1_PIO=y
163164
CONFIG_EEPROM_AT24=m
164165
CONFIG_SCSI=y
165166
# CONFIG_SCSI_PROC_FS is not set
@@ -274,7 +275,6 @@ CONFIG_INPUT_EVDEV=y
274275
# CONFIG_INPUT_KEYBOARD is not set
275276
# CONFIG_INPUT_MOUSE is not set
276277
CONFIG_INPUT_JOYSTICK=y
277-
CONFIG_JOYSTICK_RPISENSE=m
278278
CONFIG_INPUT_TOUCHSCREEN=y
279279
CONFIG_TOUCHSCREEN_EDT_FT5X06=m
280280
CONFIG_TOUCHSCREEN_RASPBERRYPI_FW=m
@@ -476,6 +476,7 @@ CONFIG_COMMON_CLK_RP1_SDIO=y
476476
CONFIG_CLK_RASPBERRYPI=y
477477
CONFIG_MAILBOX=y
478478
CONFIG_BCM2835_MBOX=y
479+
CONFIG_MBOX_RP1=y
479480
CONFIG_BCM2712_IOMMU=y
480481
CONFIG_RASPBERRYPI_POWER=y
481482
CONFIG_PWM=y

0 commit comments

Comments
 (0)