I’m looking for a platform where I can connect a camera sensor on MIPI CSI but I need to generate a clock in range [6-27]MHz to the 18th pin of the camera connector (CSI_CLKBP). On schematics I found it was connected to the PWMAO_D of the A311D SoC, but I’m unsure about its capabilities. I couldn’t find additional information in the software stack sources.
Is it possible to modify the device tree in order to generate a valid clock for such camera ?
Edit: Figured out that A311D CSI ISP is not currently supported, but I’m not sure it’s a real problem ?
If you search for amlcam, there’s code for driving the CSI with various YUV sensors. It’s in the NDA Yocto SDK: aml-comp/hardware/aml-5.4/amlogic/arm-isp/driver/linux/kernel/mipi_yuv_sensor/amlcam
Perhaps you can find it on GitHub but it will require porting to upstream. We plan to bring CSI up around the end of the year. Khadas doesn’t care about upstream.