Thread (34 messages) 34 messages, 7 authors, 2023-02-01

Re: [PATCH v5 net-next 07/13] net: dsa: felix: add support for MFD configurations

flat view

From: Florian Fainelli <f.fainelli@gmail.com>
Date: 2023-01-27 19:42:36
Also in: linux-devicetree, lkml


On 1/27/2023 11:35 AM, Colin Foster wrote:
The architecture around the VSC7512 differs from existing felix drivers. In
order to add support for all the chip's features (pinctrl, MDIO, gpio) the
device had to be laid out as a multi-function device (MFD).

One difference between an MFD and a standard platform device is that the
regmaps are allocated to the parent device before the child devices are
probed. As such, there is no need for felix to initialize new regmaps in
these configurations, they can simply be requested from the parent device.

Add support for MFD configurations by performing this request from the
parent device.

Signed-off-by: Colin Foster <colin.foster@in-advantage.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help