47 Commits

Author SHA1 Message Date
Adithya R
9966ff30d3 display: m16t-36-02-0a: Prevent display from blacking out in doze
Signed-off-by: Fiqri Ardyansyah <fiqri191002@gmail.com>
2025-06-03 01:30:21 +09:00
Jens Reidel
71accbf6ec display: Add miboard id to diwali reference board
Change-Id: I91ef08675f740ecacc14a518e6b864c75a1abb3b
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-05-26 22:21:35 +02:00
Jens Reidel
2fa68a3aa4 display: diting: Match wait after pulling down reset GPIO with stock
Change-Id: Iabcbcbdbf05a48636154b042ef83ac0434445674
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:08:43 +02:00
Jens Reidel
60a4a2a95c display: ziyi: Fix panel lists for charge screen and xiaomi touch
Change-Id: Iae06e6338de5b2cd3c81db653dfe1e7854dc9263
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:08:43 +02:00
Arian
0e9cfa7c2b Move to new xiaomi-touch driver
Change-Id: Ie2e3430dbba8003739561a0843a19bdfda7cdcf0
2025-04-28 15:08:43 +02:00
Jens Reidel
c9c71d7450 display: diting: Update nolp and doze commands from diting V816.0.4.0.ULFMIXM
Change-Id: I30ca30a1c5ea26037eb8a67a7782cdc35a876467
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
6158938f4d display: diting: Bump minimal brightness to 8
Change-Id: I62afd5aa9e2354e755b6a729aa5722a128fd30b2
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
a1a51673d7 display: diting: Correct physical panel dimensions
Change-Id: I491bb1b8300ecdd8ac75d3d60910f77aff702ca9
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
f2ca924f83 display: Add support for Xiaomi 12T Pro / Redmi K50 Ultra (diting|L12)
Change-Id: I74826692899d10097eb61a44aa04a490c5bd7b4b
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
6662d39274 display: ziyi: Bump minimal brightness to 8
Change-Id: I341ffcfc61d89ec13652ae00e3c64c64f8f360a1
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
c287d9b9aa display: ziyi: Correct physical panel dimensions
Change-Id: I721e2c492de5dfb3f9a984474f7fa0e2a9b6dd0b
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
35ffc2c386 display: Reverse ziyi display changes and add L9S 42 02 0C panel support
Change-Id: Ia401d800a68eb409078bf73ec4acf4085d7ea31b
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
2562f47583 display: Add support for Xiaomi 13 Lite/Civi 2 (ziyi|L9S)
Change-Id: Ide802aac5fc22e3970a3bad2df207abf3374344a
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Jens Reidel
d831e04873 display: Remove diwali reference touchscreens from IDP
Change-Id: Ief4983904cadc9241b6d40faed14058f0e768184
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:07:57 +02:00
Arian
e77a0130ad display: Bump minimal brightness to 8 for all our devices
Change-Id: Ie7a644eafbdd19aaefbd53395ee3c2fb5dd70bdc
2025-04-28 15:06:47 +02:00
Arian
59d2986488 display: Correct physical panel dimensions for our devices
These values were multiplied with 10 by xiaomi to allow
more specific configurations. This requires changes in
the display HAL which are not part of the open source
qcom display HAL. Hence decrease the values by dividing
through 10 and rounding to nearest integer to support
the qcom display HAL.

This caused unexpected behaviour in some apps without the
display HAL changes. (e.g. pictures are shown too small
in Reddit app, sliding in Gboard is too sensitive)

It is assumed that the value is too high if the height
is above 1000. The changes have been done with this script:
```
for panel in $(ls qcom/display/display/dsi-panel-{l,m}*); do
        height=$(sed -n "s/^.*qcom,mdss-pan-physical-height-dimension = <\([0-9]\+\)>;/\1/p" ${panel})
        width=$(sed -n "s/^.*qcom,mdss-pan-physical-width-dimension = <\([0-9]\+\)>;/\1/p" ${panel})

        if [[ ${height} > 1000 ]]; then
                height=$(python3 -c "print(round(${height} / 10))")
                width=$(python3 -c "print(round(${width} / 10))")

                sed -i "s/^\(.*qcom,mdss-pan-physical-height-dimension = <\)[0-9]\+\(>;\)/\1${height}\2/g" ${panel}
                sed -i "s/^\(.*qcom,mdss-pan-physical-width-dimension = <\)[0-9]\+\(>;\)/\1${width}\2/g" ${panel}
        fi
done
```

Change-Id: Ia99595bf038d8f9302e36e5a02aae48912243c96
2025-04-28 15:06:47 +02:00
Jens Reidel
b3321f3a7b display: marble: Update nolp and doze commands from marble V816.0.3.0.UMRMIXM
Change-Id: I2c3d0e7728e8c9b2a207de22ad402fae7fae0064
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:06:47 +02:00
Arian
a58dd509c5 display: marble: Update nolp command from mondrian V816.0.3.0.UMNMIXM
Change-Id: I79e20546bcb6ba699d822249b9617c477314e0d3
2025-04-28 15:06:47 +02:00
Arian
add8a44370 display: marble: Update from unicorn V816.0.3.0.ULECNXM
Change-Id: I87f19c2a958a63eab57f0e3f7906fc1172e64c6f
2025-04-28 15:06:47 +02:00
Jens Reidel
46c02d7bcf display: marble: Disable 30Hz timing
Change-Id: Ia3166e4565d24af125a34ead1bf2790162bf8093
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:06:47 +02:00
Arian
bbb1108da8 display: marble: Update gamma switch commands from unicorn V816.0.3.0.ULECNXM
Change-Id: Ic86dd33d48f470c53aadcc9626e7da22902b97d9
2025-04-28 15:06:47 +02:00
Arian
4b9ac3bac6 display: Add support for POCO F5/Redmi Note 12 Turbo (marble|M16T)
Change-Id: Idfd6fa59d41e7a89cf6630ae67f4ad8e21c03094
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2025-04-28 15:06:47 +02:00
Arian
78e8521292 display: mondrian: Add qcom,mdss-dsi-nolp-command-update from mondrian V816.0.3.0.UMNMIXM
Change-Id: I4e4ed0afc66c3b2b9c783f4dfd4bdb910e340c5d
2025-04-28 15:06:47 +02:00
Arian
acbc9c5180 display: mondrian: Commonize lp and local hbm commands for all timings
Change-Id: I73bbe89878962a70b1d1d96af73da6c0b177fe54
2025-04-28 15:06:47 +02:00
Arian
f04f452252 display: mondrian: Update from V14.0.5.0.TMNMIXM
Change-Id: Icf51bc9ed28abba232eb72a32777b312698067c3
2025-04-28 15:06:47 +02:00
Arian
ed064e9f46 display: Add support for POCO F5 Pro/Redmi K60 (mondrian|M11A)
Change-Id: I28ae34fd3480114b819cdc61ef20219d441b087f
2025-04-28 15:06:47 +02:00
FlowerSea0208
598e01aa4b display: mayfly: Drop 90Hz timing
* Switching to 90Hz results in a very noticeable color shift, especially when displaying dark content.
  So remove it for a better visual experience.

Change-Id: Ic2115c357fd6b74da135f668be4f0279ba25de5e
2025-04-28 15:06:47 +02:00
Arian
287832ca3b display: Add support for Xiaomi 12S (mayfly|L3S)
Change-Id: I3762f444fb6c3696971739f1dc6def34337b1ddc
2025-04-28 15:06:47 +02:00
Arian
7872f9c56e display: zizhan: Update from unicorn V816.0.3.0.ULECNXM
Change-Id: I81470c09cf6e399492005ee3d0e1f1648d6ff369
2025-04-28 15:06:47 +02:00
Arian
1917c92627 display: Add support for Xiaomi MIX Fold 2 (zizhan|L18)
Change-Id: Id0599a6be0abe11f09d7915fec9628d8ea4a312b
2025-04-28 15:06:47 +02:00
Arian
025f63af2a display: unicorn: Update from unicorn V816.0.3.0.ULECNXM
Change-Id: Ied4643402e56a41d4be8a632553b0c1d1a0e6463
2025-04-28 15:06:47 +02:00
Arian
6cc1485351 display: Add support for Xiaomi 12S Pro (unicorn|L2S)
Change-Id: Iaff8fa5e6a9c992f7fc76ebd40302714b6d56d01
2025-04-28 15:06:47 +02:00
Arian
252cc05f96 display: thor: Update from unicorn V816.0.3.0.ULECNXM
Change-Id: If3cd822e5fdc86b93a7f410eedbed2f3dc035ee6
2025-04-28 15:06:47 +02:00
Arian
1ce8cc846a display: Add support for Xiaomi 12S Ultra (thor|L1)
Change-Id: Ie41a2298098c85049e591ccb2bace498429cf2da
2025-04-28 15:06:47 +02:00
Arian
1a6b338c1f display: Add miboard id to cape reference board
Change-Id: I8ea2f6a986f2144704a257337b840e1166f498a9
2025-04-28 15:06:47 +02:00
Arian
33e06a3de6 display: cape: Enable sde wakup with touch
Change-Id: I897fe2d77df68ca7d2fab323ec2cb092d40620a9
2025-04-28 15:06:47 +02:00
Arian
99a645e94a display: cape: Enlarge disp rdump region
Change-Id: I1ee3ab5b21ae3e3773cc98511b13959e55d745ff
2025-04-28 15:06:47 +02:00
Kujou Yuko
373e6605c0 display: cupid: Nuke 90Hz timing
* The screen will show severe color deviation when switching to 90Hz,
   remove it to ensure a better experience.

Change-Id: Iace02413e3ce4e14f30a61b81164aa9b23416342
2025-04-28 15:06:47 +02:00
Arian
32afd20b56 display: Add support for Xiaomi 12 (cupid|L3)
Change-Id: I4046014ac60f5273b434bee8c7cf2d993f1d752d
2025-04-28 15:06:47 +02:00
Arian
e0deb63ec9 display: Add support for Xiaomi 12 Pro (zeus|L1)
Change-Id: Ibfc1ae06e51ec7f48028589ee831b31855d3ddf6
2025-04-28 15:06:47 +02:00
Arian
9446651b0b display: Add miboard id to waipio reference board
Change-Id: Ifa7b4b76615546072bc9a2d112ef2c51976b2346
2025-04-28 15:06:47 +02:00
Arian
3e5bb4b3cf display: waipio: Enable sde wakup with touch
Change-Id: I713e154fcb7366f2db3398129783696c9fba988d
2025-04-28 15:06:47 +02:00
Arian
12bb2ea4be display: waipio: Enlarge disp rdump region
Change-Id: If71112fa969e0e3b874b0ce37b11b754c3a1f4a7
2025-04-28 15:06:47 +02:00
Arian
32eff8a18a display: waipio: Add vci panel regulator
Change-Id: Ib8802b549c22ca34ffdcf096a8d22e94ba7aabf4
2025-04-28 15:06:47 +02:00
Arian
926f248e7c Merge tag 'DISPLAY.LA.2.0.r1-13000-WAIPIO.0' of https://github.com/waipio-kernel-devicetree/kernel-display-devicetree into lineage-20
* tag 'DISPLAY.LA.2.0.r1-13000-WAIPIO.0' of https://github.com/waipio-kernel-devicetree/kernel-display-devicetree:
  ARM: dts: msm: add board-ID for qca6755
  ARM: dts: msm: enable hibernation for neo luna v2 target
  ARM: dts: msm: add display support for Parrot PRO SoC variant
  ARM: dts: msm: fix danger and safe luts values for neo target
  ARM: dts: msm: add board-ID for montague-idp-qps615
  display: Add Gaming supported RAVELIN SOC Ids.
  ARM: dts: msm: update default topology for neo-qxr-foreseer

Change-Id: I9fffc07fa7c10900bfed328e80e8f0fb0cb92a3b
2024-12-04 21:47:20 +01:00
Aaron Kling
e634736d52 qcom: Build dtbos inline
Change-Id: I5228fef8a209655ccc4306219062ba301ecfcaf9
2024-05-07 02:03:52 +03:00
Michael Bestas
aaf9f794ec Add 'qcom/display/' from commit '8b213c136573ee1f621ca9747eedd391c7f9fe62'
git-subtree-dir: qcom/display
git-subtree-mainline: b6722780a2
git-subtree-split: 8b213c1365
Change-Id: I73267ba185f25ed3609273dbf6441d68e5f46e76
2024-05-07 01:52:01 +03:00