Commit Graph

9735 Commits

Author SHA1 Message Date
9bfd2ef75a sync https://github.com/cupid-development/android_kernel_xiaomi_sm8450-devicetrees/commit/66d69b8e2342 2024-02-29 22:26:51 +08:00
Arian
c28321752e fixup! audio-devicetree: Add support for mayfly, unicorn and thor 2024-01-24 18:29:33 +01:00
Arian
8c12f7689e partially revert 53c7aa6cf6 to match unicorn
Change-Id: I805c52ef28d6f78c078b9805c20c040f8ab1dcf7
2024-01-24 18:22:05 +01:00
Arian
d2178b5edb fixup! display-devicetree: Add support for thor, unicorn, mondrian and mayfly 2024-01-24 18:22:05 +01:00
Arian
86d78a51fc camera-devicetree: Disable build for diting and zizhan
Change-Id: I94755962d6cf0b736c61189f9e207bfae8cff6bf
2024-01-24 18:22:05 +01:00
Arian
7342bdf10f camera-devicetree: Add support for thor, zizha, diting, mayfly, unicorn and mondrian from ziyi-s-oss
Change-Id: I7ef8a5cd0b5ad7468ed388c6926538d51c058aee
2024-01-24 18:22:05 +01:00
Arian
8a7b86bc7d audio-devicetree: Add support for mayfly, unicorn and thor
Change-Id: I39d7bf6c3445dfc517afc7134d94e2090dc29635
2024-01-24 18:22:05 +01:00
Arian
584f074b1b Revert "display-devicetree: Disable build for thor, mayfly and unicorn"
This reverts commit 18c44bc304.
2024-01-24 10:25:55 +01:00
Arian
c7aea75345 qcom: Enable mayfly, unicorn and thor
Change-Id: I2017ab29b447680b4dc5b9928c381ceb4c5a770e
2024-01-24 10:25:07 +01:00
Arian
334a1fb69c display-devicetree: Correct physical panel dimensions
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
2024-01-09 09:47:22 +01:00
Arian
7541787c7b camera-devicetree: Add support for mondrian from MIUI V14.0.5.0.TMNMIXM
Change-Id: I85b10a6ede81c2a7a2961d7e77787f8cfaa27811
2023-12-09 15:25:26 +01:00
Arian
d6e4d6908a audio-devicetree: Match mondrian V14.0.5.0.TMNMIXM
Change-Id: Ic8e6755997af3e7272b144391dba8060def1ca18
2023-12-09 15:24:26 +01:00
Arian
e5cfd7e237 audio-devicetree: Add support for mondrian
Change-Id: I026ac319160e45134c66d3cc66df452a9b804747
2023-12-09 15:23:33 +01:00
Arian
a786eb81e9 audio-devicetree: Decommonize swr haptics disable
Change-Id: I90f0e753ae947b0b1b8e84bb69661e7be03548d1
2023-12-09 15:23:17 +01:00
Arian
3b340861e0 display-devicetree: Match mondrian V14.0.5.0.TMNMIXM
Change-Id: Icf51bc9ed28abba232eb72a32777b312698067c3
2023-12-09 15:22:33 +01:00
Arian
18c44bc304 display-devicetree: Disable build for thor, mayfly and unicorn
Change-Id: Icab81aebcb1433801eedd9bc0b8a87cb3f3b24a2
2023-12-09 15:22:15 +01:00
Arian
d735223860 display-devicetree: Add support for thor, unicorn, mondrian and mayfly
Change-Id: I28f0442c2d40472adfbcdc549bc8ca81af265fef
2023-12-09 15:22:15 +01:00
Arian
53c7aa6cf6 Update from mondrian MIUI V14.0.5.0.TMNMIXM 2023-12-09 15:18:34 +01:00
Arian
d6e9391191 Disable build except for cupid, zeus and mondrian 2023-12-09 15:18:27 +01:00
Arian
eae2d76b8d Disable build for thor, unicorn and mayfly 2023-12-09 15:18:27 +01:00
Arian
b99d6c2a17 Add support for mayfly, mondrian, thor and unicorn 2023-12-09 15:18:12 +01:00
Kujou Yuko
dff1ce80d6 display: waipio: Nuke 90Hz timing for cupid
* The screen will show severe color deviation when switching to 90Hz,
   remove it to ensure a better experience.

Change-Id: Iace02413e3ce4e14f30a61b81164aa9b23416342
2023-10-14 12:35:25 +02:00
Arian
71593da320 display: Set proper framerate for 10 and 1 hz on zeus
Change-Id: I187628a808d8b48d49f8ebcab28f5f10f404da91
2023-10-09 19:50:56 +02:00
Arian
6ffe8ccb65 display: Add support for cupid and zeus
From ziyi-s-oss

Change-Id: If1c7d0bdbaea22e18b06296e11163db4fe1522e3
2023-09-25 14:12:12 +02:00
Arian
79fa271056 camera: Add qcom,csiphy-v2.1.0-xiaomi-l2 for zeus
Change-Id: I56c2563ff1279b133041e60c3ee6bfd845698d0d
2023-09-22 15:39:00 +02:00
Arian
cde9efc885 camera: Add support for cupid and zeus
Change-Id: If67eff9bb354fb11f1e4078cc2f3e1a16755256a
2023-09-22 15:38:11 +02:00
Arian
3372f3b4fb audio: Add support for cupid and zeus
Reverse engineered from zeus V14.0.7.0.TLBMIXM and cupid V14.0.3.0.TLCMIXM

Change-Id: Ife868b686f2a923de8941307b3d766c4449c1bda
2023-09-22 15:38:09 +02:00
Arian
5cda7db0ed devicetree: Add support for cupid and zeus
From mayfly-s-oss

Change-Id: I6312039615d906a1a35b4c0acfe6243120e99ab0
2023-09-22 15:37:12 +02:00
Aaron Kling
d520bf53bc qcom: Build dtbos inline
Change-Id: I5228fef8a209655ccc4306219062ba301ecfcaf9
2023-09-22 15:36:19 +02:00
Arian
76fd6e7699 Add 'qcom/video/' from commit 'ad039077a21402cf2d8d4f511f5854f85f4b6c4a'
git-subtree-dir: qcom/video
git-subtree-mainline: 4d19af4471
git-subtree-split: ad039077a2
2023-09-22 11:20:10 +02:00
Arian
4d19af4471 Add 'qcom/mmrm/' from commit 'd7675b050db08a2edf44e677483474904688eb65'
git-subtree-dir: qcom/mmrm
git-subtree-mainline: bfe5fa08ef
git-subtree-split: d7675b050d
2023-09-22 11:20:00 +02:00
Arian
bfe5fa08ef Add 'qcom/eva/' from commit 'dacb40003462a136ffbdf2094173abec55f7639d'
git-subtree-dir: qcom/eva
git-subtree-mainline: bebcd16888
git-subtree-split: dacb400034
2023-09-22 11:19:51 +02:00
Arian
bebcd16888 Add 'qcom/display/' from commit '9d8e70fe34c3100b7c428388855f616f94f76cac'
git-subtree-dir: qcom/display
git-subtree-mainline: ae3dd7de1f
git-subtree-split: 9d8e70fe34
2023-09-22 11:19:42 +02:00
Arian
ae3dd7de1f Add 'qcom/cvp/' from commit 'f0ab1a7cb5f8c729b5a48ce93349dfb546879cda'
git-subtree-dir: qcom/cvp
git-subtree-mainline: 06a1360a49
git-subtree-split: f0ab1a7cb5
2023-09-22 11:19:31 +02:00
Arian
06a1360a49 Add 'qcom/camera/' from commit 'c96172c8407657b2f041186422ef735b60e1b732'
git-subtree-dir: qcom/camera
git-subtree-mainline: 13bb6c9abd
git-subtree-split: c96172c840
2023-09-22 11:19:15 +02:00
Arian
13bb6c9abd Add 'qcom/audio/' from commit 'b5f2fe4f3989c66675a8f6b530dabbf3ebfa66c7'
git-subtree-dir: qcom/audio
git-subtree-mainline: 2e2e17b0f3
git-subtree-split: b5f2fe4f39
2023-09-22 11:18:50 +02:00
Linux Build Service Account
2e2e17b0f3 Merge "ARM: dts: msm: Add clk voting info for apps-smmu" into kernel.lnx.5.10.r1-rel 2023-04-10 00:48:28 -07:00
Niranjan Dumbala
c78a37a1fd Revert "ARM: dts: msm: add bootargs for Ravelin"
This reverts commit 0021edf60224273119ecd3e7c0e4d3f4a63c5351.

Change-Id: I376d4014cf9fb3701e3e723d11be2f7b57771caa
2023-04-10 00:12:49 -07:00
Zhenhua Huang
f497e428ad ARM: dts: msm: Add clk voting info for apps-smmu
Apps smmu is now switching to vote mechanism, config it in DT.

Change-Id: I361c77350e5f697d4ca7984f67cd8b52cdcec1a8
2023-04-09 23:40:27 -07:00
Yue Liu
2982b7e373 ARM: dts: msm: Add ravelin qfprom compat string
Add the soc-specific compatible string so that it can be matched
more specifically now that the driver cares which SoC it's on.

Change-Id: I1a0138eb5f8ec98f4eeac7edf3c500e22f60e90d
2023-04-09 11:23:24 -07:00
Yue Liu
c9464cb794 dt-bindings: nvmem: Add soc qfprom compatible strings
Add SoC-specific compatible strings so that data can be attached
to it in the driver.

Change-Id: I1d96495aa4562c3d4cd8246410d18823f98f08d8
2023-04-09 11:20:33 -07:00
Linux Build Service Account
c96172c840 Merge 04bd34eda0 on remote branch
Change-Id: I2b1166848fa6770add377664979f36aa1a92a3b5
2023-04-06 03:09:39 -07:00
Linux Build Service Account
6c3dbdac29 Merge f4d562a630b8e9559a8010103c7c74f658c41f37 on remote branch
Change-Id: I434da0eda49db0bf78e3970a51db5f43fb3de0fd
2023-04-06 01:39:52 -07:00
Linux Build Service Account
9d8e70fe34 Merge 7fdc23fc04 on remote branch
Change-Id: I5ca6da91fb833651aaf22dd2ad4fec2c0872f53c
2023-04-06 00:02:24 -07:00
qctecmdr
bd991fc5ac Merge "ARM: dts: msm: Add 4GB dtsi support for Montague" 2023-03-29 23:51:37 -07:00
qctecmdr
a3805a9738 Merge "ARM: dts: msm: Add initial device tree for NEO QXR LED Illumination E2E" 2023-03-29 23:51:37 -07:00
qctecmdr
f116b2a0a3 Merge "ARM: dts: msm: Change default CTS pull configuration to pull down" 2023-03-29 03:54:47 -07:00
qctecmdr
b04ed0009f Merge "ARM: dts: msm: Add support for 235mhz frequency for neo_luna-v2 GPU" 2023-03-28 01:54:12 -07:00
qctecmdr
76259de8e5 Merge "ARM: dts: msm: Update GPU clock plan for anorak" 2023-03-28 01:54:12 -07:00
Lijuan Gao
a2261cba00 ARM: dts: msm: Add initial device tree for NEO QXR LED Illumination E2E
Add initial device tree to support NEO QXR LED Illumination E2E SoC
platform.

Change-Id: I188dea27254bd045ef3119cd5d4b62ced3a5afb8
2023-03-27 23:41:29 -07:00