|2x 2.0 GHz Kryo 360 Gold, 6x 1.7 GHz Kryo 360 Silver
The Snapdragon 670 is a mid-range SoC used in a few devices.
|Google Pixel 3a
|Google Pixel 3a XL
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.
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
&apps_rsc instead (and have
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
clk_ignore_unusedas a kernel command line option, this might turn on reserved clocks
Bluetooth is available on uart6. Modem and WiFi are not required.
The internal sound card and generic WCD codecs are supported. Some device-specific codecs may not be set up by the sound card driver.
ADSP crashes after suspended to RAM, maybe because there is no interaction with the sleepstate SMP2P node.
The q6voice drivers and q6voiced daemon set up call audio to go directly from the modem to ADSP. The Snapdragon 670 uses CVD revision 2.3, which requires a different initialization sequence.
Call audio may be loud depending on how the UCM configuration is set up for your device. Volume cannot be controlled in software, so it must be controlled in hardware. The headphone jack has 2 hardware volume controls, one for each channel, and can be controlled like so:
$ amixer -c 0 cset name='Digital RX1 Digital Volume' 23% $ amixer -c 0 cset name='Digital RX2 Digital Volume' 23% # alsactl store # Make this configuration persist across reboots
There is a pin control driver but it has no wakeirqs. There is also an LPI TLMM for audio with no mainline driver.
eMMC is added but not UFS.
Thermal zones are partially provided by the PMIC device tree, but are not actively tested.
There is currently only USB 2.0.
Video decoding works, but not encoding. There is still bad userspace support for video (ffmpeg isn't even packaged in Alpine with v4l2 video acceleration).
The video decoder is underclocked at 1920x1080 30fps, but not 24fps.