Commit graph

102 commits

Author SHA1 Message Date
Chung-Kai (Michael) Mei
eead637cec Revert^3 "shusky: disable parallel module loading"
This reverts commit 04716d5711.

Reason for revert: Now we can enter fastbootd normally.

Test: shiba rebooted 1000 times without failure
Bug: 280112517
Change-Id: I92736b1e535468083b35058f83a91ad153b6c5c6
2023-05-24 06:05:25 +00:00
Suprabh Shukla
9897a96f19 Adding interrupt mapping for sound_trigger wakeups
Test: Manually inspect the output of `dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I1e537775db73b56df36515427117df2e21483dc6
2023-05-10 23:12:33 +00:00
Suprabh Shukla
b41a804290 Add wakeup interrupt mappings for shusky
Test: Manually inspect the output of:
`dumpsys batterystats --wakeups`

Bug: 271922941
Change-Id: I9708b79021c1e2a5fe066a8b66820ca28c899ea4
2023-05-03 22:12:50 +00:00
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
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
Beverly
f37c823742 Configure quickpickup gesture support
Test: manually builds
Fixes: 277161763
Change-Id: Id0f7a2a33ac9d1acbc6c6395e37357d84db79d6d
2023-04-10 14:11:04 +00:00
Treehugger Robot
fc8b845f44 Merge "display: add LHBM compensation calibration file" into udc-d1-dev 2023-04-10 08:45:28 +00:00
Safayat Ullah
4fa649108c display: add LHBM compensation calibration file
Bug: 243688545
Test: file copied to device
Change-Id: I05b2f6f374d110fe776dd33c7d143038a123e296
2023-04-07 08:35:20 +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
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
Manali Bhutiyani
afb83c35bc Merge "[config] Enable udfps ignore feature on husky" into udc-dev am: 73a8462b9c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/shusky/+/22134463

Change-Id: Iaf4649f20b6e181b17e8bb25c8d7de841aa96f3e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-24 13:17:22 +00:00
Manali Bhutiyani
db7c238030 [config] Enable udfps ignore feature on husky
This change introduces a new value in config.xml to allow ignoring the
udfps vote.
Bug: 250979028
Test: manually check that fix works
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/display

Change-Id: I3f59279943b682d8994be632f887b7fff01645ab
2023-03-17 04:51:39 +00:00
TreeHugger Robot
4b0bba5149 Merge "Husky: change display density to 520" into udc-d1-dev 2023-03-16 01:04:36 +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
Chris Lu
5cfce8d29d Husky: change display density to 520
Bug: 243687508
Test: show correct UI size
Change-Id: Ib8fa441c56a7f4be6c90edbf80b4285e1dc00009
2023-03-15 14:34:45 +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
Safayat Ullah
8c601acb6d display: add AoD Brightness configuration
Bug: 243687721
Test: check brightness in AOD
Change-Id: I8824e251f69d091daf226a59eecce2cfc1a6a01d
2023-03-07 15:24:14 +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
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
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
Safayat Ullah
1ad6c92dd4 hk3: consistent brightness between bootloader and OS
Set initial brightness to ~140 nits.

Bug: 243688822
Test: Check brightness changes during boot to home
Change-Id: Iafa18bbf1916de9f792c3c95447c58c00911ebc2
2023-02-23 11:20:51 +00:00
TreeHugger Robot
2a7decd9b7 Merge "Add MMS UA, UAProf for P23(Husky and Shiba)" 2023-02-10 09:14:10 +00:00
Yanting Yang
241ec39280 Merge "Add initial MIC e-label for JP SKU of HK3 and SB3" 2023-02-10 05:04:56 +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
Chris Lu
0e3b5f3761 husky: enable Smooth Display by default
Bug: 243686907
Test: check Settings and logs after booting
Change-Id: Iccd64fe37b36bb0437d04dcf13f9c96661f796fc
2023-02-08 23:16:21 +08: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
Shawn Lin
2c7b9074f4 Update rounded corner, cutout and display shape configs
Bug: 243688044
Test: make
Change-Id: Ica71daf88ac7a115a84f8e603fbb49210d757b2c
2022-12-21 10:35:40 +00:00
Roshan Pius
8e73113deb uwb(hk3): Add UWB framework overlays rro app
Bug: 261908320
Test: Compiles
Change-Id: I369abe1ea668b4db2d50c065c7f53915c569c2e5
2022-12-09 04:36:33 +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