drivers: video: mipi_csi2rx: Set clocks according to pixel rate
Instead of fixing csi2rx clock frequencies, set them according to the pixel rate got from the camera sensor. Signed-off-by: Trung Hieu Le <trunghieu.le@nxp.com> Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
This commit is contained in:
parent
a40505148c
commit
a182394725
7 changed files with 184 additions and 96 deletions
|
@ -60,6 +60,9 @@
|
|||
compatible = "nxp,mipi-csi2rx";
|
||||
reg = <0x33334444 0x200>;
|
||||
status = "okay";
|
||||
clocks = <&ccm IMX_CCM_MIPI_CSI2RX_ROOT_CLK 0 0>,
|
||||
<&ccm IMX_CCM_MIPI_CSI2RX_UI_CLK 0 0>,
|
||||
<&ccm IMX_CCM_MIPI_CSI2RX_ESC_CLK 0 0>;
|
||||
|
||||
ports {
|
||||
#address-cells = <1>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue