device: msm8226: add support for focaltech firmware upgrade

Write to the firmware upgrade sysfs nodes on boot to provide
auto upgrade feature for focaltech touch controllers on 8226.

CRs-Fixed: 623803
Change-Id: Ibe355041766750b3248cb65d5df9980cdc9171c1
diff --git a/init.target.rc b/init.target.rc
index 3e6fea0..71a1cea 100644
--- a/init.target.rc
+++ b/init.target.rc
@@ -63,6 +63,8 @@
     chown system system /sys/class/leds/green/blink
     # Enable writing to brightness node under torch-light from userspace
     chown system system /sys/class/leds/torch-light/brightness
+    # Enable Focaltech touch controller auto firmware update
+    write /sys/bus/i2c/drivers/ft5x06_ts/5-0038/update_fw 1
 
 #Start the qcom-system-daemon service
 service qcomsysd /system/bin/qcom-system-daemon