diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-01-07 19:00:49 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-01-08 19:17:28 -0800 |
commit | 12cf8e75727a76d6e617619b791ac0de062e7bdb (patch) | |
tree | 5d84341160d6a02d76133044b8ff0a2a4acad87b /drivers/gpio/gpio-em.c | |
parent | 05eab1bf1ba6e515b1259064eaa54991e74faf20 (diff) | |
download | linux-stable-12cf8e75727a76d6e617619b791ac0de062e7bdb.tar.gz linux-stable-12cf8e75727a76d6e617619b791ac0de062e7bdb.tar.bz2 linux-stable-12cf8e75727a76d6e617619b791ac0de062e7bdb.zip |
bgmac: add bgmac_umac_*() helpers for accessing UniMAC registers
UniMAC is a hardware block commonly used in Broadcom Ethernet controllers
that should get its own header file. Not every controller has it mapped at
the 0x800 offset so add bgmac access helpers. They will allow using
shared register defines.
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20210107180051.1542-1-zajec5@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpio/gpio-em.c')
0 files changed, 0 insertions, 0 deletions