linux-stable/include/linux/fsl
Wei Fang fe5ba6bf91 net: enetc: add initial netc-blk-ctrl driver support
The netc-blk-ctrl driver is used to configure Integrated Endpoint
Register Block (IERB) and Privileged Register Block (PRB) of NETC.
For i.MX platforms, it is also used to configure the NETCMIX block.

The IERB contains registers that are used for pre-boot initialization,
debug, and non-customer configuration. The PRB controls global reset
and global error handling for NETC. The NETCMIX block is mainly used
to set MII protocol and PCS protocol of the links, it also contains
settings for some other functions.

Note the IERB configuration registers can only be written after being
unlocked by PRB, otherwise, all write operations are inhibited. A warm
reset is performed when the IERB is unlocked, and it results in an FLR
to all NETC devices. Therefore, all NETC device drivers must be probed
or initialized after the warm reset is finished.

Signed-off-by: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2024-11-04 10:03:50 +00:00
..
bestcomm treewide: Replace zero-length array with flexible-array 2020-05-22 16:19:31 -05:00
edac.h
enetc_mdio.h net: enetc: add missing static descriptor and inline keyword 2024-10-11 15:59:15 -07:00
ftm.h include/fsl: add common FlexTimer #defines in a separate header. 2019-04-25 21:33:41 +02:00
guts.h soc: fsl: guts: fix comment syntax in file 2021-04-06 15:33:32 -05:00
mc.h bus: fsl-mc: make fsl_mc_bus_type const 2024-09-03 13:14:41 +02:00
netc_global.h net: enetc: add initial netc-blk-ctrl driver support 2024-11-04 10:03:50 +00:00
ptp_qoriq.h ptp_qoriq: fix latency in ptp_qoriq_adjtime() operation 2023-01-20 18:20:38 -08:00