Skip to content

Conversation

@erikas9987
Copy link

@erikas9987 erikas9987 commented Sep 23, 2025

Asus ZenFone 2 Laser/Selfie (Z00T) is a series of smartphones released in 2015, featuring a 1080p panel and a Qualcomm Snapdragon 615 (MSM8939) chipset. This PR brings up initial mainline support for the following variants of Asus ZenFone 2 Laser/Selfie:

  • ZE551KL
  • ZD551KL
  • ZE601KL (note: this device appears to feature an MSM8939v2 instead)
  • ZX550KL (mentioned in the downstream code, yet the existence of such device could not be confirmed)

Functionality was tested on Asus ZenFone Selfie (ZD551KL). The results are provided in the following table.

Component Working? Model Notes
USB Yes N/A USB is configured using an ID pin.
Internal storage Yes N/A
SD card Yes N/A lk2nd fails to boot mainline Linux from an SD card.
Buttons Yes N/A Volume up, down and power key.
WiFi Partial WCN3660B The signal is much weaker than if the chipset was used in Android.
Graphics Partial Adreno 405 Hardware video acceleration support is missing, as Venus for MSM8939 is WIP.
Panel Yes tm5p5-nt35596 Display flickers when switching brightness over the user interface. Switching brightness over sysfs works. In this PR, the panel is configured with qcom,dsi-phy-regulator-ldo-mode enabled, however, in a similar device that also has qcom,regulator-ldo-mode enabled downstream, Z00L, such property is missing. This PR also introduces a new driver for this panel, however, a driver for it is already present in mainline here
Touchscreen Yes Focaltech FT5306
Accelerometer Yes Invensense MPU8515
Magnetometer Broken Asahi Kasei AK09911 Device does not show up in iio-sensor-proxy and reports very minor value changes after being moved around.
Ambient light sensor Broken Capella CM36283/CM36686 This device is missing drivers in the mainline kernel and schematics for it are not publicly available. WIP driver for this sensor can be found here.
Hall Sensor Untested N/A This PR does not introduce support for the hall sensor as it could not be confirmed that it is working. However, device tree bindings for the hall sensor are available in a separate branch here
Audio Yes Partial NXP TFA9887 Built-in microphone, speakers, headphone jack output are working as expected. External microphone was not tested. ZE601KL uses a custom audio amplifier named NXP TFA9887, for which there is no support in mainline, however, a datasheet is publicly available here
Modem Yes N/A At the time of bringing up the device, modem was broken on MSM8939. However, modem was confirmed to be operational after applying patches listed here.
Camera Broken N/A qcom-camss subsystem is not supported by MSM8939. Mainline drivers for the flash LED are also missing, however, a datasheet for it, although a lacking one, is publicly available here.
NFC N/A N/A This device does not support NFC.
Battery Partial Broken Li-Poly This device relies on pm8916 vm-bms to receive battery readings downstream. On mainline, they are inaccurate. For now, battery nodes are removed from this PR, however, they remain available here
Charger Broken Summit smb358 A driver for the charger IC is present in mainline, however, the configuration of it in this device's downstream device tree is different than what's seen in other devices using this charger. In particular, it is configured using qcom,otg-gpio and qcom,inok-gpio GPIOs, while a mainline driver expects an interrupt or a usb-vbus regulator.

@a-andre
Copy link

a-andre commented Sep 23, 2025

Not necessary for this pull request, but when sending upstream, you should add a commit that adds asus,z00t to qcom.yaml. Note, this bindings commit should be first in your series.

@erikas9987 erikas9987 force-pushed the z00t-upstream branch 2 times, most recently from 6442f3a to 02f61f8 Compare September 23, 2025 20:40
@erikas9987
Copy link
Author

Not necessary for this pull request, but when sending upstream, you should add a commit that adds asus,z00t to qcom.yaml. Note, this bindings commit should be first in your series.

A separate commit for the binding in documentation, or squashed into the one for the device tree?

@a-andre
Copy link

a-andre commented Sep 23, 2025

A separate commit, see for example https://lore.kernel.org/linux-arm-msm/[email protected]/

@erikas9987 erikas9987 force-pushed the z00t-upstream branch 4 times, most recently from c39ea42 to 62657fe Compare September 24, 2025 12:04
pinctrl-0 = <&gpio_keys_default>;
pinctrl-names = "default";

label = "GPIO Buttons";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This label could be removed. IMO a hall sensor, which might be added later to gpio-keys, is not a "GPIO button".

@erikas9987 erikas9987 force-pushed the z00t-upstream branch 4 times, most recently from 2b086e1 to a260eb1 Compare September 27, 2025 09:16
Add a compatible for Asus ZenFone 2 Laser/Selfie (1080p)

Signed-off-by: Erikas Bitovtas <[email protected]>
Acked-by: Rob Herring (Arm) <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
erikas9987 and others added 3 commits October 31, 2025 12:31
Add an initial device tree for Asus ZenFone 2 Laser/Selfie. This
includes support for:
- UART
- USB
- Internal storage
- MicroSD
- Volume keys
- Touchscreen: Focaltech FT5306
- Accelerometer: Invensense MPU6515
- Magnetometer: Asahi Kasei AK09911
- Vibrator
- Audio input and output
- Modem

Signed-off-by: Erikas Bitovtas <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bjorn Andersson <[email protected]>
This commit adds support for the panel used in Asus ZenFone 2
Laser/Selfie. The panel used in this device is tm5p5-nt35596.

Signed-off-by: Erikas Bitovtas <[email protected]>
@erikas9987
Copy link
Author

@TravMurav TravMurav merged commit 6b410f6 into msm8916-mainline:msm8916/6.17-rc6 Oct 31, 2025
5 checks passed
@TravMurav
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants