diff options
author | Antoine Tenart <antoine.tenart@bootlin.com> | 2020-06-23 16:30:07 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-24 14:33:16 -0700 |
commit | 0ef44e5cab8dbf0a0327871b48fe7c8425d0d885 (patch) | |
tree | 0606c9c9ee72e8f12b616c00246fa5988b95a36e /drivers | |
parent | 7b0cc34ac4795f5e1b7c586f136866f25e9b5ae5 (diff) |
net: phy: add support for a common probe between shared PHYs
Shared PHYs (PHYs in the same hardware package) may have shared
registers and their drivers would usually need to share information.
There is currently a way to have a shared (part of the) init, by using
phy_package_init_once(). This patch extends the logic to share parts of
the probe to allow sharing the initialization of locks or resources
retrieval.
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions