Jump to content

Qualcomm Snapdragon 855 (SM8150)

From postmarketOS Wiki
Qualcomm SM8150
Manufacturer Qualcomm
Name SM8150
Codenames hana (HLOS codename is msmnile)
Architecture aarch64
CPU 1x 2.84GHz Kryo 485 Prime (A76-based)
3x 2.42GHz Kryo 485 Gold (A76-based)
4x1.8GHz Kryo 485 Silver (A55-based)
GPU Adreno 640
Year 2019
Process 7nm
Mainline yes
Community Page
A link to a git{hub,lab} organisation/repo where development happens.
https://gitlab.com/sm8150-mainline
Components
CPU
SMP (bring up secondary CPU cores), CPU frequency scaling, CPUidle
Works
UART
Works
Storage
eMMC, SD cards, UFS, ...
Works
USB
Works
Display
Works
GPU
Works
Pinctrl
Works
I²C
Works
SPI
Serial Peripheral Interface
Works
Audio
Partial
Video
Hardware-accelerated video de/encoding
Broken
Thermal
Works
WiFi
Works
Bluetooth
Works
Modem
Calls, SMS, Internet
Partial
GPS
Partial
Camera
Partial
NPU
Neural Processing Unit
Broken
Suspend
Works

SM8150 (or Snapdragon 855) is a high-end Qualcomm SoC released in 2019 with mainline support originally added for the MTP (proven reference design) board towards the end of 2019. Internal msm codename for platform is hana (HLOS codename msmnile).

Devices

Snapdragon 855 (SM8150)

Device Codename Category
ASUS Zenfone 6/6Z asus-i01wd
Google Pixel 4 google-flame
Google Pixel 4 XL google-coral
HTC 5G Hub htc-rtxspr
LG G8X ThinQ lg-mh2lm
Microsoft Surface Duo epsilon
OnePlus 7 Pro oneplus-guacamole testing
OnePlus 7/7 Pro/7T oneplus-guacamoleb, oneplus-guacamole, oneplus-hotdogb testing
OnePlus 7T Pro oneplus-hotdog testing
Realme X3 realme-x3 testing
Xiaomi Mi 9 xiaomi-cepheus testing
Xiaomi Mi 9T Pro / Redmi K20 Pro xiaomi-raphael testing

Snapdragon 860 (SM8150-AC)

Device Codename Category
Xiaomi Pad 5 xiaomi-nabu testing
Xiaomi POCO X3 Pro xiaomi-vayu testing

UFS internal storage

Warning WARNING: IF YOUR DEVICE IS A SONY XPERIA DO NOT NEVER EVER EVER TRY TO ENABLE UFS ON NON-VENDOR/NON-SODP KERNELS! IT WILL ERASE THE CHIP CLEAN (INCLUDING THE BOOTLOADER!) CONSIDER YOURSELF WARNED

Mainline

A work in progress mainline kernel is being developed here.

  • Kernel release, e.g. v6.4: the feature was incorporated upstream as of this release.
  • WIP: Feature works or works partially in community kernel fork. Not upstream yet.
  • Y: The feature works with a generic or compatible driver.
  • N: Feature is not currently supported.
Component Part Driver Status Notes
SoC Snapdragon 855 WIP
CPU Kryo Prime 485 (2.84GHz)
Kryo Gold 485 (2.42GHz)
Kryo Silver 485 (1.8GHz)
qcom,kryo485 Y
Storage UFS (2.1 gear 3) qcom,sm8150-ufshc
qcom,ufshc
jedec,ufs-2.0
Y
SD-Card (3.0) qcom,sdhci-msm-v5 Y
USB Type C USB 2.0 qcom,dwc3
snps,dwc3
qcom,usb-snps-hs-7nm-phy
Y
USB 3.1 qcom,sm8150-qmp-usb3-dp-phy Y
DisplayPort 1.4 qcom,sm8150-dp Y
OTG qcom,pm8150b-typec
qcom,pm8150b-vbus-reg
Y
Display SimpleFB simple-framebuffer Y
DPU qcom,sm8150-dpu Y
GPU Adreno 640 (257-675MHz) qcom,adreno-640.1
qcom,adreno
Y
Pinctrl TLMM 173 GPIOs qcom,sm8150-pinctrl Y
QUP x19 UART x2 qcom,geni-uart Y
I2C x20 qcom,geni-i2c Y
SPI x20 qcom,geni-spi Y
CCI I2C x2 qcom,msm8996-cci Y
Audio wcd9375 N
wcd9340 (optional) N
wcd9341 (optional) N
MI2S qcom,sm8150-sndcard WIP Some progress was made on sm8150-xiaomi-nabu.dts
bluetooth audio Y
Video Venus N
Thermal TSENS Y
PMIC SENS Y
wcn3990 WiFi qcom,wcn3990-wifi Y
Bluetooth qcom,wcn3990-bt Y
Modem Calls qcom,sm8150-ipa
IPA v4.1
WIP Its seems to work, you can enable it on your device and test it. Check this branch.
It can send/receive SMS (replies may be delayed).
SMS WIP
Mobile data WIP
GPS WIP
Camera qcom,sm8150-camss WIP Some progress is being made here
NPU N
Suspend Y
RAM console (ramoops) Y
Regulators RPMH qcom,pm8150-rpmh-regulators
qcom,pm8150b-rpmh-regulators
qcom,pm8150l-rpmh-regulators
qcom,pm8009-rpmh-regulators (optional)
Y
RPMHPD qcom,sm8150-rpmhpd Y
RemoteProcs MPSS qcom,sm8150-mpss-pas Y
ADSP qcom,sm8150-adsp-pas Y
CDSP qcom,sm8150-cdsp-pas Y
SLPI qcom,sm8150-slpi-pas Y
Interconnects qcom,sm8150-mc-virt
qcom,sm8150-config-noc
qcom,sm8150-system-noc
qcom,sm8150-aggre1-noc
qcom,sm8150-aggre2-noc
qcom,sm8150-mmss-noc
qcom,sm8150-compute-noc
qcom,sm8150-dc-noc
qcom,sm8150-gem-noc
qcom,sm8150-camnoc-virt
qcom,osm-l3
Y
Clocks Global Clock Controller qcom,gcc-sm8150 Y
RPM Clock Controller qcom,sm8150-rpmh-clk Y
GPU Clock Controller qcom,sm8150-gpucc Y
Display Clock Controller qcom,sm8150-dispcc Y
Video Clock Controller qcom,sm8150-videocc Y
Camera Clock Controller qcom,sm8150-camcc Y
LLCC Last Level Cache Controller qcom,sm8150-llcc Y
PMIC Buttons gpio-keys Y
Fuel gauge qcom,pm8150b-fg WIP
Charger qcom,qpnp-smb5 WIP
qcom,smb1355 (optional) N
qcom,smb1390 (optional) N
Notification LED qcom,pm8150l-lpg Y
Flashlight qcom,spmi-flash-led Y
Wled qcom,pm8150l-wled Y
Sensors SSC WIP Some progress is being made here


See also

sm8150-mainline a close-to mainline kernel tree for SM8150 devices.

pmaports!2151 Initial pmOS package for the sm8150 kernel tree

Who's working on it

TODO TODO: add more devs :D

Join us

Feel free to join us at #sm8150-mainline:matrix.org on Matrix.