author | Suman Anna <s-anna@ti.com> | |
Thu, 15 Feb 2018 02:01:14 +0000 (20:01 -0600) | ||
committer | Suman Anna <s-anna@ti.com> | |
Sun, 24 Feb 2019 01:20:52 +0000 (19:20 -0600) | ||
commit | b572459dde2dbb56dc89e34c0f945c8525f5c771 | |
tree | db194f3ae7873da9c1b735706fa9e44b0510c045 | tree | snapshot (tar.xz tar.gz zip) |
parent | 2b27af09c55e4710ff9df1cecafca65e5132ccb3 | commit | diff |
soc: ti: pruss: add helper functions to set GPI mode, MII_RT_event and XFR
The PRUSS CFG module is represented as a syscon node and is currently
managed by the PRUSS platform driver. Add easy accessor functions to set
GPI mode, MII_RT event enable/disable and XFR (XIN XOUT) enable/disable
to enable the PRUSS Ethernet usecase. These functions reuse the generic
pruss_regmap_update() API function.
Signed-off-by: Suman Anna <s-anna@ti.com>
The PRUSS CFG module is represented as a syscon node and is currently
managed by the PRUSS platform driver. Add easy accessor functions to set
GPI mode, MII_RT event enable/disable and XFR (XIN XOUT) enable/disable
to enable the PRUSS Ethernet usecase. These functions reuse the generic
pruss_regmap_update() API function.
Signed-off-by: Suman Anna <s-anna@ti.com>
include/linux/pruss.h | diff | blob | history |