I have a custom board design based on the i.MX6Q Sabresd board (MCIMX6Q-SDB) running Android 8.0.
We have changed our board to use an external PCIe 2.0 compliant clock as per the advice in this thread: https://community.nxp.com/message/1065467
We have received the board. I disabled the PCIe module in the device tree to avoid contention, and I can see that the external clock chip is outputting the required clock. Now I am looking at the software changes required for the PCIe module to support the external clock.
I have searched the forum and I can see a whole host of different threads with different advice, some of it targetting older kernel versions etc.
My question is: Is there example code, an app note or a go-to forum post with the most up to date procedure for disabling the internal PCIe clock and enabling the use of the external reference clock?