xiaomi,markw.conf 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. };
  28. Rear: {
  29. SensorDriver: "s5k3l8";
  30. BridgeDriver: "qcom-camss";
  31. Modes: (
  32. {
  33. Width: 4208;
  34. Height: 3120;
  35. Rate: 30;
  36. Format: "GRBG10p";
  37. Rotate: 270;
  38. Pipeline: (
  39. {Type: "Link", From: "msm_csiphy0", FromPad: 1, To: "msm_csid0", ToPad: 0},
  40. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  41. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  42. {Type: "Mode", Entity: "s5k3l8"},
  43. {Type: "Mode", Entity: "msm_csiphy0"},
  44. {Type: "Mode", Entity: "msm_csid0"},
  45. {Type: "Mode", Entity: "msm_ispif0"},
  46. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  47. );
  48. },
  49. {
  50. Width: 1280;
  51. Height: 720;
  52. Rate: 120;
  53. Format: "GRBG10p";
  54. Rotate: 270;
  55. Pipeline: (
  56. {Type: "Link", From: "msm_csiphy0", FromPad: 1, To: "msm_csid0", ToPad: 0},
  57. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  58. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  59. {Type: "Mode", Entity: "s5k3l8"},
  60. {Type: "Mode", Entity: "msm_csiphy0"},
  61. {Type: "Mode", Entity: "msm_csid0"},
  62. {Type: "Mode", Entity: "msm_ispif0"},
  63. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  64. );
  65. }
  66. );
  67. };