summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-03-05pogo_transport: Fix HES mistriggered cases am: aeef6e6406android-15-beta-2_r0.6android-15-beta-2_r0.5android-15-beta-2_r0.4android-15-beta-2_r0.3android-15-beta-2_r0.2android-15-beta-2_r0.1android-15-beta-1_r0.5android-15-beta-1_r0.3android-gs-tangorpro-5.10-android15-betaandroid-gs-raviole-5.10-android15-dpandroid-gs-raviole-5.10-android15-betaandroid-gs-pantah-5.10-android15-betaandroid-gs-lynx-5.10-android15-dpandroid-gs-lynx-5.10-android15-betaandroid-gs-felix-5.10-android15-betaandroid-gs-bluejay-5.10-android15-betaKyle Tso
Original change: https://partner-android-review.googlesource.com/c/kernel/private/devices/google/tangorpro/+/2748032 Change-Id: Id63815e00d209058b64913124fc79d0c6e51d311 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-25pogo_transport: Fix HES mistriggered casesandroid-u-qpr3-beta-2.1_r0.4android-15-beta-1_r0.6android-15-beta-1_r0.4android-15-beta-1_r0.2android-15-beta-1_r0.1android-gs-tangorpro-5.10-android15-dpandroid-gs-pantah-5.10-android15-dpandroid-gs-pantah-5.10-android14-qpr3-betaandroid-gs-felix-5.10-android15-dpandroid-gs-bluejay-5.10-android15-dpKyle Tso
There are two cases for the HES mistriggered events. Case #1: H1S state 0 reported during the acc detection [ 4164.863428] EV:H1S state 1 [ 4164.863633] H1S: accessory detection 0, mfg 0 [ 4164.863637] QUEUE EVENT 3 [ 4164.864567] POGO ACC IRQ triggered [ 4164.864665] Pogo acc threaded irq running, acc_detect 0 [ 4164.864768] POGO ACC IRQ triggered [ 4164.864816] Pogo acc threaded irq running, acc_detect 0 [ 4164.864961] POGO ACC IRQ triggered [ 4164.864999] Pogo acc threaded irq running, acc_detect 1 [ 4164.865002] QUEUE EVENT 4 [ 4164.865082] EV:H1S state 0 [ 4164.865086] EV:ACC_GPIO_ACTIVE [ 4164.865094] pending state change STANDBY -> STANDBY_ACC_DEBOUNCED @ 20 ms [ 4164.867384] POGO ACC IRQ triggered [ 4164.867434] Pogo acc threaded irq running, acc_detect 0 [ 4164.888241] [ 5805] state change STANDBY -> STANDBY_ACC_DEBOUNCED [delayed 20 ms] [] Case #2: H1S stays at 1 during the acc detection [ 861.585046] EV:H1S state 1 [ 861.586088] POGO ACC IRQ triggered [ 861.586189] Pogo acc threaded irq running, acc_detect 0 [ 861.586318] POGO ACC IRQ triggered [ 861.586358] Pogo acc threaded irq running, acc_detect 0 [ 861.586391] POGO ACC IRQ triggered [ 861.586430] Pogo acc threaded irq running, acc_detect 1 [ 861.586433] QUEUE EVENT 4 [ 861.586571] EV:ACC_GPIO_ACTIVE [ 861.586584] pending state change STANDBY -> STANDBY_ACC_DEBOUNCED @ 20 ms [ 861.588522] POGO ACC IRQ triggered [ 861.588672] Pogo acc threaded irq running, acc_detect 0 [ 861.609863] [ 1063] state change STANDBY -> STANDBY_ACC_DEBOUNCED [delayed 20 ms] [] [ 865.464562] POGO ACC IRQ triggered [ 865.464805] Pogo acc threaded irq running, acc_detect 1 [ 865.464818] QUEUE EVENT 4 [ 865.465221] EV:ACC_GPIO_ACTIVE [ 865.465232] pending state change STANDBY_ACC_DEBOUNCED -> STANDBY_ACC_DEBOUNCED @ 20 ms [ 865.471192] POGO ACC IRQ triggered [ 865.471393] Pogo acc threaded irq running, acc_detect 0 [ 865.486007] [ 1072] state change STANDBY_ACC_DEBOUNCED -> STANDBY_ACC_DEBOUNCED [delayed 20 ms] [] [ 865.602370] POGO IRQ triggered [ 865.602636] Pogo threaded irq running, pogo_gpio 0 For Case #1, run acc detaching process when the ACC_GPIO_ACTIVE event is triggered. For Case #2, disable acc regulator when the POGO IRQ is triggered (GPIO active) and continue to normal dock detection. Bug: 288341638 Change-Id: I6f5c45ff892cec8d59f45eb7694db879f1978361 Signed-off-by: Kyle Tso <kyletso@google.com>
2024-02-04Merge android13-gs-pixel-5.10-24Q2 into android13-gs-pixel-5.10PixelBot AutoMerger
SBMerger: 603054162 Change-Id: I1ff8144076c6fdb5b3aa47c3932af7f35bed286f Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2024-01-29uwb: update module pathandroid-u-qpr3-beta-2_r0.7android-u-qpr3-beta-2_r0.6android-u-qpr3-beta-2_r0.5android-u-qpr3-beta-2_r0.4android-u-qpr3-beta-2_r0.3android-u-qpr3-beta-2_r0.2android-u-qpr3-beta-2.1_r0.7android-u-qpr3-beta-2.1_r0.5android-u-qpr3-beta-2.1_r0.3android-u-qpr3-beta-2.1_r0.2android-u-qpr3-beta-2.1_r0.1android-15-dp-2_r0.6android-15-dp-2_r0.5android-15-dp-2_r0.4android-15-dp-2_r0.3android-15-dp-2_r0.2android-15-dp-2_r0.1android-gs-tangorpro-5.10-android14-qpr3-betaandroid-gs-raviole-5.10-android14-qpr3-betaandroid-gs-lynx-5.10-android14-qpr3-betaandroid-gs-felix-5.10-android14-qpr3-betaandroid-gs-bluejay-5.10-android14-qpr3-betaVictor Liu
Bug: 316022384 Change-Id: Ic1afcacf8b14c950c4365d3ec3c6916bde1b714a Signed-off-by: Victor Liu <victorliu@google.com>
2023-11-07arm64/dts: update battery INI (misccfg 0x3870)android-u-qpr3-beta-1_r0.7android-u-qpr3-beta-1_r0.5android-u-qpr3-beta-1_r0.4android-u-qpr3-beta-1_r0.3android-u-qpr3-beta-1_r0.2android-u-qpr3-beta-1_r0.1android-u-qpr2-beta-3_r0.7android-u-qpr2-beta-3_r0.6android-u-qpr2-beta-3_r0.5android-u-qpr2-beta-3_r0.4android-u-qpr2-beta-3_r0.3android-u-qpr2-beta-3_r0.2android-u-qpr2-beta-3.1_r0.7android-u-qpr2-beta-3.1_r0.5android-u-qpr2-beta-3.1_r0.4android-u-qpr2-beta-3.1_r0.3android-u-qpr2-beta-3.1_r0.2android-u-qpr2-beta-3.1_r0.1android-u-qpr2-beta-2_r0.7android-u-qpr2-beta-2_r0.5android-u-qpr2-beta-2_r0.4android-u-qpr2-beta-2_r0.3android-u-qpr2-beta-2_r0.2android-u-qpr2-beta-2_r0.1android-15-dp-1_r0.7android-15-dp-1_r0.5android-15-dp-1_r0.4android-15-dp-1_r0.3android-15-dp-1_r0.2android-15-dp-1_r0.1android-14.0.0_r0.76android-14.0.0_r0.75android-14.0.0_r0.74android-14.0.0_r0.73android-14.0.0_r0.72android-14.0.0_r0.71android-14.0.0_r0.66android-14.0.0_r0.65android-14.0.0_r0.64android-14.0.0_r0.63android-14.0.0_r0.62android-14.0.0_r0.61android-14.0.0_r0.56android-14.0.0_r0.55android-14.0.0_r0.54android-14.0.0_r0.53android-14.0.0_r0.52android-14.0.0_r0.51android-gs-tangorpro-5.10-android14-qpr2-betaandroid-gs-tangorpro-5.10-android14-qpr2android-gs-raviole-5.10-android14-qpr2-betaandroid-gs-raviole-5.10-android14-qpr2android-gs-pantah-5.10-android14-qpr2-betaandroid-gs-pantah-5.10-android14-qpr2android-gs-lynx-5.10-android14-qpr2-betaandroid-gs-lynx-5.10-android14-qpr2android-gs-felix-5.10-android14-qpr2-betaandroid-gs-felix-5.10-android14-qpr2android-gs-bluejay-5.10-android14-qpr2-betaandroid-gs-bluejay-5.10-android14-qpr2Jack Wu
Bug: 309375239 Change-Id: I84b81aad24768d61ff1a9577e1516be60c3b76c8 Signed-off-by: Jack Wu <wjack@google.com>
2023-11-06pogo_transport: Support force_pogo in the new state machineKyle Tso
Bug: 306724827 Change-Id: I9aaeb554d0aaf03049972475f777e4d64472da45 Signed-off-by: Kyle Tso <kyletso@google.com>
2023-07-20arm64/dts: tangorpro: set clamp from 600 to 800android-u-qpr2-beta-1_r0.6android-u-qpr2-beta-1_r0.5android-u-qpr2-beta-1_r0.4android-u-qpr2-beta-1_r0.3android-u-qpr2-beta-1_r0.2android-u-qpr2-beta-1_r0.1android-u-qpr1-beta-2_r0.7android-u-qpr1-beta-2_r0.5android-u-qpr1-beta-2_r0.4android-u-qpr1-beta-2_r0.3android-u-qpr1-beta-2_r0.2android-u-qpr1-beta-2_r0.1android-u-qpr1-beta-2.2_r0.6android-u-qpr1-beta-2.2_r0.5android-u-qpr1-beta-2.2_r0.4android-u-qpr1-beta-2.2_r0.3android-u-qpr1-beta-2.2_r0.2android-u-qpr1-beta-2.2_r0.1android-u-qpr1-beta-2.1_r0.7android-u-qpr1-beta-2.1_r0.5android-u-qpr1-beta-2.1_r0.4android-u-qpr1-beta-2.1_r0.3android-u-qpr1-beta-2.1_r0.2android-u-qpr1-beta-2.1_r0.1android-u-qpr1-beta-1_r0.7android-u-qpr1-beta-1_r0.5android-u-qpr1-beta-1_r0.4android-u-qpr1-beta-1_r0.3android-u-qpr1-beta-1_r0.2android-u-qpr1-beta-1_r0.1android-14.0.0_r0.44android-14.0.0_r0.43android-14.0.0_r0.42android-14.0.0_r0.41android-14.0.0_r0.40android-14.0.0_r0.39android-14.0.0_r0.37android-14.0.0_r0.36android-14.0.0_r0.35android-14.0.0_r0.34android-14.0.0_r0.33android-14.0.0_r0.31android-14.0.0_r0.25android-14.0.0_r0.23android-14.0.0_r0.22android-14.0.0_r0.21android-14.0.0_r0.19android-gs-tangorpro-5.10-u-qpr1-beta2android-gs-tangorpro-5.10-android14-qpr1-betaandroid-gs-tangorpro-5.10-android14-qpr1android-gs-raviole-5.10-u-qpr1-beta2android-gs-raviole-5.10-android14-qpr1-betaandroid-gs-raviole-5.10-android14-qpr1android-gs-pantah-5.10-u-qpr1-beta2android-gs-pantah-5.10-android14-qpr1-betaandroid-gs-pantah-5.10-android14-qpr1android-gs-lynx-5.10-u-qpr1-beta2android-gs-lynx-5.10-android14-qpr1-betaandroid-gs-lynx-5.10-android14-qpr1android-gs-felix-5.10-u-qpr1-beta2android-gs-felix-5.10-android14-qpr1-betaandroid-gs-felix-5.10-android14-qpr1android-gs-bluejay-5.10-u-qpr1-beta2android-gs-bluejay-5.10-android14-qpr1-betaandroid-gs-bluejay-5.10-android14-qpr1Rex Lin
Bug: 291970096 Test: build pass Change-Id: I043c312e492962c1f1d6f8a432216cfebd527eb0 Signed-off-by: Rex Lin <rexcylin@google.com>
2023-06-27arm64/dts: update CSOT criteria for FW V24Super Liu
Bug: 270454537 Change-Id: I11874ea27a35ba8332bd91871ccd304fe88189df Signed-off-by: Super Liu <supercjliu@google.com>
2023-06-21Merge "pogo_transport: Implement lc events" into ↵Badhri Jagan Sridharan
android13-gs-pixel-5.10-udc-qpr1
2023-06-16arm64/dts: tangorpro: Update pogo-acc-hall-only for other EVT2 variantsBadhri Jagan Sridharan
Enable hall only detection for EVT2 bezelback and wingboard. DVT+ will have POR detection enabled. Bug: 266240364 Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:0d53d53eee2dd4d5d627b74149a8439b6e371b12) Merged-In: I405838ac2ee9eb4cd23520ed81df4ab6f15386ba Change-Id: I405838ac2ee9eb4cd23520ed81df4ab6f15386ba
2023-06-15pogo_transport: Implement lc eventsKyle Tso
Bug: 272608122 Change-Id: Id79270056d965acc45d171b36d3c3d505ba3f90e Signed-off-by: Kyle Tso <kyletso@google.com>
2023-06-05update_symbol_list.sh: update staging build filesRobin Peng
* determine GKI_KERNEL_BRANCH from manifest Bug: 277560840 Change-Id: I840713717323a6fe5d9427fa1fe368cb06e02b31 Signed-off-by: Robin Peng <robinpeng@google.com>
2023-05-30arm64/dts: Default enable the touch reporting featuresSuper Liu
Bug: 284790341 Test: TH build pass. Signed-off-by: Super Liu <supercjliu@google.com> Change-Id: Iabbb07812ec284c38f4cbab7c047a7e45772376d
2023-05-26Merge android13-gs-pixel-5.10-udc to android13-gs-pixel-5.10-udc-qpr1Wilson Sung
Bug: 277560840 Change-Id: Iac99643c10ebf4582a61cb7616474c436f5a3838 Signed-off-by: Wilson Sung <wilsonsung@google.com>
2023-05-23pogo_transport: Enable new state machine designandroid-u-beta-5.3_r0.7android-u-beta-5.3_r0.5android-u-beta-5.3_r0.4android-u-beta-5.3_r0.2android-u-beta-5.3_r0.1android-u-beta-4_r0.7android-u-beta-4_r0.5android-u-beta-4_r0.4android-u-beta-4_r0.3android-u-beta-4_r0.2android-u-beta-4_r0.1android-14.0.0_r0.7android-14.0.0_r0.6android-14.0.0_r0.5android-14.0.0_r0.4android-14.0.0_r0.3android-14.0.0_r0.2android-14.0.0_r0.17android-14.0.0_r0.16android-14.0.0_r0.15android-14.0.0_r0.14android-14.0.0_r0.13android-14.0.0_r0.11android-gs-tangorpro-android14-releaseandroid-gs-tangorpro-5.10-u-beta5.3android-gs-tangorpro-5.10-u-beta4android-gs-tangorpro-5.10-android14android-gs-raviole-android14-releaseandroid-gs-raviole-5.10-u-beta5.3android-gs-raviole-5.10-u-beta4android-gs-raviole-5.10-android14android-gs-pantah-android14-releaseandroid-gs-pantah-5.10-u-beta5.3android-gs-pantah-5.10-u-beta4android-gs-pantah-5.10-android14android-gs-lynx-android14-releaseandroid-gs-lynx-5.10-u-beta4android-gs-lynx-5.10-android14android-gs-felix-android14-releaseandroid-gs-felix-5.10-u-beta5.3android-gs-felix-5.10-u-beta4android-gs-felix-5.10-android14android-gs-bluejay-android14-releaseandroid-gs-bluejay-5.10-u-beta5.3android-gs-bluejay-5.10-u-beta4android-gs-bluejay-5.10-android14Kyle Tso
Enable it for DVT+ Bug: 250518260 Bug: 250518309 Change-Id: Ic1a9a4c7acde94279166d8517644d2597f3e3b14 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 47656f32716240c5b6fb739eb008435755b322a5)
2023-05-23pogo_transport: Set data_active during transitioning to some statesKyle Tso
This fix is for EVT2 only. When attaching to Pogo accessories while a USB-C device is attached, data_active is cleared in switch_to_hub_locked. Set it so that Type-C driver is able to callback to pogo_transport when the USB-C device is removed. Bug: 275001979 Change-Id: I62d4196d14a557b1ac3325afe6aef62650831bd5 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 4f13dee6124f082d35c716bf969e179f3fbbc11c)
2023-05-23pogo_transport: Change ordering for updating extcon devBadhri Jagan Sridharan
For new state machine, While docking, signal docked after setting up USB data path once the state machine reaches steady state. While undocking, signal undocked before altering USB data path. This ensures that userspace can close USB data pipes more gracefully. Bug: 275150939 Change-Id: Iaa960fda6a68e885d077957b2eaac36e9ca36308 Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> (cherry picked from commit 1756748937d7032afa3db27b859441916e7861e9)
2023-05-23pogo_transport: Notify usersapce for new state machineBadhri Jagan Sridharan
Send KOBJ_CHANGE uevent when pogo_usb_active is updated for the new state machine. Bug: 275150939 Change-Id: Id95fd978931a78e446a77d3bcbbacb7f1ca26bd5 Signed-off-by: Badhri Jagan Sridharan <badhri@google.com> (cherry picked from commit 4dc9c727e29a483308a7e10b85b650955f721342)
2023-05-23pogo_transport: Register the bus suspend/resume callbackKyle Tso
For now, we only log the first bus suspend event after the lid is closed. Bug: 272608122 Change-Id: Id1736320426f06f0da2152672829cf62b36807e9 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit cefc0bae0add9608e3a8006c1167d4f2cc854d95)
2023-05-23pogo_transport: Disable POGO OVP only in some statesKyle Tso
Bug: 259305712 Change-Id: Ie2e6d0634828b009057d588a8b6240fc492b63d1 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 361181a1412706586297e1782c10f84450cf26dd)
2023-05-23pogo_transport: Only enable acc detection in some statesKyle Tso
Only enable the accessory detection if the device is not docking on the audio dock. Bug: 259305712 Change-Id: I7e9114c2307ef0e185f2e1499f98fb7bda0852d3 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 405fd572add94faab2acf349d747efef6693eb40)
2023-05-23pogo_transport: Add state ACC_HUB_HOST_OFFLINEKyle Tso
Bug: 272500774 Change-Id: I585fc0fbd9972dc6a3d0c7b032c1a597a215f082 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 5b2cfba50b449e02b1a5cb90e9340174e89b84b8)
2023-05-23pogo_transport: Enable force_pogo for new state machineKyle Tso
This feature is for debugging and testing purpose. Command to enable force_pogo: echo 1 > /sys/devices/platform/google,pogo/force_pogo After enabling force_pogo, the docking action while USB-C connecting to PC causes the data path to switch to pogo. Echo 0 to disable the feature. Bug: 272411364 Change-Id: Ie15184d66ffea36de4b005a8edd6ec6f13f6592e Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 29ad738dce7b92ff5525ef150f3824e0a5a8e625)
2023-05-23pogo_transport: WA to detect the removal of USB accessoriesKyle Tso
DWC3 does not detect the physical disconnection of SuperSpeed USB accessories while Hub is enabled and Pogo Accessory keeps connected. Toggle the hub-mux to force disconnecting all the USB devices. Bug: 271669059 Change-Id: I200742ad7b0b9fb36df7b30f0f262e274b4041d7 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 7d692e4093410ae63bef96ff6e73001abd920633)
2023-05-23pogo_transport: Refactor to state machine based implementationKyle Tso
Bug: 250518260 Bug: 250518309 Change-Id: Ia057a13929f4ef6ad291af3545292811083dc3ae Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 1199631a48d79d5e56cf4041181d2ae6c9472330)
2023-05-23pogo_transport: Register the notifier of USB devicesKyle Tso
Register the notifier of adding/removing a USB device from the USB core. Bug: 250518260 Change-Id: Icd7b47a48ee43c77622bf36bc0eb605197e8d92e Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit e2696396f54858838574a6fb388988e18a778024)
2023-04-26arm64/dts: AACR enabled by defaultJenny Ho
Bug: 268505211 Change-Id: Ief8f0e703650c002db30ac185d79dca56ba4777a Signed-off-by: Jenny Ho <hsiufangho@google.com>
2023-03-12Merge android13-gs-pixel-5.10-tm-qpr3 into android13-gs-pixel-5.10-udcPixelBot AutoMerger
SBMerger: 478053055 Change-Id: I5d0d04b439ab893ce3cb0b5ce115d9bc378755fc Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-03-12Merge android13-gs-pixel-5.10-tm-qpr2 into android13-gs-pixel-5.10-tm-qpr3android-13.0.0_r0.92android-13.0.0_r0.127android-13.0.0_r0.126android-13.0.0_r0.125android-13.0.0_r0.124android-13.0.0_r0.123android-13.0.0_r0.121android-13.0.0_r0.117android-13.0.0_r0.116android-13.0.0_r0.115android-13.0.0_r0.114android-13.0.0_r0.113android-13.0.0_r0.112android-13.0.0_r0.107android-13.0.0_r0.106android-13.0.0_r0.105android-13.0.0_r0.104android-13.0.0_r0.103android-13.0.0_r0.100android-gs-tangorpro-5.10-android13-qpr3android-gs-raviole-5.10-android13-qpr3android-gs-pantah-5.10-android13-qpr3android-gs-lynx-5.10-android13-qpr3android-gs-felix-5.10-android13-qpr3-candroid-gs-felix-5.10-android13-qpr3android-gs-bluejay-5.10-android13-qpr3PixelBot AutoMerger
SBMerger: 478053055 Change-Id: I76017e12bfd191b06daafa97c2004153369001d7 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-03-09arm64/dts: Enable pogo accessory detection by defaultKyle Tso
Enable the pogo accessory detection in Android U. Note that it remains disabled on DEV and EVT2. Bug: 272390033 Change-Id: Ie61a9424b217374b32090b8f9f692a840a673c80 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 3f465745b9a1b5077c2cd101359a1d38c8e516d4)
2023-03-07pogo_transport: Update the orientation before enabling USB DataKyle Tso
There is a possibility that when doing the phy restart due to orientation change, the USB phy is being turned on so that the memory access causes Asychronous SError Interrupt. Fix this by moving the orientation updating to a dedicated function and call it prior to the enabling of the USB phy. Also remove the phy restart during switch_to_usbc_locked as the updated orientation will be adopted in the phy in enable_data_path_locked automatically. Bug: 271689070 Change-Id: I68d95a3f0b0e200bb6503c073ebe708a2102502e Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit bb175cd05c76ba1951ed2c257b110c1d425baeb4)
2023-03-07pogo_transport: Update the orientation before enabling USB DataKyle Tso
There is a possibility that when doing the phy restart due to orientation change, the USB phy is being turned on so that the memory access causes Asychronous SError Interrupt. Fix this by moving the orientation updating to a dedicated function and call it prior to the enabling of the USB phy. Also remove the phy restart during switch_to_usbc_locked as the updated orientation will be adopted in the phy in enable_data_path_locked automatically. Bug: 271689070 Change-Id: I68d95a3f0b0e200bb6503c073ebe708a2102502e Signed-off-by: Kyle Tso <kyletso@google.com>
2023-02-19Merge android13-gs-pixel-5.10-tm-qpr3 into android13-gs-pixel-5.10-udcPixelBot AutoMerger
SBMerger: 478053055 Change-Id: I91a6c764cf9f1ae8e4bc96b4b0bd304bd01da2a9 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-02-19Merge android13-gs-pixel-5.10-tm-qpr2 into android13-gs-pixel-5.10-tm-qpr3PixelBot AutoMerger
SBMerger: 478053055 Change-Id: I52d9c4394d522fd4f234021e271840ebd4b966fd Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-02-10Merge "pogo_transport: Add EXTCON_NONE in the end of supported cables" into ↵android-13.0.0_r0.91android-gs-tangorpro-5.10-android13-d2Kyle Tso
android13-gs-pixel-5.10-tm-qpr2
2023-02-09pogo_transport: Add EXTCON_NONE in the end of supported cablesKyle Tso
When registering EXTCON, the last entry in the supported cable array should be EXTCON_NONE. Otherwise, the cable array in the extcon device might store the data from unexpected out-of-bound memory adjacent to the supported cable array. This might cause null pointer dereference in cable_name_show function in extcon.c. Call trace: cable_name_show+0xc0/0xcc dev_attr_show+0x4c/0xa4 sysfs_kf_seq_show+0x114/0x224 kernfs_seq_show+0xa4/0x124 seq_read_iter+0x270/0x7b0 kernfs_fop_read_iter+0xbc/0x2a8 vfs_read+0x450/0x498 ksys_read+0xb0/0x144 Bug: 258382812 Change-Id: I0458c81c27ae90deedb81f37f085672e77194688 Signed-off-by: Kyle Tso <kyletso@google.com>
2023-02-09Merge "arm64/dts: tangorpro: use dma-cons for s2mpu_dpu" into ↵Mostafa Saleh
android13-gs-pixel-5.10-udc
2023-02-08arm64/dts: tangorpro: use dma-cons for s2mpu_dpuMostafa Saleh
Use the new property dma-cons for the DPU s2mpu. This tells the driver that there is a consumer device that issues DMA during boot, so it will link it as a consumer and will hold a reference for it until the driver probes. Bug: 262187119 Change-Id: I20a55c3cb2c8a3af1a0058fcaf1107c3face49cb Signed-off-by: Mostafa Saleh <smostafa@google.com>
2023-02-05Merge android13-gs-pixel-5.10-tm-qpr3 into android13-gs-pixel-5.10-udcPixelBot AutoMerger
SBMerger: 478053055 Change-Id: I52154de56a7e6604469be8de824874977d88f8f8 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-02-05Merge android13-gs-pixel-5.10-tm-qpr2 into android13-gs-pixel-5.10-tm-qpr3PixelBot AutoMerger
SBMerger: 478053055 Change-Id: I7097d9d2393f65ed59ad6f21e2ee8b6cb53049f8 Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
2023-02-02Merge "arm64/dts: tangorpro: Remove status property from lcd-bias" into ↵TreeHugger Robot
android13-gs-pixel-5.10-tm-qpr2
2023-02-01arm64/dts: tangorpro: use dma-cons for s2mpu_dpuMostafa Saleh
Use the new property dma-cons for the DPU s2mpu. This tells the driver that there is a consumer device that issues DMA during boot, so it will link it as a consumer and will hold a reference for it until the driver probes. Bug: 262187119 Change-Id: I20a55c3cb2c8a3af1a0058fcaf1107c3face49cb Signed-off-by: Mostafa Saleh <smostafa@google.com>
2023-01-31Merge "arm64/dts: Disable FRS" into android13-gs-pixel-5.10-tm-qpr2Badhri Jagan Sridharan
2023-01-31dts: usb: Set the maximum speed to superspeedKyle Tso
Bug: 251371792 Change-Id: I085423c60875709bbba23aabe2575604caadb946 Signed-off-by: Kyle Tso <kyletso@google.com> (cherry picked from commit 0757fbcbebfd5828da57ab9d825ecf43754309da)
2023-01-31arm64/dts: Disable FRSBadhri Jagan Sridharan
While docked, executing FRS causes the 12V from POGO pins to be shorted to the USB-C VBUS pins. This OVP's the USB-C accesory while shutting down POGO partner as well. Disable FRS altogether till we have an API to disable it in runtime. Bug: 266645982 Change-Id: I57441e34a2d9f2d41944bea0f88df387ede34a38 Signed-off-by: Badhri Jagan Sridharan <badhri@google.com>
2023-01-18dts: usb: Set the maximum speed to superspeedKyle Tso
Bug: 251371792 Change-Id: I085423c60875709bbba23aabe2575604caadb946 Signed-off-by: Kyle Tso <kyletso@google.com>
2023-01-18Merge "pogo_transport: Update the CC orientation to SS PHY in some cases" ↵Kyle Tso
into android13-gs-pixel-5.10-tm-qpr2
2023-01-17arm64/dts: tangorpro: Remove status property from lcd-biasDaniel Mentz
Remove the property status = "okay"; from the following two nodes tps65132_bias: lcd-bias@3e rt4801_bias: lcd-bias@73 The kernel appears to assume the value "okay" if the property status is absent. Bug: 265256786 Fixes: 1da07fe ("arm64/dts: tangorpro: add lcd bias device tree entry") Change-Id: I947e708b2e6ae7158658616ca84b95ba7904c93d Signed-off-by: Daniel Mentz <danielmentz@google.com>
2023-01-17Merge "thermal: Add shutdown thermistors" into android13-gs-pixel-5.10-tm-qpr2TreeHugger Robot
2023-01-16boe-ts110f5mlg0/csot-ppa957db2d : Add IE feature on CABC modegilliu
add image enhance function on CABC moving mode Bug: 247038909 Test: check sysfs node and register Change-Id: Idfebbaf4a27e8bf47b24e23256981b9bb5080064 Signed-off-by: gilliu <gilliu@google.com>