pine64,pinephone.conf 1.3 KB

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