Upload
others
View
0
Download
0
Embed Size (px)
Citation preview
PRU1
PRU0
R30 register in parallel capture mode
[capture parallel data. write to register/shared memory] [configurable bit resolution] [configurable frequency ]
vdevvrings remoteproc
Initializes INTC and other resources as per
the resource table
boots up with the firmware
and later shuts down
boots up with the firmware and later
shuts down
kick callbacks
PRU and parallel_bus_interface
virtio_rpmsg_busregister
vdev
Shared Memory, interrupts
parallel_bus_shutdown
parallel_bus_readparallel_bus_set_clock
parallel_bus_boot
…………………………..
parallel_bus_interfacedriver
callbackscallbacks
Fig. 2 - Probable working of parallel_bus_interface
Bus status-free/busy-shutdown/boot up
Bus configuration-set word length-set clock frequency
Data transaction-start clock-wait for data ready-read data-repeat if required-single read or continuous read
Data reformatting-managing read from bus
pp_offload_sleep
pp_offload_set_mode_of_op pp_offload_read
pp_offload_set_smpspp_offload_register_dev
………………...
iio device driver
Callbacks and APIs
parallel_bus_interface driver
Callbacks and APIs
Parallel-offload-Subsystem
Device registration-to register device
Fig. 3 Showing possible APIs for subsystem