aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorSuman Anna <[email protected]>2023-04-14 10:25:41 +0530
committerNishanth Menon <[email protected]>2023-05-17 09:15:39 -0500
commit51b5760e56ef19106a3c4487a66d186d46ccc6f4 (patch)
tree4c395ff488fcc0776ee3fc1332b72ae414ca0223 /lib/mpi/mpi-sub-ui.c
parentb789ca1e3380ab63b60c3356c026a7e8eb26ba01 (diff)
soc: ti: pruss: Add pruss_cfg_read()/update(), pruss_cfg_get_gpmux()/set_gpmux() APIs
Add two new generic API pruss_cfg_read() and pruss_cfg_update() to the PRUSS platform driver to read and program respectively a register within the PRUSS CFG sub-module represented by a syscon driver. These APIs are internal to PRUSS driver. 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. Various useful registers and macros for certain register bit-fields and their values have also been added. Signed-off-by: Suman Anna <[email protected]> Co-developed-by: Grzegorz Jaszczyk <[email protected]> Signed-off-by: Grzegorz Jaszczyk <[email protected]> Signed-off-by: Puranjay Mohan <[email protected]> Reviewed-by: Roger Quadros <[email protected]> Reviewed-by: Tony Lindgren <[email protected]> Reviewed-by: Simon Horman <[email protected]> Acked-by: Mathieu Poirier <[email protected]> Signed-off-by: MD Danish Anwar <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nishanth Menon <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions