]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
soc: ti: pruss: Parse various syscon nodes and store their regmaps
authorSuman Anna <s-anna@ti.com>
Tue, 19 Feb 2019 21:24:40 +0000 (15:24 -0600)
committerSuman Anna <s-anna@ti.com>
Sat, 23 Feb 2019 17:15:12 +0000 (11:15 -0600)
commit62160db6fc07003f15e77c776314ba8d37b5adc0
tree2164218e79db85d4af11da00ceaf2c21b51f00f7
parent2683046e799818adda5bb6b60008c5ab5a4ff30a
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>
drivers/soc/ti/Kconfig
drivers/soc/ti/pruss.c
include/linux/pruss_driver.h