13

The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 2: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 3: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 4: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 5: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 6: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 7: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 8: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 9: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 10: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken

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

Page 11: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken

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

Page 12: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken
Page 13: The world’s leading software development platform · GitHub · Google Summer of Code charDev sys Sysfs (like the VI block ) will be containing all the code. It will be then broken