Files
openocd/tcl/interface
Tomas Vanek 5284a5f3ec tcl/interface: Find proper alias for RP1 on Raspberry Pi 5
Previously, Linux assigned gpiochip numbers sequentially depending on
when the chip driver was probed. As RP1 is on the end of a PCIe link, it
is probed later than the on-board chips (including expanders connected
over SPI/I2C). This meant that RP1's gpiochip assignment was at an
offset that could potentially change.

A downstream kernel patch now assigns fixed offsets for RP1 and the
onboard gpiochips. Query the device tree to get proper GPIO_CHIP index.

Change-Id: I759978d4b3021c815a7d9febb41961cd1d3d185c
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: https://review.openocd.org/c/openocd/+/8650
Reviewed-by: Jonathan Bell <jonathan@raspberrypi.com>
Tested-by: jenkins
2024-12-29 07:27:45 +00:00
..
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2024-11-02 21:01:07 +00:00
2024-11-02 21:01:07 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2024-11-02 21:01:07 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00
2022-06-24 21:54:01 +00:00