Skip to content

Conversation

@Smankusors
Copy link
Contributor

Actually, the mainline kernel needs this to identify the appropriate driver to use.

Comment on lines 34 to 38
qcom,mdss_dsi_tm5p5_r63350_1080p_video {
compatible = "asus,tm5p5_r63350";
};

qcom,mdss_dsi_tm5p2_r63350_1080p_video {
Copy link
Member

Choose a reason for hiding this comment

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

Considering that they are two different phones (5.5 display and 5.2 display), are there any other differences or the display is the only one, and we can expect the hardware design to be the same? If not, I'd say we should probably split this into two nodes and use match-display here to separate 5.5 and 5.2...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I taken this one from the LineageOS kernel, and their only differences AFAIK are the display and the battery.

https://wiki.lineageos.org/devices/zenfone3/


Uh looking at the source again, there seems more than one "if 5.2 then, if 5.5 then"...

Copy link
Contributor Author

@Smankusors Smankusors Aug 2, 2024

Choose a reason for hiding this comment

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

@TravMurav there are about eight variants for each screen size...
https://github.com/LineageOS/android_kernel_asus_msm8953/blob/d4ab72afd66672e7b3e49378e5eaf874c8e09440/include/linux/kernel.h#L22-L38

I don't really plan to port all the features of the Zenfone 3, as I only own the ZE520KL_MP. Should I create 16 nodes, or just 2 nodes (ze520kl and ze552kl)?

Copy link
Member

@TravMurav TravMurav Aug 3, 2024

Choose a reason for hiding this comment

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

Please only add those you can verify working

(...) also I think most of the listed entries are prototypes/preprod models so there would be only two anyway available in retail. I'd guess MP means "mass prodution" and all other ones are various EVT/DVT/PVT

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok I splitted them into two nodes based on the cmdline, wdyt?

Copy link
Member

Choose a reason for hiding this comment

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

This looks good I think but please squash the commits

@Smankusors Smankusors marked this pull request as draft August 1, 2024 16:56
Actually, the mainline kernel needs this to identify the appropriate driver to use.
Also split zenfone3 devices based on the cmdline
@Smankusors Smankusors marked this pull request as ready for review August 3, 2024 18:54
@TravMurav TravMurav merged commit 053c611 into msm8916-mainline:main Aug 4, 2024
@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.

2 participants