|
@@ -64,11 +64,38 @@ def define_pitti(t,v):
|
|
|
],
|
|
|
)
|
|
|
|
|
|
+def define_monaco(t,v):
|
|
|
+ define_target_variant_modules(
|
|
|
+ target = t,
|
|
|
+ variant = v,
|
|
|
+ registry = touch_driver_modules,
|
|
|
+ modules = [
|
|
|
+ "pt_ts",
|
|
|
+ "pt_i2c",
|
|
|
+ "pt_device_access",
|
|
|
+ "pt_debug",
|
|
|
+ ],
|
|
|
+ config_options = [
|
|
|
+ "TOUCH_DLKM_ENABLE",
|
|
|
+ "CONFIG_ARCH_MONACO",
|
|
|
+ "CONFIG_MSM_TOUCH",
|
|
|
+ "CONFIG_TOUCHSCREEN_PARADE",
|
|
|
+ "CONFIG_TOUCHSCREEN_PARADE_DEVICETREE_SUPPORT",
|
|
|
+ "CONFIG_TOUCHSCREEN_PARADE_I2C",
|
|
|
+ "CONFIG_TOUCHSCREEN_PARADE_DEVICE_ACCESS",
|
|
|
+ "CONFIG_TOUCHSCREEN_PARADE_BUTTON",
|
|
|
+ "CONFIG_TOUCHSCREEN_PARADE_PROXIMITY",
|
|
|
+ "CONFIG_TOUCHSCREEN_PARADE_DEBUG_MDL",
|
|
|
+ ],
|
|
|
+)
|
|
|
+
|
|
|
def define_touch_target():
|
|
|
for (t, v) in get_all_la_variants() + get_all_le_variants() + get_all_lxc_variants():
|
|
|
if t == "blair":
|
|
|
define_blair(t, v)
|
|
|
elif t == "pitti":
|
|
|
define_pitti(t, v)
|
|
|
+ elif t == "monaco":
|
|
|
+ define_monaco(t, v)
|
|
|
else:
|
|
|
define_pineapple(t, v)
|