xiaomi,scorpio.conf 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Version = 1;
  2. Make: "Xiaomi";
  3. Model: "Mi Note 2";
  4. Rear: {
  5. SensorDriver: "imx318";
  6. BridgeDriver: "qcom-camss";
  7. Modes: (
  8. {
  9. Width: 3840;
  10. Height: 2160;
  11. Rate: 30;
  12. Format: "RGGB10p";
  13. Rotate: 90;
  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: "imx318"},
  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: 30;
  29. Format: "UYUV";
  30. Rotate: 90;
  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: "imx318"},
  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. };