Commit Graph

160 Commits

Author SHA1 Message Date
Steve Pfetsch
8ffcefd27e walleye: add separate charger kernel module config
Bug: 69498902
Change-Id: I521483b17255705487dbf51f8b9f266de0ec4b78
2017-11-20 17:12:49 -08:00
Siqi Lin
304cb6d6fa Add walleye_kernel_debug_* targets
Set paths for kernel modules for the new debug targets.
The kernel to use for each target is specified in the lunch
target Makefile.

Bug: 68266758
Test: lunch new targets and make
Change-Id: I19966b9c3f85c52a6f140ad6e761c5580d28ef55
2017-11-03 14:18:41 -07:00
Patrick Tjin
85d4fe9ca8 Remove walleye_clang target
Walleye kernel is clang by default, walleye_clang is deprecated.

Bug: 66686376
Change-Id: I0ce1d9a50a303602401b501974fb9f13f2cbb975
Signed-off-by: Patrick Tjin <pattjin@google.com>
2017-10-03 21:39:28 +00:00
Phil Burk
463316021e aaudio: reenable MMAP mode for Walleye
Bug: 64955707
Test: "adb shell getprop aaudio.mmap_policy" should print 2
Change-Id: I3a03c951806af96a7e4141d42df35a42df5c578b
2017-08-23 12:27:15 -07:00
Phil Burk
90f52626bc aaudio: disable MMAP data path
Some bugs were found late in the release cycle for DR1.
It seems safer to simply disable MMAP mode for DR1
and enable it in MR1.

Developers can still experiment with MMAP mode by overriding the policy
using AAudio_setMmapPolicy().

Bug: 64316921
Bug: 64311216
Bug: 64494572
Test: "adb shell getprop aaudio.mmap_policy" should print 1
Change-Id: I94c1554ff7ea9062efbd3a80b40040fa7bd5268d
2017-08-09 14:18:17 -07:00
Zhijun He
c1a5b07359 disable NFC when camera is in use for walleye
Change-Id: Ia19663040b8456ed2ba544c4b8e73def6d1faab5
Bug: 38217362
2017-08-08 05:37:52 +00:00
Phil Burk
2a5d972b0a aaudio: increase burst size from 1 to 2 msec
One msec is on the edge and sometimes glitches.
Two msec is more stable and matches the FastMixer burst.

Bug: 63934178
Test: "adb shell getprop aaudio.hw_burst_min_usec" should be 2000
Change-Id: I383c4a3a82283229ae39ca9fb6e2ffdd65ae0014
2017-07-21 13:48:32 -07:00
TreeHugger Robot
d6b4004620 Merge "muskie: enable aaudio MMAP mode" into oc-dr1-dev 2017-07-21 06:13:40 +00:00
Phil Burk
1378738848 muskie: enable aaudio MMAP mode
This will allow AAudio to route audio data through a new service
that uses ALSA MMAP/NOIRQ mode.

Bug: 63002656
Test: reboot, then "adb shell getprop aaudio.mmap_policy" should be 2
Change-Id: Iad70089126e8ea7a9624e91849d453dc7c6ee337
2017-07-20 20:44:40 -07:00
Glenn Kasten
fddf3fca0d Add another property to configure adm buffering
Keep the original property also, to make it easier to experiment
with old and new libadm.so

Bug: 63810681
Test: round-trip USB latency unchanged with old or new libadm.so
Change-Id: I6198a3259f0ce98fda31d1a9e93fd79f21c148e5
2017-07-20 02:37:00 -07:00
Glenn Kasten
5253489ed3 Enable pro audio feature flag
Test: adb shell pm list features
Bug: 38463264
Change-Id: I844de2c59d17bc7c5cb64cdd1ad41a2eab283194
2017-07-17 14:55:50 -07:00
Michael Wright
4bb388480a Add input device configuration for Muskie/Walleye
This also provides tuning for touch size information.

Test: flash and look at touch size with pointer location enabled
Bug: 62871286
Change-Id: Ia6f9f0f050517701f8085987ff9fadf27e8904d3
2017-07-11 14:08:30 +00:00
TreeHugger Robot
ca3ccd44eb Merge "Remove IMU cad calibration file" into oc-dr1-dev 2017-06-30 23:50:42 +00:00
Ranjith Kagathi Ananda
c5901da08c Remove IMU cad calibration file
Remove the cad calibration file and use only factory calibration
file.

Test: Tested on walleye

BUG=63146009

Change-Id: I24bf1424e958e26234817f1dafbf2fce7478028d
2017-06-29 17:29:20 -07:00
Glenn Kasten
5a6b9c64ff Reduce USB audio latency on Walleye
Bug: 62375603
Test: Loopback shows latency reduction and no glitches
Change-Id: I06f0c78d604089600b21830a631148bad1d43119
2017-06-27 15:59:49 -07:00
John Dias
606159e240 Fix hwui settings
Bug: 62375787
Test: boot and basic use
Change-Id: I858b7428199a708811b85d6ff5dfea3e3b4caa8f
2017-06-19 17:25:21 -07:00
Siyuan Zhou
22ee5d77a0 Added directory to kasan ko files.
Change-Id: I946afcaa4d8fe83cb5e9db62f37072fa77899d89
2017-06-02 10:58:51 -07:00
TreeHugger Robot
bf39c390c8 Merge "audio: clean up & move audio table to /vendor/etc" 2017-05-24 20:03:04 +00:00
carter_hsu
e793c98f4a audio: clean up & move audio table to /vendor/etc
Bug: 62051188
Bug: 62039625
Change-Id: Ie5267429eece39bf020510239f2cd2dd494b4ade
Signed-off-by: carter_hsu <carter_hsu@htc.com>
Signed-off-by: David Lin <dtwlin@google.com>
2017-05-24 16:57:06 +00:00
Yueyao Zhu
a5f1990ca3 Move AB_OTA_PARTITION vbmeta to wahoo/device.mk
Change-Id: Ief9e97b7e448f52ec38d42e10343b8cf34c7b520
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-05-23 14:08:18 -07:00
Ecco Park
4e455de459 wifi: move the WCNSS_qcom_cfg.ini to /vendor partition
Bug: 38242491

Change-Id: Icbf293bbb805065bd3ed5c32a9c3749cbf4601d4
Signed-off-by: Ecco Park <eccopark@google.com>
2017-05-22 19:58:25 +00:00
Nick Desaulniers
62a2798168 Merge "muskie: include correct kernel modules" 2017-05-19 22:16:02 +00:00
Yueyao Zhu
a95f3d727c Ensure usb related .rc is parsed in a defined order
Loading process (e.g. walleye):
- rootdir/init.rc
    |- /vendor/etc/init/hw/init.walleye.rc
        |- /vendor/etc/init/hw/init.walleye.usb.rc
	    |- /vendor/etc/init/hw/init.wahoo.usb.rc

This CL moves the init.walleye.usb.rc to /vendor/etc/init/hw, and
imports init.wahoo.usb.rc from init.walleye.usb.rc.

Test: Build with related CLs and USB File Transfer works on muskie
Bug: 38301110
Change-Id: Iaae98854f70256e17460ee1caae0d43ea585588c
Signed-off-by: Yueyao Zhu <yueyao@google.com>
2017-05-18 17:38:30 -07:00
Nick Desaulniers
b24a32b3c6 muskie: include correct kernel modules
Based on whether the lunch target is set to muskie, muskie_clang, or
muskie_gcc.

Bug: 32455818
Change-Id: I8bfdeb44d00f6dbe674c19206ef6ba181c4dbf4e
2017-05-18 14:37:29 -07:00
Ranjith Kagathi Ananda
c87bff208d Move CAD calibration to vendor/etc/sensors
Move CAD calibration to vendor/etc/sensors

Test: Tested on walleye

BUG=38234792

Change-Id: Ibe10025108001b500419489c1c44b857edb136d6
2017-05-15 14:56:35 -07:00
SzuWei Lin
9a824ac3a9 Fix a wrong output path for init-$(PRODUCT_HARDWARE).rc
Test: check output folder /vendor/etc/init/
Change-Id: Ib300e4443cf33f45328b05e0565b39c1a9ad939d
2017-05-15 18:04:07 +08:00
Isaac Chen
8d434ca2a7 Move configuration files to vendor for build split
The following configuration files need to reside in vendor
partition to work with generic AOSP system image.

Move uevent.*.rc to /vendor
Move fstab.* to /vendor/etc
Move init.*.rc and init.wahoo.usb.rc to /vendor/etc/init.

Also the following two make file variables need to be set:
  - BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true
  - PRODUCT_ENFORCE_RRO_TARGETS := framework-res

Comment out "import init.wahoo.usb.sh" in init.common.usb.rc
since /init will load all rc files under /vendor/etc/init.

Bug: 37927875
Test: These files are under /vendor instead of / or /system,
path in init.common.usb.rc is changed to vendor accordingly,
and the resulted system/vendor images work on the device.

Change-Id: I63e18860eed9330e0d7b53b3df09483f2bfce5ea
2017-05-12 11:13:19 +08:00
Ranjith Kagathi Ananda
22fe568c04 Add IMU calibration related properties and copyto
- Add CAD calibration file
- Add persist properties pointing to CAD and
  factory calibration xml files

Test: Tested on walleye

BUG=38234792

Change-Id: I8fbb6c514064292b4a2883939b77a410735c9417
2017-05-11 17:34:34 -07:00
Ecco Park
dc2f3d7029 wifi: use the WCNSS_qcom_cfg.ini only for m/w device
Bug: 38198219

Change-Id: I8f1b476364b9b8b72ff0a4a083397ae9720064a4
Signed-off-by: Ecco Park <eccopark@google.com>
2017-05-11 21:23:22 +00:00
Thierry Strudel
d602cdb132 move fstab and BOARD_AVB_ENABLE to wahoo
Change-Id: Iab71468bea71ca7f4989187743f57f975e168f24
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-05-09 12:17:10 -07:00
Tri Vo
4763652d85 Use BOARD_VENDOR_KERNEL_MODULES for kernel modules.
This way modules.dep will also be generated for these kmodules.

Test: builds, boots, and lsmod shows loaded modules.
Change-Id: Ic80ec2e15c4bd2ee66bcf6b96b01eefdae4c2713
2017-05-08 18:58:30 +00:00
TreeHugger Robot
15bf1a5d22 Merge "Remove PRODUCT_FULL_TREBLE on muskie" 2017-04-28 00:46:31 +00:00
yihsiang_peng
aa9d01fc90 load htc battery kernel module driver on boot
Bug: 36787945
Change-Id: Ife07671ca884d38c77c7ed565edc7cfc2d4ff6e5
Signed-off-by: yihsiang_peng <yihsiang_peng@htc.com>
2017-04-26 13:33:04 -07:00
Steven Moreland
2bd3469ba4 Remove PRODUCT_FULL_TREBLE on muskie
This is being set on wahoo instead.

Test: on taimen
Change-Id: I0b7d911d0a2d982eb2bed22f4d7a819776f39edf
2017-04-26 13:23:45 -07:00
Jie Song
83118d3b75 Moving smlog to data/vendor
Bug: 37169733
Test: Verify modem logs in bugreport
Change-Id: Icca13d83c54c0aea97c2d42d5c70033030fc779e
2017-04-25 13:58:57 -07:00
Thierry Strudel
34cc620963 Enable AVB 2.0
- fix build flags to generate vbmeta image
 - fix fstab mount flags

Change-Id: I9935ded340d4831fb53cf5bea1eb5ffda1a048d2
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2017-04-21 18:29:26 -07:00
TreeHugger Robot
0c5aa09028 Merge "Split VR thermal config" 2017-04-22 00:51:40 +00:00
TreeHugger Robot
3e0feaf663 Merge "muskie: move fluence config to common" 2017-04-21 23:45:32 +00:00
Wei Wang
f8b586c3c1 Split VR thermal config
Bug: 36514493
Test: build
Change-Id: I3df4ea75e2c8c4513cdc684f7b0a19c6dd347fb8
2017-04-21 11:09:07 -07:00
Patrick Tjin
0d847cb23f muskie: move fluence config to common
Test: build
Change-Id: Ia6ce1218141a31b6d08acdb7b95e76b8d57e982e
2017-04-21 08:51:04 -07:00
vincent_tew
d92094bceb muskie: audio: Update audio table
Change list:
 1. [audio_policy_volumes]
  i. First version of volume step setting for playback/ringtone/alarm

Change-Id: I938aebfb5e23d77980352763a3b9b8f838def37c
Signed-off-by: vincent_tew <vincent_tew@htc.com>
2017-04-20 16:44:24 -07:00
Ed Tam
5f712ab894 Merge "thermal: add thermal conf with shutdown temps" 2017-04-07 03:13:31 +00:00
John Dias
13d5312c3d thermal: add thermal conf with shutdown temps
Bug: 35700896
Test: boot, check for thermal-engine messages
Change-Id: Ie8e7f03c8d54d1d2f10057171651785954b3fac1
2017-04-06 15:33:11 -07:00
Nick Desaulniers
4de5f32ff2 wahoo: clang: use kernel modules built with clang
Test: <device>_clang-userdebug lunch target has touchscreen support
Bug: 33244601
Change-Id: I11a19c68eea3caa897730a861f760dab85ca2a9b
2017-04-06 13:57:15 -07:00
Wei Wang
2b9bd3ff9a muskie/walleye: boot time optimization
Bug: 36780513
Test: walleye boots and touch screen works
Change-Id: Ib3ff955886109a000ab43dc6013540bb03a31b78
2017-04-04 09:48:28 -07:00
Vineeta Srivastava
6580d7e510 Split fstab from wahoo
Change-Id: I5dc5defc969b6d380a47feab957680d9d7f4270f
2017-04-04 04:04:24 +00:00
Jie Song
7fdb93de6d Use wahoo dumpstate
Bug: 33820081

Test: Verify dumpstate service running
Change-Id: I9276a1b7a9b50473b12298315fba75dca38404b0
2017-03-29 09:14:10 -07:00
Ruchi Kandoi
b88ac44c4f Merge "Add libnfc-nxp.conf for muskie" 2017-03-29 01:21:32 +00:00
Ruchi Kandoi
7fb8d28212 Add libnfc-nxp.conf for muskie
Test: NFC powers up
Bug: 36163226
Change-Id: I5142c606ffa928fd1566cca508a12a3a993633be
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2017-03-28 09:55:01 -07:00
Badhri Jagan Sridharan
da1bdf28b0 Copy init.common.usb.rc to root
Bug: 36659044
Change-Id: I04034e629435ab03ba48ea87bb64502d51a206d0
2017-03-28 00:16:39 +00:00