]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
dt-bindings: net: nxp,s32-dwmac: Use the GPR syscon
authorDan Carpenter <dan.carpenter@linaro.org>
Fri, 30 Jan 2026 13:19:47 +0000 (16:19 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Feb 2026 02:17:32 +0000 (18:17 -0800)
commit0d958803954339acbde220865c6c4241d2abf406
treecc33144aaa65f6b3a5212c51f8ac7c2643cacbaa
parentb0eeeb1b70c0b2e1118fec7c28ffb0e21fe98688
dt-bindings: net: nxp,s32-dwmac: Use the GPR syscon

The S32 chipsets have a GPR region which has a miscellaneous registers
including the GMAC_0_CTRL_STS register.  Originally, this code accessed
that register in a sort of ad-hoc way, but it's cleaner to use a
syscon interface to access these registers.

We still need to maintain the old method of accessing the GMAC register
but using a syscon will let us access other registers more cleanly.

Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/3b75e950b2f8faecd1a9fa757e7eb7b42ace838f.1769764941.git.dan.carpenter@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/nxp,s32-dwmac.yaml