]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: stmmac: dwmac-stm32: Mask support for PMCR configuration
authorChristophe Roullier <christophe.roullier@foss.st.com>
Tue, 11 Jun 2024 08:36:05 +0000 (10:36 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Fri, 14 Jun 2024 08:50:56 +0000 (10:50 +0200)
commit4f37dc467ffe5b56ab6b27cca207246172c0d861
tree348ea496eeed9009be61abecb4ca75158a400200
parentcbfad55322ceee283ff1dd053725b93c86018b88
net: stmmac: dwmac-stm32: Mask support for PMCR configuration

Add possibility to have second argument in syscon property to manage
mask. This mask will be used to address right BITFIELDS of PMCR register.

Signed-off-by: Christophe Roullier <christophe.roullier@foss.st.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/stmicro/stmmac/dwmac-stm32.c