author | Suman Anna <s-anna@ti.com> | |
Tue, 19 Feb 2019 21:24:40 +0000 (15:24 -0600) | ||
committer | Suman Anna <s-anna@ti.com> | |
Sat, 23 Feb 2019 17:15:12 +0000 (11:15 -0600) | ||
commit | 62160db6fc07003f15e77c776314ba8d37b5adc0 | |
tree | 2164218e79db85d4af11da00ceaf2c21b51f00f7 | tree | snapshot (tar.xz tar.gz zip) |
parent | 2683046e799818adda5bb6b60008c5ab5a4ff30a | commit | diff |
soc: ti: pruss: Parse various syscon nodes and store their regmaps
The PRUSS device node currently uses three different syscon nodes for
CFG, IEP and MII_RT sub-modules. Parse these syscon nodes and store
their regmap handles to allow adding functions to program any register
within these sub-modules.
The MFD_SYSCON Kconfig option is also enabled whenever the PRUSS remoteproc
driver is enabled. The MFD_SYSCON is a boolean option, and the select
dependency option is chosen following the majority usage style within the
kernel, as well as to align with similar usage in couple of other
remoteproc drivers.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
The PRUSS device node currently uses three different syscon nodes for
CFG, IEP and MII_RT sub-modules. Parse these syscon nodes and store
their regmap handles to allow adding functions to program any register
within these sub-modules.
The MFD_SYSCON Kconfig option is also enabled whenever the PRUSS remoteproc
driver is enabled. The MFD_SYSCON is a boolean option, and the select
dependency option is chosen following the majority usage style within the
kernel, as well as to align with similar usage in couple of other
remoteproc drivers.
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
drivers/soc/ti/Kconfig | diff | blob | history | |
drivers/soc/ti/pruss.c | diff | blob | history | |
include/linux/pruss_driver.h | diff | blob | history |