Commit graph

49 commits

Author SHA1 Message Date
Andrew Chant
77e6c02e7c shusky: move perf/thermal configs around
Move shusky thermal .json files into thermal/
and perf configs into perf/.

Also move the configs into device-shusky-common.mk,
allowing override of the config file path.

Bug: 277993984
Change-Id: Ifa2882ee9c27c57d967c27f9f8e8edaff313e2d5
2023-05-02 09:39:45 -07:00
Andrew Chant
04716d5711 Revert "Revert "shusky: disable parallel module loading""
This reverts commit ca1a96d3bd.

Reason for revert: ToT instability.

Bug: 280112517
Change-Id: Icef303545cbef7884c2ae81bd9b9d5fd94ea42ca
2023-04-28 22:41:37 +00:00
Chung-Kai (Michael) Mei
ca1a96d3bd Revert "shusky: disable parallel module loading"
This reverts commit efaeac87c2.

Reason for revert: the patch for iommu has been merged

Test: shiba rebooted 1000 times without failure and https://android-build.googleplex.com/builds/abtd/run/L49300000960255489 run device-boot-health-check-extra for husky
Bug: 271931921
Change-Id: I4dcbc1e2028facd8531c94c03d0b28cbd6769b06
2023-04-28 01:12:57 +00:00
George Chang
fd20619cc2 Merge "Update NFC customize settings" into udc-d1-dev 2023-04-21 06:54:06 +00:00
Bill Yi
062ebe5313 Add AOSP support for Husky and Shiba.
We will have a 'vendor' project containing proprietary blobs
to be able to build and flash Pixel device when vendor source is not
available.
The project names are
platform/vendor/aosp/google_devices/husky
platform/vendor/aosp/google_devices/shiba

and the paths are
vendor/google_devices/husky
vendor/google_devices/shiba

TEST:make and flash a husky device

BUG: 278968179
Change-Id: I1c5424dfddddb8ee29a86f2408a231aa5556a0bb
2023-04-19 22:26:16 -07:00
George
2fd48aa99e Update NFC customize settings
Add antenna position info for the new NFC API
Update default routing settings and remove legacy settings

Bug: 278829073
Test: manual
Change-Id: Ice6dc1ffce1c9adebf03ccbe8c3d50eb07022186
2023-04-19 13:04:10 +00:00
Treehugger Robot
c5ec78d0b3 Merge "Update Doze brightness mapping" into udc-d1-dev 2023-04-14 10:49:47 +00:00
linpeter
bf6e5ec87a Update Doze brightness mapping
Bug: 276343567
Test: check doze brightness
Change-Id: I7aafe3ab317c203f0c125cae363da47f14f5d574
2023-04-13 16:18:00 +08:00
liangjlee
45294d4aa3 Disable zone DMA32 for shiba and husky
Same as P22, P23 do not have 32-bit address limitation in hardware, so
we would like to empty zone DMA32 for better performance and simplify
memory management.

Bug: 263239622
Test: b/270096808, b/270097444. Pass reboot test and run sst for 100+
hours without obvious issues.
Change-Id: Ib95223aafca17165e1b8d972448c5d66384d3ccc
Signed-off-by: liangjlee <liangjlee@google.com>
(cherry picked from commit 4584a04fe3)
2023-04-13 06:37:48 +00:00
TreeHugger Robot
c33f8c5ed5 Merge "display: sb3: shoreline: add LHBM compensation calibration file" into udc-d1-dev 2023-04-12 08:19:22 +00:00
Treehugger Robot
71f52846b9 Merge "Configure quickpickup gesture support" into udc-d1-dev 2023-04-11 17:03:46 +00:00
Beverly
f37c823742 Configure quickpickup gesture support
Test: manually builds
Fixes: 277161763
Change-Id: Id0f7a2a33ac9d1acbc6c6395e37357d84db79d6d
2023-04-10 14:11:04 +00:00
Safayat Ullah
114896fc24 display: sb3: shoreline: add LHBM compensation calibration file
Bug: 270654164
Test: calibration data loaded successfully
Change-Id: Ib1bb4d34a19e0c601d3acd617cb7a5a291a43b67
2023-04-10 09:40:18 +00:00
Safayat Ullah
5786735d14 display: sb3: bigsurf: add LHBM compensation calibration file
Bug: 270654164
Test: calibration data loaded successfully
Change-Id: I16e982a29584a45842e41597954d957e134316ac
2023-04-10 09:37:35 +00:00
Jeremy DeHaan
b8badaac3d display: set default brightness
Bug: 243692588
Bug: 243696068
Bug: 276516206
Change-Id: I1c817e065e2963771edb12ff0b5b2dd8877fa133
2023-04-06 16:35:52 -07:00
Sianyi Huang
0c4b6e5500 Merge "Modify maxGamma value of short-term model" into udc-dev am: f178ab29cf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22323943

Change-Id: Iaa3598471bcf97639ae704bbba56a1db29d60e9a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-31 09:21:13 +00:00
Sianyi Huang
f178ab29cf Merge "Modify maxGamma value of short-term model" into udc-dev 2023-03-31 08:49:59 +00:00
linpeter
a6b783046d display: add lowlight blocking zone
zone 1: Lock refresh rate at 120Hz when ≤ 10 nits
zone 2: Lock refresh rate at 120Hz when ≤ 15 nits and ≤ 10 lux

Bug: 274713662
test: check refresh rate
Change-Id: Icbc04d216ef4ff28fff80792a7df9271f77ad760
2023-03-30 21:07:07 +08:00
SianyiHuang
7924d6ce8e Modify maxGamma value of short-term model
Bug: 265931912
Test: dump display log
Change-Id: Ib38c5cacfdf0414da78a454c2af72fb071de2f9c
2023-03-29 09:14:25 +08:00
Jeremy Nei
68c31f67d6 Add brightness table as part of display color data.
Bug: 255903789
Test: build success
Change-Id: I4cddfca276c30e953fab04d238383ea158532cac
2023-03-28 06:22:22 +00:00
TreeHugger Robot
8d310c132f Merge "Change the camera id to match the front camera ID" into udc-dev am: f16ad8aabf
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22088129

Change-Id: I251b9899af525371e1f12024c5f199abb61a6748
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-15 15:58:46 +00:00
Chandru S
4d61963d42 Change the camera id to match the front camera ID
Fixes: 270083570
Test: manually, flashed the new config and verified on a husky
Change-Id: I0be559c538e2b99c6279f0d8ae152b4ae1cd6afa
2023-03-15 02:20:17 +00:00
Jeremy DeHaan
f09b6f5736 Merge "display: remove default brightness settings" into udc-dev am: 453c81d817
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21778119

Change-Id: I198b8bd8d24078509138c2f4a27a6b8c442bbce0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 18:18:27 +00:00
Jeremy DeHaan
453c81d817 Merge "display: remove default brightness settings" into udc-dev 2023-03-10 17:48:34 +00:00
Yanting Yang
5d9dda3f22 Update initial MIC e-label for JP SKU of HK3 and SB3 am: 35b8c87370
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/21794266

Change-Id: I235be5cacd35f6c5b7f84f03f2d09f868153b578
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-06 12:31:25 +00:00
Yanting Yang
35b8c87370 Update initial MIC e-label for JP SKU of HK3 and SB3
Remove T-Mark.

Bug: 267250859
Test: visual
Change-Id: Ic03540cf41b0f537240ccd0b8673fc405efddcef
2023-03-06 18:34:27 +08:00
Jeremy DeHaan
a82f85757e Merge "display: add AoD Brightness configuration" into udc-d1-dev 2023-03-04 00:38:01 +00:00
Jeremy DeHaan
0e642432c7 display: remove default brightness settings
Remove the default brightness settings. Default brightness is set in
displayconfig to allow for per-panel defaults.

Bug: 217472351
Change-Id: Iacf25347ebac26e5c3a3b17ea6962950418fe586
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-03 13:40:52 -08:00
Jeremy DeHaan
39db37a524 display: add AoD Brightness configuration
Bug: 243692590
Change-Id: I8ba3fa417898f88f29ffc4b80e56fbdd5ab995c9
Merged-In: I8ba3fa417898f88f29ffc4b80e56fbdd5ab995c9
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-03 09:18:37 -08:00
Jeremy DeHaan
a8cdd04610 display: update brightness defaults
Add new brightness defaults to match non-linear brightness curves.

Bug: 254529330
Change-Id: I5ba580bbe56684295e0d88d45cb99ecd15acda6b
Merged-In: I5ba580bbe56684295e0d88d45cb99ecd15acda6b
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-03-02 22:42:48 -08:00
Tai Kuo
ead756e8c5 Set audio haptic channel amplitude limit
Bug: 242964127
Test: dumpsys vibrator_manager
Change-Id: I91f36bfbfacf2ebabf774ccd08dcf0c48bc92612
2023-03-02 14:38:04 +08:00
TreeHugger Robot
2a7decd9b7 Merge "Add MMS UA, UAProf for P23(Husky and Shiba)" 2023-02-10 09:14:10 +00:00
Yanting Yang
c262fbed31 Add initial MIC e-label for JP SKU of HK3 and SB3
Bug: 267250859
Test: visual
Change-Id: Icf51b10058721b010d7cf3bb354cb4474e9aa0a8
2023-02-09 17:50:01 +00:00
timtmlin
3e36556423 Add MMS UA, UAProf for P23(Husky and Shiba)
Reference
go/husky-skus
go/shiba-skus

Bug: 263210691
Test: make
Change-Id: Ia4a01107fd7e90816290ffc0443ae1a07ed0b83c
2023-02-09 09:12:07 +00:00
TreeHugger Robot
5d2dab4575 Merge "shusky: disable parallel module loading" 2023-02-08 03:46:48 +00:00
Andrew Chant
efaeac87c2 shusky: disable parallel module loading
Disable parallel module loading.
iommu driver loading parallel prevented boot to
fastbootd.

resolved with
fastboot oem cmdline set samsung-sysmmu-v9.load_sequential=1

disabling all parallel module loading for now, can re-enable
at a later stage with verification.

Bug: 268269286
Change-Id: Iccecff4ae552567f3a5fb8a421b8e1993657fbc7
2023-02-08 02:38:45 +00:00
Jack Lee
b32dfa3186 Disable swiotlb for shiba and husky
Same as p22, we would like to disable swiotlb for shiba and husky.
Currently the swiotlb=noforce config is set in device tree, moving to userspace
would make the build process more flexible.

Bug: 263178695
Test: After adding noforce, /d/swiotlb/ is empty
Change-Id: I6505bfe8b465a0b2bcc6f39d1abaefe305bdc31f
Signed-off-by: Jack Lee <liangjlee@google.com>
2023-02-02 09:25:01 +00:00
George
148cd0c4df [NFC] Set tag_intent_app_pref_supported
Bug: 244272155
Test: atest android.permission.cts.NfcPermissionTest
Test: atest NfcFeatureFlagTest
Change-Id: Ic594cb9504a7351b194e58c5fb71779b2498179d
2023-02-01 18:08:57 +08:00
TreeHugger Robot
5ed8499b7c Merge "Enable load kernel modules in parallel" 2023-01-20 07:40:57 +00:00
Chungkai Mei
d8822b9c80 Enable load kernel modules in parallel
enable load kernel modules in parallel but load some
specific modules in sequential

Test: Shiba Booted to home 1000 times without issue
Bug: 229794277
Change-Id: Idac2ae0765058a0eab718c976c1108292bd36669
Signed-off-by: Chungkai Mei <chungkai@google.com>
2023-01-20 04:59:49 +00:00
Sam Ou
9fe3d13155 Merge "power_profile: initialize shusky power_profile.xml" 2023-01-09 11:15:06 +00:00
davidycchen
7273ccd6e8 Add config_dozeUdfpsLongPressSensorType
Bug: 243078049
Bug: 243079260
Test: long press gesture is registered when UDFPS is enabled.

Change-Id: Iaf5553978cdb79a92a24b674f837ae694e187d48
Signed-off-by: davidycchen <davidycchen@google.com>
2023-01-09 11:50:28 +08:00
samou
2a6fc6389c power_profile: initialize shusky power_profile.xml
Bug: 263339765
Change-Id: Id546ed812b2c5b09d614838ab5935942f81a84f2
Signed-off-by: samou <samou@google.com>
2023-01-07 09:42:58 +00:00
George Chang
ddddecf66b Merge "Add NFC overlays" 2022-11-23 13:46:24 +00:00
George Chang
b76a3fe0da Add NFC overlays
Set polling_disable_allowed
Set nfcc_always_on_allowed
Add sku ids for config_skuSupportsSecureNfc

Bug: 260007168
Bug: 257818369
Test: manual
Change-Id: I0aefdcd6b230ae458a2f19f4b91470e0e051d738
2022-11-23 07:54:50 +00:00
Jeremy Nei
9b7ada82c7 Update auto brightness table
Bug: 243688043
Test: check dumpsys value
Change-Id: I18a62e0c63c2dbff478a6892f1af55e190ee20e0
2022-11-22 14:09:05 +00:00
Jeremy DeHaan
a46f2c1d71 shiba: support smooth display
Bug: 243693884
Test: enable fps counter and navigate around device
Change-Id: I7ed7fac06dc077846babedf9aec271df28a0ca3d
2022-11-10 11:25:08 -08:00
Shawn Lin
167d562616 Update rounded corner and cutout configs
Bug: 243693886
Test: make
Change-Id: I985aeb4124aa9039cc9249ed9add204744413d99
2022-11-09 06:27:31 +00:00
Robin Peng
fd0859e694 Initialize device folder
from: 858c0f08e332220d80a9eef8ddcd39ef4d5296ee
with updated device path

Bug: 248399843
Change-Id: I215a40a4f4719d5432e87401f4a3214c5189ba20
2022-10-30 16:03:17 +00:00