realtek: fix RTL8231 gpio expander usage with RTL839X SoC
authorBirger Koblitz <git@birger-koblitz.de>
Thu, 21 Jan 2021 14:09:47 +0000 (15:09 +0100)
committerPetr Štetiar <ynezz@true.cz>
Tue, 26 Jan 2021 14:06:50 +0000 (15:06 +0100)
commite1bca7c77d80b3f35f5045cd8983349819165f1e
treefc50b2fe4e656c705f30630f6e5b55116cd50039
parent6aac20bc0187e0934a9c167f21960202be182546
realtek: fix RTL8231 gpio expander usage with RTL839X SoC

This fixes the usage of the RTL8231 GPIO extender chip
when used with the RTL839X SoCs. Specifically,
the PHY addresses may be different from 0.

Signed-off-by: Birger Koblitz <git@birger-koblitz.de>
target/linux/realtek/files-5.4/drivers/gpio/gpio-rtl8231.c