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
Il giorno lunedì 10 agosto 2015 alle 15:46:32 UTC+2 Alaganraj ha scritto:
> Hello,
>
> I've verified beagleboard-xM camera LI-5M03 (mt9p031) with device tree on
> Linux 4.2.0-rc5.
>
>
> 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
>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/b566b31d-51bf-4eab-8378-2ed677060213n%40googlegroups.com.