Qualcomm Snapdragon 615/616 (MSM8939)
MSM8939 (or Snapdragon 615) is a Qualcomm SoC released in 2014, with great mainline support. There is a slightly higher clocked variant (CPU cores up to 1.7/1.2 GHz) available as Snapdragon 616. Efforts to coordinate mainlining of this SoC and porting of new devices can be discussed at #msm8939:matrix.org.
MSM8939 is a great platform to get started with mainlining! It can use the MSM8916 Mainlining guide that explains how to get started (as both SoC's are very similar). Most of the time you need to change
Use https://gitlab.com/msm8939-mainline/linux as the kernel source, depend on
linux-postmarketos-qcom-msm8939, initialize the kernel config with
make msm8916_defconfig msm8939.config pmos8939.config and build
For initial device tree compare with other msm8939 devices, as compatible, include and regulators differ a bit.
Most other stuff should just work™ and you can always compare to the other msm8939 devices
Using all 8 core feels sluggish, therefore currently only 4 are enabled.
MSM8939 (Snapdragon 615)
|ASUS Zenfone 2 Laser / Zenfone 2 Selfie (1080p variant)||asus-z00t||testing|
|BQ Aquaris M5||bq-piccolo||Y||testing|
|HTC One M8s||htc-m8qlul||Y||testing|
|Lenovo PHAB Plus||lenovo-phoenix||testing|
|Motorola Moto X Play||motorola-lux||testing|
|Sony Xperia M4 Aqua||sony-tulip||testing|
|Xiaomi Mi 4i||xiaomi-ferrari||Y||testing|
MSM8939v2 (Snapdragon 616)
|Huawei Honor 5X||huawei-kiwi||Y||testing|
|Xiaomi Redmi 3||xiaomi-ido||testing|
A shared kernel fork with some out-of-tree patches which were not upstreamed yet can be found at https://gitlab.com/msm8939-mainline/linux.