pine64,pinephone.conf 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Version = 1;
  2. Make: "PINE64";
  3. Model: "PinePhone";
  4. Rear: {
  5. SensorDriver: "ov5640";
  6. BridgeDriver: "sun6i-csi";
  7. FlashPath: "/sys/class/leds/white:flash";
  8. IsoMin: 100;
  9. IsoMax: 64000;
  10. Modes: (
  11. {
  12. Width: 2592;
  13. Height: 1944;
  14. Rate: 15;
  15. Format: "BGGR8";
  16. Rotate: 270;
  17. FocalLength: 3.33;
  18. FNumber: 3.0;
  19. Pipeline: (
  20. {Type: "Link", From: "ov5640", FromPad: 0, To: "sun6i-csi", ToPad: 0},
  21. {Type: "Mode", Entity: "ov5640", Width: 2592, Height: 1944, Format: "BGGR8"}
  22. );
  23. },
  24. {
  25. Width: 1280;
  26. Height: 720;
  27. Rate: 30;
  28. Format: "BGGR8";
  29. Rotate: 270;
  30. FocalLength: 3.33;
  31. FNumber: 3.0;
  32. Pipeline: (
  33. {Type: "Link", From: "ov5640", FromPad: 0, To: "sun6i-csi", ToPad: 0},
  34. {Type: "Mode", Entity: "ov5640"}
  35. );
  36. },
  37. {
  38. Width: 1280;
  39. Height: 720;
  40. Rate: 30;
  41. Format: "YUYV";
  42. Rotate: 270;
  43. FocalLength: 3.33;
  44. FNumber: 3.0;
  45. Pipeline: (
  46. {Type: "Link", From: "ov5640", FromPad: 0, To: "sun6i-csi", ToPad: 0},
  47. {Type: "Mode", Entity: "ov5640"}
  48. );
  49. }
  50. );
  51. };
  52. Front: {
  53. SensorDriver: "gc2145";
  54. BridgeDriver: "sun6i-csi";
  55. FlashDisplay: true;
  56. Modes: (
  57. {
  58. Width: 1280;
  59. Height: 960;
  60. Rate: 60;
  61. Format: "BGGR8";
  62. Rotate: 90;
  63. Mirror: true;
  64. Pipeline: (
  65. {Type: "Link", From: "gc2145", FromPad: 0, To: "sun6i-csi", ToPad: 0},
  66. {Type: "Mode", Entity: "gc2145"}
  67. );
  68. }
  69. );
  70. };