Hi Andrew,
On Fri, 2021-04-09 at 22:10 +0200, Andrew Lunn wrote:
> On Fri, Apr 09, 2021 at 07:42:32AM +0200, Sander Vanheule wrote:
> > Hi Andrew,
> >
> > Thank you for the feedback. You can find a (leaked) datasheet at:
> > https://github.com/libc0607/Realte
Hi Mark,
On Fri, 2021-04-09 at 17:07 +0100, Mark Brown wrote:
> On Thu, Apr 08, 2021 at 10:52:34PM +0200, Sander Vanheule wrote:
> > Basic support for MIIM bus access. Support only includes clause-22
> > register access, with 5-bit addresses, and 16-bit wide registers.
>
&g
Hi Andrew,
Thank you for the feedback. You can find a (leaked) datasheet at:
https://github.com/libc0607/Realtek_switch_hacking/blob/files/RTL8231_Datasheet_1.2.pdf
On Fri, 2021-04-09 at 00:18 +0200, Andrew Lunn wrote:
> > - Providing no compatible for an MDIO child node is considered to
> > be e
Basic support for MIIM bus access. Support only includes clause-22
register access, with 5-bit addresses, and 16-bit wide registers.
Signed-off-by: Sander Vanheule
---
drivers/base/regmap/Kconfig | 6 +++-
drivers/base/regmap/Makefile | 1 +
drivers/base/regmap/regmap-miim.c | 58
ntroller and LED
matrix controller. Regmap initialisation could probably be moved to a parent
MFD, with gpio, led, and pinctrl cells. Is this a hard requirement if only a
GPIO controller is provided?
Sander Vanheule (2):
regmap: add miim bus support
gpio: Add Realtek RTL8231 support
dri
The RTL8231 GPIO and LED expander chip can be controlled via a MIIM or
I2C bus. A regmap interface is used to allow for portable code.
This patch only provides GPIO support, since this is the only known use,
as found on commercial devices.
Signed-off-by: Sander Vanheule
---
drivers/gpio