summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPraneeth Bajjuri <praneeth@ti.com>2016-12-06 23:53:05 -0600
committerVishal Mahaveer <vishalm@ti.com>2016-12-09 00:15:55 -0500
commitfc6cc0c84573300e62f7d3c80765f34ecc2007f0 (patch)
tree9cebc811a5b31029d0fcfc113f1dc54576407b64
parentaa39fc7bca6c3eea0e5d3ccba586e8af420e757d (diff)
downloadproprietary-open-d-marshmallow-mr2-release.tar.gz
dra71-evm: Add touch firmwared-marshmallow-mr2-release
Based on linux firmware binary of the same. Ref: http://git.ti.com/cgit/cgit.cgi/processor-firmware/ti-linux-firmware.git/commit/?h=ti-linux-firmware-4.1.y&id=f1a8d1d0131f83bd1a775cde7075eb67c070892c dra71-evm display panel needs updated configuration. This patch adds initial firmware/cofiguration binary for a functional goodix touch panel on top of DRA71 Rev A display panel. Change-Id: Ic6247a8b573efdb4d3685b29575fc2cbd4241299 Signed-off-by: Praneeth Bajjuri <praneeth@ti.com>
-rw-r--r--Android.mk29
-rw-r--r--jacinto6/LICENCE.Spectrum-GT927130
-rw-r--r--jacinto6/touch-full_jacinto6evm.mk24
-rw-r--r--jacinto6/touch_full_jacinto6evm.tgzbin0 -> 1151 bytes
4 files changed, 83 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 12fc0f3..d481147 100644
--- a/Android.mk
+++ b/Android.mk
@@ -42,6 +42,35 @@ endif
#############################################
#############################################
+# Install J6Entry touch firmware
+#############################################
+ifneq ($(TOUCH_TGZ),)
+ti-touch.untarred_intermediates := $(call intermediates-dir-for, FAKE, ti-touch.untarred)
+ti-touch.untarred_timestamp := $(ti-touch.untarred_intermediates)/stamp
+
+$(ti-touch.untarred_timestamp) : $(TOUCH_TGZ)
+ @echo "Unzip $(dir $@) <- $<)"
+ $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
+ $(hide) tar -C $(dir $@) -zxf $<
+ $(hide) touch $@
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := $(TOUCH_BINARY)
+LOCAL_MODULE_CLASS := FAKE
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
+
+include $(BUILD_SYSTEM)/base_rules.mk
+
+$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(ti-touch.untarred_intermediates)/$(TOUCH_BINARY)
+$(LOCAL_BUILT_MODULE) : $(ti-touch.untarred_timestamp) | $(ACP)
+ @echo "Copy $@ <- $(PRIVATE_SRC)"
+ @mkdir -p $(dir $@)
+ $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
+endif
+#############################################
+
+#############################################
# Install Tesla-binary FW
#############################################
diff --git a/jacinto6/LICENCE.Spectrum-GT9271 b/jacinto6/LICENCE.Spectrum-GT9271
new file mode 100644
index 0000000..ef319c4
--- /dev/null
+++ b/jacinto6/LICENCE.Spectrum-GT9271
@@ -0,0 +1,30 @@
+Copyright (c) 2016, Spectrum Digital Incorporated
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+1. Redistributions of source code must retain the above copyright notice,
+this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holder nor the names of its contributors
+may be used to endorse or promote products derived from this software without
+specific prior written permission.
+
+DISCLAIMER.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/jacinto6/touch-full_jacinto6evm.mk b/jacinto6/touch-full_jacinto6evm.mk
new file mode 100644
index 0000000..c1d27c0
--- /dev/null
+++ b/jacinto6/touch-full_jacinto6evm.mk
@@ -0,0 +1,24 @@
+# Copyright (C) 2012 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# Add Touchscreen- Define the tgz to be unpacked, and enable the
+# DRA71x-RevA-GT9271_SpecDig_Config.bin package, which is defined in the top-level Android.mk
+# of the proprietary-open tree
+
+ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),full_jacinto6evm))
+TOUCH_TGZ := device/ti/proprietary-open/jacinto6/touch_full_jacinto6evm.tgz
+TOUCH_BINARY := DRA71x-RevA-GT9271_SpecDig_Config.bin
+PRODUCT_PACKAGES += DRA71x-RevA-GT9271_SpecDig_Config.bin
+endif
diff --git a/jacinto6/touch_full_jacinto6evm.tgz b/jacinto6/touch_full_jacinto6evm.tgz
new file mode 100644
index 0000000..5cba4f0
--- /dev/null
+++ b/jacinto6/touch_full_jacinto6evm.tgz
Binary files differ