hardware-mediatek: Add MT8127
@@ -16,6 +16,11 @@ in
default = false;
description = "enable when SOC is Mediatek MT6785 (Helio G90)";
};
+ hardware.socs.mediatek-mt8127.enable = mkOption {
+ type = types.bool;
+ default = false;
+ description = "enable when SOC is Mediatek MT8127";
+ };
};
config = mkMerge [
@@ -30,5 +35,11 @@ in
system.system = "aarch64-linux";
};
}
+ {
+ mobile = mkIf cfg.mediatek-mt8127.enable {
+ system.system = "armv7l-linux";
+ quirks.fb-refresher.enable = true;
+ };
+ }
];
}
