pine64,pinephone.conf 1.5 KB

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