I want to fix TX2 VI clock rate, the BSP is r32.3.1. How to modify code? Thanks.
Try below command to modify it manually.
sudo su echo 1 > /sys/kernel/debug/bpmp/debug/clk/vi/mrq_rate_locked echo 1 > /sys/kernel/debug/bpmp/debug/clk/nvcsi/mrq_rate_locked cat /sys/kernel/debug/bpmp/debug/clk/vi/max_rate |tee /sys/kernel/debug/bpmp/debug/clk/vi/rate cat /sys/kernel/debug/bpmp/debug/clk/nvcsi/max_rate | tee /sys/kernel/debug/bpmp/debug/clk/nvcsi/rate
Thanks for your reply, how to modify the driver code? Thank you.
For camera driver case you can modify the pix_clk_hz in device tree to change it.
Also you can set it by kernel API clk_set_rate() in any of kernel space driver.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.