xiaomi,markw.conf 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Version = 1;
  2. Make: "Xiaomi";
  3. Model: "Redmi 4 Prime";
  4. Front: {
  5. SensorDriver: "ov5670";
  6. BridgeDriver: "qcom-camss";
  7. Modes: (
  8. {
  9. Width: 2592;
  10. Height: 1944;
  11. Rate: 30;
  12. Format: "GRBG10p";
  13. Rotate: 90;
  14. Mirror: true;
  15. Pipeline: (
  16. {Type: "Link", From: "msm_csiphy2", FromPad: 1, To: "msm_csid0", ToPad: 0},
  17. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  18. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  19. {Type: "Mode", Entity: "ov5670"},
  20. {Type: "Mode", Entity: "msm_csiphy2"},
  21. {Type: "Mode", Entity: "msm_csid0"},
  22. {Type: "Mode", Entity: "msm_ispif0"},
  23. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  24. );
  25. },
  26. {
  27. Width: 1296;
  28. Height: 972;
  29. Rate: 30;
  30. Format: "GRBG10p";
  31. Rotate: 90;
  32. Mirror: true;
  33. Pipeline: (
  34. {Type: "Link", From: "msm_csiphy2", FromPad: 1, To: "msm_csid0", ToPad: 0},
  35. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  36. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  37. {Type: "Mode", Entity: "ov5670"},
  38. {Type: "Mode", Entity: "msm_csiphy2"},
  39. {Type: "Mode", Entity: "msm_csid0"},
  40. {Type: "Mode", Entity: "msm_ispif0"},
  41. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  42. );
  43. }
  44. );
  45. };
  46. Rear: {
  47. SensorDriver: "s5k3l8";
  48. BridgeDriver: "qcom-camss";
  49. Modes: (
  50. {
  51. Width: 4208;
  52. Height: 3120;
  53. Rate: 30;
  54. Format: "GRBG10p";
  55. Rotate: 270;
  56. Pipeline: (
  57. {Type: "Link", From: "msm_csiphy0", FromPad: 1, To: "msm_csid0", ToPad: 0},
  58. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  59. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  60. {Type: "Mode", Entity: "s5k3l8"},
  61. {Type: "Mode", Entity: "msm_csiphy0"},
  62. {Type: "Mode", Entity: "msm_csid0"},
  63. {Type: "Mode", Entity: "msm_ispif0"},
  64. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  65. );
  66. },
  67. {
  68. Width: 1280;
  69. Height: 720;
  70. Rate: 120;
  71. Format: "GRBG10p";
  72. Rotate: 270;
  73. Pipeline: (
  74. {Type: "Link", From: "msm_csiphy0", FromPad: 1, To: "msm_csid0", ToPad: 0},
  75. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  76. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  77. {Type: "Mode", Entity: "s5k3l8"},
  78. {Type: "Mode", Entity: "msm_csiphy0"},
  79. {Type: "Mode", Entity: "msm_csid0"},
  80. {Type: "Mode", Entity: "msm_ispif0"},
  81. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  82. );
  83. }
  84. );
  85. };