From 29687edd575228997d5ba994df71c1150e2f01ab Mon Sep 17 00:00:00 2001 From: Yassine Oudjana Date: Sat, 26 Feb 2022 14:32:01 +0400 Subject: [PATCH] Add initial configuration for Xiaomi Mi Note 2 (MR 13) --- config/xiaomi,scorpio.ini | 17 +++++++++++++++++ meson.build | 1 + 2 files changed, 18 insertions(+) create mode 100644 config/xiaomi,scorpio.ini diff --git a/config/xiaomi,scorpio.ini b/config/xiaomi,scorpio.ini new file mode 100644 index 0000000..cce6d49 --- /dev/null +++ b/config/xiaomi,scorpio.ini @@ -0,0 +1,17 @@ +[device] +make=Xiaomi +model=Mi Note 2 + +[rear] +driver=imx318 +media-driver=qcom-camss +capture-width=3840 +capture-height=2160 +capture-rate=30 +capture-fmt=RGGB10P +preview-width=3840 +preview-height=2160 +preview-rate=30 +preview-fmt=RGGB10P +rotate=90 +media-links=imx318 3-001a:0->msm_csiphy0:0,msm_csiphy0:1->msm_csid0:0,msm_csid0:1->msm_ispif0:0,msm_ispif0:1->msm_vfe0_rdi0:0 diff --git a/meson.build b/meson.build index 565a564..e354470 100644 --- a/meson.build +++ b/meson.build @@ -60,6 +60,7 @@ install_data( 'config/pine64,pinephone-1.1.ini', 'config/pine64,pinephone-1.2.ini', 'config/pine64,pinetab.ini', + 'config/xiaomi,scorpio.ini', ], install_dir: get_option('datadir') / 'megapixels/config/')