pine64,pinephone.conf 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. FocalLength: 3.33;
  30. FNumber: 3.0;
  31. Pipeline: (
  32. {Type: "Link", From: "ov5640", FromPad: 0, To: "sun6i-csi", ToPad: 0},
  33. {Type: "Mode", Entity: "ov5640"},
  34. );
  35. }
  36. );
  37. };
  38. Front: {
  39. SensorDriver: "gc2145";
  40. BridgeDriver: "sun6i-csi";
  41. FlashDisplay: true;
  42. Modes: (
  43. {
  44. Width: 1280;
  45. Height: 960;
  46. Rate: 60;
  47. Format: "BGGR8";
  48. Rotate: 90;
  49. Mirror: true;
  50. Pipeline: (
  51. {Type: "Link", From: "gc2145", FromPad: 0, To: "sun6i-csi", ToPad: 0},
  52. {Type: "Mode", Entity: "gc2145"},
  53. );
  54. }
  55. );
  56. };