iMX7 Dual Resource Domain Controller (RDC) support in Linux Kernel

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX7 Dual Resource Domain Controller (RDC) support in Linux Kernel

975 Views
nilesh_emqos
Contributor I

Hi,

I am looking for iMX7 Dual Resource Domain Controller (RDC) support in Linux Kernel 4.9.11 to access and share GPIOs and memory by both cortex-M4 and cortex-A7.

1. If support is provided, then please provide an example code on how to access/share GPIOs and memory by both cortex-M4 and cortex-A7 using RDC with/without sema4.

2. Can GPIO of same port be shared by both cortex-M4 and cortex-A7 at a time e.g. GPIO1's 1st port pin used cortex-M4 and  GPIO1's 2nd port pin used cortex-M4? Please provide example code.

3. Can MMC memory shared by both cortex-M4 and cortex-A7 at a time? Please provide example code.

4. Is the configure rdc supported in atf (ARM Trusted Firmware) for iMX7Dual, to set GPIO permissions for accessing  both by A7 and M4?

Please share web links for example code for the same ASAP.

Thanks,

Warm Regards,

Nilesh.

 

 

Labels (1)
Tags (2)
0 Kudos
1 Reply

965 Views
igorpadykov
NXP Employee
NXP Employee

Hi Nilesh

 

for i.MX7 rdc support is provided in  FreeRTOS_BSP_iMX7D  ../drivers/src/rdc.c, rdc_semaphore.c

available on  Windows Installer: i.MX 7Dual/Solo FreeRTOS BSP for Cortex-M4

Rdc is not supported in linux kernel.

In theory resources like memory, gpio and other peripherals can be shared by cortex-M4 and cortex-A7,

however software examples are not available, sorry.

 

Best regards
igor

0 Kudos