]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
soc: ti: pruss: add helper functions to get/set PRUSS_CFG_GPMUX
authorTero Kristo <t-kristo@ti.com>
Tue, 19 Feb 2019 17:41:37 +0000 (11:41 -0600)
committerSuman Anna <s-anna@ti.com>
Sun, 24 Feb 2019 01:20:52 +0000 (19:20 -0600)
commitfcab2473cd9a2a71d8cdda6fe88714377e78f5ed
tree222888d43fe48075e7fd3170a5a4b8371075ad9d
parentb572459dde2dbb56dc89e34c0f945c8525f5c771
soc: ti: pruss: add helper functions to get/set PRUSS_CFG_GPMUX

Add two new helper functions pruss_cfg_get_gpmux() & pruss_cfg_set_gpmux()
to get and set the GP MUX mode for programming the PRUSS internal wrapper
mux functionality as needed by usecases.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
[s-anna@ti.com: reuse pruss_regmap functions and inline them]
Signed-off-by: Suman Anna <s-anna@ti.com>
include/linux/pruss_driver.h