Beagleboard-xM Camera LI-5M03 (MT9P031) Support With Device Tree Tested

25 views
Skip to first unread message

raj

unread,
Aug 10, 2015, 9:46:32 AM8/10/15
to BeagleBoard

Hello,

I've verified beagleboard-xM camera LI-5M03 (mt9p031) with device tree
on Linux 4.2.0-rc5 with the help of Laurent and Sakari.

If anybody interested, please go through link for more details

https://alaganraj.wordpress.com/2015/08/08/beagleboard-xm-camera-li-5m03-mt9p031-support-with-device-tree/

Thanks & Regards,
Alaganraj

raj

unread,
Aug 10, 2015, 9:46:32 AM8/10/15
to BeagleBoard
Hello,

I've verified beagleboard-xM camera LI-5M03 (mt9p031) with device tree on Linux 4.2.0-rc5.

Lorenzo Salvemini

unread,
May 14, 2021, 5:41:30 AM5/14/21
to BeagleBoard
Hi Alaganraj,
I've used your device tree on the BBxm with kernel 5.0.19 but I supsect that only 9 bits are captured instead of 12.
The doubt arise from the fact that even with Test Pattern I cannot see white but the highest value is 511 which is a dark gray.
I'm missing something ? Here below the device tree:
+&i2c2 {
+ clock-frequency = <100000>;
+
+ mt9p031@48 {
+ compatible = "aptina,mt9p031";
+ reg = <0x48>;
+
+ clocks = <&isp 0>;
+ reset-gpios = <&gpio4 2 GPIO_ACTIVE_LOW>;
+
+ vaa-supply = <&hsusb2_power>;
+ vdd-supply = <&vaux3>;
+ vdd_io-supply = <&vaux4>;
+
+ port {
+ mt9p031_out: endpoint {
+ input-clock-frequency = <21000000>;
+ pixel-clock-frequency = <48000000>;
+ remote-endpoint = <&ccdc_ep>;
+ };
+ };
+ };
+};
+
+&isp {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ports {
+ port@0 {
+ reg = <0>;
+ ccdc_ep: endpoint {
+ remote-endpoint = <&mt9p031_out>;
+ bus-width = <12>;
+ hsync-active = <1>;
+ vsync-active = <1>;
+ pclk-sample = <0>;
+ };
+ };
+ };
+};

Thank you in advance for any hints.
Lorenzo
Reply all
Reply to author
Forward
0 new messages