xiaomi,mido.conf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Version = 1;
  2. Make: "Xiaomi";
  3. Model: "Redmi Note 4";
  4. Rear: {
  5. SensorDriver: "s5k3l8";
  6. BridgeDriver: "qcom-camss";
  7. Modes: (
  8. {
  9. Width: 4208;
  10. Height: 3120;
  11. Rate: 30;
  12. Format: "GRBG10p";
  13. Rotate: 270;
  14. Pipeline: (
  15. {Type: "Link", From: "msm_csiphy0", FromPad: 1, To: "msm_csid0", ToPad: 0},
  16. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  17. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  18. {Type: "Mode", Entity: "s5k3l8"},
  19. {Type: "Mode", Entity: "msm_csiphy0"},
  20. {Type: "Mode", Entity: "msm_csid0"},
  21. {Type: "Mode", Entity: "msm_ispif0"},
  22. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  23. );
  24. },
  25. {
  26. Width: 1280;
  27. Height: 720;
  28. Rate: 120;
  29. Format: "GRBG10p";
  30. Rotate: 270;
  31. Pipeline: (
  32. {Type: "Link", From: "msm_csiphy0", FromPad: 1, To: "msm_csid0", ToPad: 0},
  33. {Type: "Link", From: "msm_csid0", FromPad: 1, To: "msm_ispif0", ToPad: 0},
  34. {Type: "Link", From: "msm_ispif0", FromPad: 1, To: "msm_vfe0_rdi0", ToPad: 0},
  35. {Type: "Mode", Entity: "s5k3l8"},
  36. {Type: "Mode", Entity: "msm_csiphy0"},
  37. {Type: "Mode", Entity: "msm_csid0"},
  38. {Type: "Mode", Entity: "msm_ispif0"},
  39. {Type: "Mode", Entity: "msm_vfe0_rdi0"}
  40. );
  41. }
  42. );
  43. };