Commit 512c5be3 authored by Sander Vanheule's avatar Sander Vanheule Committed by Bartosz Golaszewski
Browse files

gpio: realtek-otto: Support reversed port layouts



The GPIO port layout on the RTL930x SoC series is reversed compared to
the RTL838x and RTL839x SoC series. Add new port offset calculator
functions to ensure the correct order is used when reading port IRQ
data, and ensure bgpio uses the right byte ordering.

Signed-off-by: default avatarSander Vanheule <sander@svanheule.net>
Signed-off-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
parent 06a6a774
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment