I'm sorry, but I still can't understand how to do this.
And I'm not familiar enough with the iMX6 processor to decipher Fig 18-2.
Currently I have:
mipi_mclk: mipi_mclk {
compatible = "pwm-clock";
#clock-cells = <0>;
clock-frequency = <37125000>;
clock-output-names = "mipi_mclk";
pwms = <&pwm3 0 27>; /* 1 / 27 ns = 37,125 MHz */
};
How would I do to base this clock on something else than pwm3? I guess I cant have the first line, as it'll no longer be a pwm clock, and the last line will neither be possible for the same reason.
I would be super happy if someone could point me in the right direction. I can't find any documentation with examples on how to do this.