Commit Graph

974235 Commits

Author SHA1 Message Date
Giovanni Ricca
a516b4a60d
arm64: dts: Import xiaomi-sm7325-common
Change-Id: I10cc4aaa1b943e1eb84cc233b9188f7bb565742b
2024-05-20 17:43:04 +02:00
Arian
a9da74e4c0
arm64: dts: renoir: Configure goodix config array
Change-Id: Icb357f52d0416faffd4fee0f01f96561ea6fe658
2024-05-20 17:43:03 +02:00
Arian
fac3fc1664
arm64: dts: Use seperate mi2s rx and tx in xiaomi sm7350 overlay
Commit c7b6ffddc6 "ARM: dts: qcom: Add separate cpu dai for mi2s rx and tx"
added a seperate cpu dai for mi2s rx and tx. Update renoir and xiaomi sm7350-common
overlay to comply with the change

Change-Id: Id2c78ef774a30f806c746c81b17efe5901ab2863
2024-05-20 17:43:02 +02:00
Arian
0634042d89
arm64: dts: Import renoir device tree
Change-Id: I1714cab30cd0cb3160ca344af8cd69e0cd5546be
2024-05-20 17:43:01 +02:00
Giovanni Ricca
6b3d3633a8
arm64: dts: Import vili device tree
Change-Id: Iebaf78c5f6e198050a1e4810a470ef9bfb920e9a
2024-05-20 17:43:00 +02:00
Arian
57e3f157b3
arm64: dts: Import odin device tree
Change-Id: I8baf7a419b656e00b11f1a6b7b809549d0b87b19
2024-05-20 17:42:59 +02:00
EcrosoftXiao
e2ce75e7ac
arm64: dts: mars: Add ir-spi dts
Change-Id: Id677255993856c9984853ac9b6dc768b7fe3a862
2024-05-20 17:42:58 +02:00
Arian
64fab034bc
arm64: dts: Import mars device tree
Change-Id: I8d4b60a8a7c642627badb567b854325f18e162ab
2024-05-20 17:42:57 +02:00
EcrosoftXiao
915cbe8330
arm64: dts: star: Add fingerprint_goodix for star
Change-Id: I94d8bf0a2034610ac60188b9d641930b88242917
2024-05-20 17:42:56 +02:00
FlowerSea0208
604df14d53
arm64: dts: star: Add ir-spi dts
Change-Id: If7bb0a90dbe0898735874864c464af5b85db6b0d
2024-05-20 17:42:55 +02:00
Arian
8d31c2f0c0
arm64: dts: Import star device tree
Change-Id: Ic4122ee793d5d1a6833451fc3d80388cc375b6c6
2024-05-20 17:42:54 +02:00
Arian
ba2fd4361c
arm64: dts: Import cetus device tree
Change-Id: Id594e05d21e38407339d4c792f0307e7609a5b34
2024-05-20 17:42:53 +02:00
AdarshGrewal
c198c4bb81
arm64: dts: haydn: Add ir-spi
Change-Id: Ie3b29e7d1c11d663629a0b2bc154ed707849e001
2024-05-20 17:42:52 +02:00
Erfan Abdi
9924e0b109
arm64: dts: Import haydn device tree
Change-Id: Ic633be439d55bcc8ce120b080652ffd50acdb41b
2024-05-20 17:42:51 +02:00
Cosmin Tanislav
c87865cba8
arm64: dts: venus: shared-pinctrl-gpios -> gpios-shared-pinctrl
Fix property after d2639c2.

Change-Id: I0314c201b2cf89bd9b6fc18fac1b13f2ab3ca8da
2024-05-20 17:42:50 +02:00
Giovanni Ricca
b92367144e
arm64: dts: venus: Add fingerprint_goodix
Change-Id: I269203413717071f0c2258d367edc976f618c1a9
2024-05-20 17:42:49 +02:00
Giovanni Ricca
d8bb0e3813
arm64: dts: venus: Add ir-spi
Change-Id: I193f578835e658a45d3b7e72e1f46012cb99cd36
2024-05-20 17:42:48 +02:00
Cosmin Tanislav
0ed8cc427f
arm64: dts: Import venus device tree
Change-Id: Ie488fe86b264337cd3c5cb73e9f8ab314e4cab5d
2024-05-20 17:42:47 +02:00
Arian
466d1b5af3
arm64: dts: Import xiaomi-sm8350-common
Change-Id: I1432038c5d2b69f6a85abd1d877e6a79d15b9c03
2024-05-20 17:42:46 +02:00
Arian
b3737061e7
arm64: dts: 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 arch/arm64/boot/dts/vendor/qcom/display/dsi-panel-{j,k,l}*); 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-05-20 17:42:46 +02:00
TheStrechh
72440c8f34
arm64: dts: yupik: Increase minimum backlight level for M20 panel
Change-Id: I332cb45e16d73d8bd867c34550523cb29849e73e
2024-05-20 17:42:45 +02:00
Arian
1b2c70b10f
arm64: dts: yupik: Increase minimum backlight level for K9D panels
Change-Id: I08268275659e4255e4509f84d8ebe26f130c4751
2024-05-20 17:42:43 +02:00
Giovanni Ricca
c44a6e0d0c
arm64: dts: yupik: Import panel configurations
From branches: zijin-s-oss taoyao-s-oss redwood-s-oss

Change-Id: I92ec235a32d76eec2c5089e56bc02a36a740813c
2024-05-20 17:42:42 +02:00
Arian
5164f764d1
arm64: dts: shima: Increase minimum backlight level for K9 panels
Change-Id: I08268275659e4255e4509f84d8ebe26f130c4751
2024-05-20 17:42:41 +02:00
Arian
5f45177388
arm64: dts: shima: Import k9 panel configurations
From branch: zijin-s-oss

Change-Id: Ic4c4f9f5093b91dfa74c1b0e7ccb3026d6cd7404
2024-05-20 17:42:40 +02:00
FlowerSea0208
09b9f3597a
arm64: dts: lahaina: Drop 90Hz timings
* 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
2024-05-20 17:42:40 +02:00
Arian
8f882c90be
arm64: dts: lahaina: Import panel configurations
From branch: zijin-s-oss

Change-Id: I890984c7088f298de41c74263d20dd8e25cfd04c
2024-05-20 17:42:39 +02:00
Giovanni Ricca
5079b51d11
arm64: dts: pm7250b: Apply xiaomi thermal changes
Change-Id: I88b26b5c2729d9191fbdbf71d6aa7eb08b245046
2024-05-20 17:42:38 +02:00
Giovanni Ricca
75d4e79d9c
arm64: dts: pm7250b: Disable bcl_soc
Change-Id: Iae84dce5cff52071f23d7d7d04d15db63f3bcd6f
2024-05-20 17:42:37 +02:00
Giovanni Ricca
1dd73b954b
arm64: dts: pm7325b: Disable bcl_soc
Change-Id: Ia8e15217bac442374151b3da9a77e05607d9446e
2024-05-20 17:42:36 +02:00
Giovanni Ricca
3724b20cc5
arm64: dts: yupik: Apply xiaomi pinctrl changes
Change-Id: I120f910503ea8f9308679a95a6f0e101d5d8e09b
2024-05-20 17:42:35 +02:00
Giovanni Ricca
15e12515bf
arm64: dts: yupik: Disable mi2s audio node
Change-Id: Ib7db6ef7441cba7c263731a654b2451b82a966b4
2024-05-20 17:42:34 +02:00
Giovanni Ricca
66ce55ecfd
arm64: dts: yupik: Enable Primary TDM1 audio node support
[Note: Changes made on msm-audio-lpass.dtsi has been already applied by arian]

Change-Id: Ibaf5d53b12f355a1a0093513658bf80cecd8f21f
2024-05-20 17:42:33 +02:00
Giovanni Ricca
ffbd3838b0
arm64: dts: yupik: Don't register eud usb port
Change-Id: I8bff86cff787732512cb4e9900350c7849ef6522
2024-05-20 17:42:32 +02:00
Giovanni Ricca
237781a75f
arm64: dts: yupik: Add PM8008I label
Change-Id: Ic502e350f7e17eb270735b60366a738fbeae6392
2024-05-20 17:42:31 +02:00
Giovanni Ricca
c5547892ce
arm64: dts: yupik: Add PM8008J label
Change-Id: I31a2f75af4e6e103125b233975cb9ab89381e90a
2024-05-20 17:42:30 +02:00
Giovanni Ricca
826b6482c4
arm64: dts: yupik: Enable pon_pbs
Change-Id: I03df12ea488562f189efc0b8b1a9fb1bcc348b5d
2024-05-20 17:42:29 +02:00
Giovanni Ricca
5d2890ac73
arm64: dts: yupik: Apply xiaomi thermal changes
Change-Id: I1b2f650ecfe4b457031807a7c7d91f6c0f47a21d
2024-05-20 17:42:28 +02:00
Giovanni Ricca
c87995be3c
arm64: dts: yupik: Enable nv-mac
Change-Id: I742b3a2e0810ba14bd8ddae4083c891907470247
2024-05-20 17:42:27 +02:00
Giovanni Ricca
73d3d999b7
arm64: dts: yupik: Change memory regions
Change-Id: I08efb113777732c2ac38a077fffad0715dde5254
2024-05-20 17:42:26 +02:00
Arian
6e1987335e
arm64: dts: shima: Enable nv-mac
Change-Id: I8032208febc647352a76263f8290df0f60948455
2024-05-20 17:42:25 +02:00
Arian
26a2f4b72b
arm64: dts: shima: Remove ramoops memory region
Change-Id: Id7cab3909edcbdf159e2c9ea76243a39fbb71dba
2024-05-20 17:42:23 +02:00
Arian
0a7f5751c4
arm64: dts: shima: Change memory regions
Change-Id: I1810c6e8b7200dff3cbd02a906a9136bff601496
2024-05-20 17:42:22 +02:00
Arian
824ae4f66a
arm64: dts: shima: Increase modem temperature trips
Change-Id: I3a40d56a96a1de0913195a25151aaee9a762df00
2024-05-20 17:42:21 +02:00
Arian
c19a75b968
arm64: dts: shima: Add haptics effects and F0 low rate protection properties
Change-Id: Iac3974e06b9224aa536dd8d342eb8a3eaead1a19
2024-05-20 17:42:20 +02:00
Arian
7d6c23148a
arm64: dts: shima: Decrease i2c pmic dropout voltage
Change-Id: I50fe066ca60f196b128a1ebcdf6e8e7473159ac5
2024-05-20 17:42:19 +02:00
Arian
aba43f9549
arm64: dts: shima: Apply xiaomi thermal zone changes
Change-Id: Iee5dd197e2c8e98eeec4c48b1b4abf1c73ac3b17
2024-05-20 17:42:18 +02:00
Arian
7e049ca3ed
arm64: dts: shima: Increase voltages
Change-Id: I994e48a8fe5405ee0c0566cb6ea06a524e9cf989
2024-05-20 17:42:17 +02:00
Arian
5ca9e940bf
arm64: dts: shima: Do not enable ldod12 and ldod13 regulators by default
Change-Id: I59b9808056dad529955452602f61a7820e16ac5b
2024-05-20 17:42:16 +02:00
Arian
237d2db3dd
arm64: dts: shima: Increase ldod1 max regulator voltage
Change-Id: I39a4dfa10a7cd5cf9ccaaffee7306444dea9ef47
2024-05-20 17:42:15 +02:00