Signed-off-by: Patriot-06 <mbmc172@gmail.com>
---
scripts/deviceprofiles/sxmo_deviceprofile_xiaomi,mido.sh | 9 +++++++++
1 file changed, 9 insertions(+)
create mode 100755 scripts/deviceprofiles/sxmo_deviceprofile_xiaomi,mido.sh
diff --git a/scripts/deviceprofiles/sxmo_deviceprofile_xiaomi,mido.sh b/scripts/deviceprofiles/sxmo_deviceprofile_xiaomi,mido.sh
new file mode 100755
index 0000000..80e55a4
--- /dev/null
+++ b/scripts/deviceprofiles/sxmo_deviceprofile_xiaomi,mido.sh
@@ -0,0 +1,9 @@
+#!/bin/sh
+# redmi note 4
+# SPDX-License-Identifier: AGPL-3.0-only
+# Copyright 2022 Sxmo Contributors
+
+export SXMO_DISABLE_LEDS="1"
+export SXMO_MONITOR="DSI-1"
+export SXMO_POWER_BUTTON="0:0:pm8941_pwrkey"
+export SXMO_VOLUME_BUTTON="1:1:gpio-keys 0:0:pm8941_resin"
--
2.43.2