summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPraneeth Bajjuri2016-12-06 23:53:05 -0600
committerVishal Mahaveer2016-12-08 23:15:55 -0600
commitfc6cc0c84573300e62f7d3c80765f34ecc2007f0 (patch)
tree9cebc811a5b31029d0fcfc113f1dc54576407b64
parentaa39fc7bca6c3eea0e5d3ccba586e8af420e757d (diff)
downloaddevice-ti-proprietary-open-fc6cc0c84573300e62f7d3c80765f34ecc2007f0.tar.gz
device-ti-proprietary-open-fc6cc0c84573300e62f7d3c80765f34ecc2007f0.tar.xz
device-ti-proprietary-open-fc6cc0c84573300e62f7d3c80765f34ecc2007f0.zip
dra71-evm: Add touch firmware
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
42############################################# 42#############################################
43 43
44############################################# 44#############################################
45# Install J6Entry touch firmware
46#############################################
47ifneq ($(TOUCH_TGZ),)
48ti-touch.untarred_intermediates := $(call intermediates-dir-for, FAKE, ti-touch.untarred)
49ti-touch.untarred_timestamp := $(ti-touch.untarred_intermediates)/stamp
50
51$(ti-touch.untarred_timestamp) : $(TOUCH_TGZ)
52 @echo "Unzip $(dir $@) <- $<)"
53 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@)
54 $(hide) tar -C $(dir $@) -zxf $<
55 $(hide) touch $@
56
57include $(CLEAR_VARS)
58LOCAL_MODULE := $(TOUCH_BINARY)
59LOCAL_MODULE_CLASS := FAKE
60LOCAL_MODULE_TAGS := optional
61LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/firmware
62
63include $(BUILD_SYSTEM)/base_rules.mk
64
65$(LOCAL_BUILT_MODULE) : PRIVATE_SRC := $(ti-touch.untarred_intermediates)/$(TOUCH_BINARY)
66$(LOCAL_BUILT_MODULE) : $(ti-touch.untarred_timestamp) | $(ACP)
67 @echo "Copy $@ <- $(PRIVATE_SRC)"
68 @mkdir -p $(dir $@)
69 $(hide) $(ACP) -fp $(PRIVATE_SRC) $@
70endif
71#############################################
72
73#############################################
45# Install Tesla-binary FW 74# Install Tesla-binary FW
46############################################# 75#############################################
47 76
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 @@
1Copyright (c) 2016, Spectrum Digital Incorporated
2
3All rights reserved.
4
5Redistribution and use in source and binary forms, with or without
6modification, are permitted provided that the following conditions are met:
7
81. Redistributions of source code must retain the above copyright notice,
9this list of conditions and the following disclaimer.
10
112. Redistributions in binary form must reproduce the above copyright notice,
12this list of conditions and the following disclaimer in the documentation
13and/or other materials provided with the distribution.
14
153. Neither the name of the copyright holder nor the names of its contributors
16may be used to endorse or promote products derived from this software without
17specific prior written permission.
18
19DISCLAIMER.
20
21THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
25LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
27GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
30OF 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 @@
1# Copyright (C) 2012 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14#
15
16# Add Touchscreen- Define the tgz to be unpacked, and enable the
17# DRA71x-RevA-GT9271_SpecDig_Config.bin package, which is defined in the top-level Android.mk
18# of the proprietary-open tree
19
20ifeq ($(TARGET_PRODUCT),$(filter $(TARGET_PRODUCT),full_jacinto6evm))
21TOUCH_TGZ := device/ti/proprietary-open/jacinto6/touch_full_jacinto6evm.tgz
22TOUCH_BINARY := DRA71x-RevA-GT9271_SpecDig_Config.bin
23PRODUCT_PACKAGES += DRA71x-RevA-GT9271_SpecDig_Config.bin
24endif
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