purism,librem5.conf 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Version = 1;
  2. Make: "Purism";
  3. Model: "Librem 5";
  4. Rear: {
  5. SensorDriver: "s5k3l6xx";
  6. BridgeDriver: "imx7-csi";
  7. Modes: (
  8. {
  9. Width: 4208;
  10. Height: 3120;
  11. Rate: 15;
  12. Format: "GRBG8";
  13. Rotate: 270;
  14. Transfer: "srgb";
  15. # All the links on this platform are immutable
  16. Pipeline: (
  17. {Type: "Mode", Entity: "s5k3l6xx"},
  18. {Type: "Mode", Entity: "imx8mq-mipi-csi2"},
  19. {Type: "Mode", Entity: "csi"},
  20. );
  21. },
  22. {
  23. Width: 1052;
  24. Height: 780;
  25. Rate: 30;
  26. Format: "GRBG8";
  27. Rotate: 270;
  28. Transfer: "srgb";
  29. Pipeline: (
  30. {Type: "Mode", Entity: "s5k3l6xx"},
  31. {Type: "Mode", Entity: "imx8mq-mipi-csi2"},
  32. {Type: "Mode", Entity: "csi"},
  33. );
  34. },
  35. );
  36. };
  37. Front: {
  38. SensorDriver: "hi846";
  39. BridgeDriver: "imx7-csi";
  40. FlashDisplay: true;
  41. Modes: (
  42. {
  43. Width: 1632;
  44. Height: 1224;
  45. Rate: 30;
  46. Format: "GBRG10";
  47. Rotate: 90;
  48. Mirror: true;
  49. Pipeline: (
  50. {Type: "Mode", Entity: "hi846"},
  51. {Type: "Mode", Entity: "imx8mq-mipi-csi2"},
  52. {Type: "Mode", Entity: "csi"},
  53. );
  54. }
  55. );
  56. };