Skip to content
Update home authored by Martin Lillepuu's avatar Martin Lillepuu
...@@ -11,9 +11,10 @@ ...@@ -11,9 +11,10 @@
- [/sys/devices](oneplus3t-mainline-sys-devices) - [/sys/devices](oneplus3t-mainline-sys-devices)
- [lsusb](oneplus3t-mainline-lsusb) - [lsusb](oneplus3t-mainline-lsusb)
- [lspci](oneplus3t-mainline-lspci) - [lspci](oneplus3t-mainline-lspci)
- [PostmarketOS Wiki 3T](https://wiki.postmarketos.org/wiki/OnePlus_3T_(oneplus-oneplus3t)) - [PostmarketOS Wiki 3T](https://wiki.postmarketos.org/wiki/OnePlus_3T\_(oneplus-oneplus3t))
**Mainlined oneplus 3/3t patches** **Mainlined oneplus 3/3t patches**
- v1: https://lore.kernel.org/phone-devel/20221021142242.129276-1-hpausten@protonmail.com/ - v1: https://lore.kernel.org/phone-devel/20221021142242.129276-1-hpausten@protonmail.com/
- v2: https://lore.kernel.org/phone-devel/20221023204505.115141-1-hpausten@protonmail.com/ - v2: https://lore.kernel.org/phone-devel/20221023204505.115141-1-hpausten@protonmail.com/
...@@ -25,15 +26,17 @@ ...@@ -25,15 +26,17 @@
**TODO** **TODO**
- device hangs after gui is loaded (works only in cli)
* [dmesg](2023-08-24-dmesg)
- home button / fingerprint reader - home button / fingerprint reader
- kernel drm_kms_helper oops/crash on reboot - kernel drm_kms_helper oops/crash on reboot
- [dmesg](oneplus3t-mainline-reboot-oops-dmesg) - [dmesg](oneplus3t-mainline-reboot-oops-dmesg)
- [workaround](https://gitlab.com/pmos-oneplus3t/linux/-/commit/13c0a5cf0feb296940c95753025222c022357cc4) - [workaround](https://gitlab.com/pmos-oneplus3t/linux/-/commit/13c0a5cf0feb296940c95753025222c022357cc4 "drivers: gpu: drm: msm: oneplus3t workaround for kernel oops on reboot")
- audio - audio
- [dmesg](oneplus3t-mainline-audio-dmesg) - [dmesg](oneplus3t-mainline-audio-dmesg)
- [dapm graph](oneplus3t-dapm-graph) - [dapm graph](oneplus3t-dapm-graph)
- [alsa ucm config](oneplus3t-mainline-alsa-ucm) - [alsa ucm config](oneplus3t-mainline-alsa-ucm)
- [initial headphone output support](https://gitlab.com/pmos-oneplus3t/alsa-ucm-conf/-/commit/323da05ac54184159813adc7fe54b9755eac73d2) - [initial headphone output support](https://gitlab.com/pmos-oneplus3t/alsa-ucm-conf/-/commit/323da05ac54184159813adc7fe54b9755eac73d2 "ucm2: Add headphones configuration for Oneplus3/3T")
- front camera - front camera
- samsung s5k3p8sp - samsung s5k3p8sp
- [driver ref](https://github.com/martinl/openpilot/blob/e6c47916a2bd67032956137449389cd11c1a5e43/selfdrive/camerad/cameras/camera_qcom.cc) - [driver ref](https://github.com/martinl/openpilot/blob/e6c47916a2bd67032956137449389cd11c1a5e43/selfdrive/camerad/cameras/camera_qcom.cc)
...@@ -54,13 +57,14 @@ ...@@ -54,13 +57,14 @@
- haptics - haptics
- [downstream dts](oneplus3t-android-dts-haptics) - [downstream dts](oneplus3t-android-dts-haptics)
- [dmesg](oneplus3t-mainline-haptics-dmesg) - [dmesg](oneplus3t-mainline-haptics-dmesg)
- [partial support](https://gitlab.com/pmos-oneplus3t/linux/-/commit/c665367d9cf6ade1b8ae0db0c3d3930a32468bad) - [partial support](https://gitlab.com/pmos-oneplus3t/linux/-/commit/c665367d9cf6ade1b8ae0db0c3d3930a32468bad "arm64: dts: qcom: msm8996-oneplus3: enable haptics (needs direct play-mode support)")
- IPA 2.x - IPA 2.x
- [5.13 mainline ipa 2.x RFC](https://lore.kernel.org/linux-arm-msm/20210920030811.57273-1-sireeshkodali1@gmail.com/) - [5\.13 mainline ipa 2.x RFC](https://lore.kernel.org/linux-arm-msm/20210920030811.57273-1-sireeshkodali1@gmail.com/)
- [Android 4.19](https://github.com/stormbreaker-project/kernel_xiaomi_lavender_4.19/tree/4.19-stable/drivers/platform/msm/ipa/ipa_v2) - [Android 4.19](https://github.com/stormbreaker-project/kernel_xiaomi_lavender_4.19/tree/4.19-stable/drivers/platform/msm/ipa/ipa_v2)
- [Android 3.10 ipa-utils](https://android.googlesource.com/kernel/msm/+/android-msm-lego-3.10-marshmallow-dr/drivers/platform/msm/ipa/ipa_utils.c) - [Android 3.10 ipa-utils](https://android.googlesource.com/kernel/msm/+/android-msm-lego-3.10-marshmallow-dr/drivers/platform/msm/ipa/ipa_utils.c)
Testing Testing
- sensors (SSC) - sensors (SSC)
- MR https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4118 - MR https://gitlab.com/postmarketOS/pmaports/-/merge_requests/4118
- opencl - opencl
...@@ -90,7 +94,7 @@ Testing ...@@ -90,7 +94,7 @@ Testing
- USB devices support (various dts fixes) - USB devices support (various dts fixes)
- [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/11 "Oneplus 3T: enable SMBCharger and fix USB") - [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/11 "Oneplus 3T: enable SMBCharger and fix USB")
- Wifi [dmesg](oneplus3t-mainline-wifi-dmesg) - Wifi [dmesg](oneplus3t-mainline-wifi-dmesg)
- [MR](https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3313 "testing/firmware-oneplus-oneplus3t: add custom ath10k board file") - [MR](https://gitlab.com/postmarketOS/pmaports/-/merge_requests/3313 "testing/firmware-oneplus-oneplus3t: add custom ath10k board file")
- [nmcli](oneplus3t-mainline-nmcli-wifi) - [nmcli](oneplus3t-mainline-nmcli-wifi)
- USB Networking / RNDIS: Use USB A-C cable to start USB Network. Using A-C OTG cable + A-A cable does not work. - USB Networking / RNDIS: Use USB A-C cable to start USB Network. Using A-C OTG cable + A-A cable does not work.
- [dmesg](oneplus3t-mainline-usb-network-dmesg) - [dmesg](oneplus3t-mainline-usb-network-dmesg)
...@@ -101,23 +105,23 @@ Testing ...@@ -101,23 +105,23 @@ Testing
- [Workaround](oneplus3t-mainline-suspend-fix) - [Workaround](oneplus3t-mainline-suspend-fix)
- [Fix](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/12 "arm64: dts: qcom: msm8996-oneplus3: correct volume up and down buttons, hall sensor gpio settings") - [Fix](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/12 "arm64: dts: qcom: msm8996-oneplus3: correct volume up and down buttons, hall sensor gpio settings")
- tri-state switch - tri-state switch
- [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/13) - [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/13 "arm64: dts: qcom: msm8996-oneplus3: enable tri-state switch")
- rgb led - rgb led
- [downstream dts](oneplus3t-android-dts-rgb-led) - [downstream dts](oneplus3t-android-dts-rgb-led)
- [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/15) - [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/15 "arm64: dts: qcom: msm8996-oneplus3: add status led and touch keys leds")
- [testing](oneplus3t-mainline-leds-testing) - [testing](oneplus3t-mainline-leds-testing)
- nfc - nfc
- [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/16) - [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/16 "arm64: dts: qcom: msm8996-oneplus3: enable nfc")
- touch keys (synaptics s1302) - touch keys (synaptics s1302)
- backlight leds - backlight leds
- [downstream dts](oneplus3t-android-dts-touchkeys-led) - [downstream dts](oneplus3t-android-dts-touchkeys-led)
- [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/15) - [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/15 "arm64: dts: qcom: msm8996-oneplus3: add status led and touch keys leds")
- rmi4-i2c - rmi4-i2c
- [downstream dts](oneplus3t-android-dts-touchkeys-s1302) - [downstream dts](oneplus3t-android-dts-touchkeys-s1302)
- [downstream driver](https://github.com/LineageOS/android_kernel_oneplus_msm8996/blob/lineage-18.1/drivers/input/touchscreen/synaptics_driver_s1302.c#L685) - [downstream driver](https://github.com/LineageOS/android_kernel_oneplus_msm8996/blob/lineage-18.1/drivers/input/touchscreen/synaptics_driver_s1302.c#L685)
- [old mainline commit for adding rmi f1a support](https://patchwork.kernel.org/project/linux-input/patch/1345241877-16200-13-git-send-email-cheiny@synaptics.com/) - [old mainline commit for adding rmi f1a support](https://patchwork.kernel.org/project/linux-input/patch/1345241877-16200-13-git-send-email-cheiny@synaptics.com/)
- [msm8998-mainline F1A port](https://gitlab.com/msm8998-mainline/linux/-/commit/1eeea5a341c8947ea0a94fa1d2b6ebb0b079efc3) - [msm8998-mainline F1A port](https://gitlab.com/msm8998-mainline/linux/-/commit/1eeea5a341c8947ea0a94fa1d2b6ebb0b079efc3)
- [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/17) - [MR](https://gitlab.com/msm8996-mainline/linux/-/merge_requests/17 "Input: synaptics-rmi4 - add support for F1A")
- bluetooth - bluetooth
- [dmesg](oneplus3t-mainline-bt-dmesg) - [dmesg](oneplus3t-mainline-bt-dmesg)
- [bluetoothd](oneplus3t-mainline-bt-bluetoothd-testing) - [bluetoothd](oneplus3t-mainline-bt-bluetoothd-testing)
...@@ -129,8 +133,7 @@ References ...@@ -129,8 +133,7 @@ References
- [Device Tree Usage](https://elinux.org/Device_Tree_Usage) - [Device Tree Usage](https://elinux.org/Device_Tree_Usage)
- [Qualcomm SOC Mainlining history (up to 2015)](https://elinux.org/Qualcomm_SOC_Mainlining_Project) - [Qualcomm SOC Mainlining history (up to 2015)](https://elinux.org/Qualcomm_SOC_Mainlining_Project)
- OneplusOSS github repo [Oneplus3/3T android kernel merge commit/diff](https://github.com/OnePlusOSS/android_kernel_oneplus_msm8996/commit/35c7c2f40e505587c6c90966a09909e48854cd63#diff-d677f0e7ae805e21fde5ac79b71d1240a9471590f93c9afd82bc8f91da464b40) - OneplusOSS github repo [Oneplus3/3T android kernel merge commit/diff](https://github.com/OnePlusOSS/android_kernel_oneplus_msm8996/commit/35c7c2f40e505587c6c90966a09909e48854cd63#diff-d677f0e7ae805e21fde5ac79b71d1240a9471590f93c9afd82bc8f91da464b40)
- [Xiaomi Scorpio](https://wiki.postmarketos.org/wiki/Xiaomi_Mi_Note_2_(xiaomi-scorpio)) is similar device running msm8996pro - [Xiaomi Scorpio](https://wiki.postmarketos.org/wiki/Xiaomi_Mi_Note_2\_(xiaomi-scorpio)) is similar device running msm8996pro
- https://www.embear.ch/blog/using-ramoops - https://www.embear.ch/blog/using-ramoops
- https://emainline.gitlab.io/2021/10/06/Unlocking_SSC_P1.html - https://emainline.gitlab.io/2021/10/06/Unlocking_SSC_P1.html
- [Rob Clark's blog](http://bloggingthemonkey.blogspot.com/) (Up to 2017) - [Rob Clark's blog](http://bloggingthemonkey.blogspot.com/) (Up to 2017)
\ No newline at end of file