Qualcomm Snapdragon 670 (SDM670)
The Snapdragon 670 is a mid-range SoC used in a few devices.
Manufacturer | Qualcomm |
---|---|
Name | SDM670 |
Codenames | sdmbat |
Architecture | aarch64 |
CPU | 2x 2.0 GHz Kryo 360 Gold, 6x 1.7 GHz Kryo 360 Silver |
GPU | Adreno 615 |
Year | 2018 |
Process | 10nm |
Mainline | yes |
Community Page | https://gitlab.com/sdm670-mainline |
Components | |
CPU |
Partial |
UART |
Broken |
Storage |
Partial |
USB |
Partial |
Display |
Works |
GPU |
Works |
Pinctrl |
Partial |
I²C |
Works |
SPI |
Broken |
Audio |
Broken |
Video | |
Thermal |
Broken |
WiFi |
Works |
Bluetooth |
Works |
Modem |
Works |
GPS | |
Camera |
Broken |
Suspend | |
Devices
Device | Codename | Mainline |
---|---|---|
Google Pixel 3a | google-sargo | Y |
Display
It is fairly easy to get a working display. See MSM8996_Mainlining#Simple_Framebuffer for details on how to do this. For full panel support (needed for backlight and 3D acceleration), there is a panel driver generator.
Regulators
The PM660 and PM660L power management ICs host most of the regulators. If you're copying regulators from other SoCs, keep in mind that SDM670 uses RPMh to communicate with the PMICs, while most other SoCs use the older RPM. The SDM670 regulators don't go in &rpm_requests
, but &apps_rsc
instead (and have qcom,pm660-rpmh-regulators
and qcom,pm660l-rpmh-regulators
compatible strings).
Disabling core components
Your device might not boot with the first dts you send it if you keep the core components enabled:
&tlmm
- the pinctrl and gpio subsystems normally access all pins to read their state&gcc
- withclk_ignore_unused
as a kernel command line option, this might turn on reserved clocks
Bluetooth
Bluetooth is available on uart6. Modem and WiFi are not required.
Feature table
Pinctrl
There is a pin control driver but it has no wakeirqs. There is also an LPI TLMM for audio with no mainline driver.
Storage
eMMC works but not UFS. Perhaps it will be added with an SDM710 device.
USB
There is currently only USB 2.0.
Video
Maybe video acceleration works. There is still bad userspace support for video (ffmpeg isn't even packaged in Alpine with v4l2 video acceleration).