2023-03-29 19:44:47

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v3 0/6] Sony SDM845 panel and remoteproc enablement

v2 -> v3:
- Fix pinctrl-n / -names ordering [1/6], [2/6]
- Drop unnecessary #-cells [1/6]
- Drop GPIO52 (it's apparently some LCD mode, single vs dual port,
not sure how real it is considering it came from messy downstream
code and not touching it at all does not seem to break anything) [1/6]
- Use interrupts-extended instead of interrupt-parent+interrupts [2/6]

2/6 is still a total OF abuse and very RFC-ish, pending comments or ideas!

v2: https://lore.kernel.org/r/[email protected]

v1 -> v2:
- Drop akatsuki touch panel as Marijn figures out some sleep-related
things
- No more dependencies, the panel driver has been merged into drm-misc
next
- "*-pin" { -> "*-pins {"
- treset-gpios -> touch-reset-gpios
- Drop "Don't use 0x in unit address" (solved)
- Drop IPA & modem, this keeps crashing for some reason..

2/7 is a total OF abuse and very RFC-ish..

v1: https://lore.kernel.org/lkml/[email protected]/

This series enables display and touch panel on XZ2/XZ2c devices
equipped with a JDI panel with a TD4353 driver IC and just
touch panel for all XZ3 phones. It also enables the remote
processors, GPU&GMU and GPI DMA on all Tama devices.

Signed-off-by: Konrad Dybcio <[email protected]>
---
Konrad Dybcio (6):
arm64: dts: qcom: sdm845-tama: Add display nodes
[RFC] arm64: dts: qcom: sdm845-tama: Add Synaptics Touchscreen
arm64: dts: qcom: sdm845-tama: Add regulator-system-load to l14a/l28a
arm64: dts: qcom: sdm845-tama: Enable remoteprocs
arm64: dts: qcom: sdm845-tama: Enable GPU
arm64: dts: qcom: sdm845-tama: Enable GPI_DMA0/1

.../dts/qcom/sdm845-sony-xperia-tama-akari.dts | 4 +
.../dts/qcom/sdm845-sony-xperia-tama-akatsuki.dts | 47 ++++-
.../dts/qcom/sdm845-sony-xperia-tama-apollo.dts | 6 +
.../boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 199 ++++++++++++++++++++-
4 files changed, 253 insertions(+), 3 deletions(-)
---
base-commit: 198925fae644b0099b66fac1d972721e6e563b17
change-id: 20230313-topic-tama_disp-f38a116f52df

Best regards,
--
Konrad Dybcio <[email protected]>


2023-03-29 19:45:15

by Konrad Dybcio

[permalink] [raw]
Subject: [PATCH v3 3/6] arm64: dts: qcom: sdm845-tama: Add regulator-system-load to l14a/l28a

From: Konrad Dybcio <[email protected]>

Add the properties to ensure the ever so delicate touchscreen setup
matches downstream.

Signed-off-by: Konrad Dybcio <[email protected]>
Signed-off-by: Konrad Dybcio <[email protected]>
---
arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi | 2 ++
1 file changed, 2 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
index 8172d0c9c1a3..208ed466081d 100644
--- a/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
+++ b/arch/arm64/boot/dts/qcom/sdm845-sony-xperia-tama.dtsi
@@ -228,6 +228,7 @@ vreg_l14a_1p8: ldo14 {
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-system-load = <62000>;
};

vreg_l15a_1p8: ldo15 {
@@ -314,6 +315,7 @@ vreg_l28a_2p8: ldo28 {
regulator-min-microvolt = <2856000>;
regulator-max-microvolt = <3008000>;
regulator-initial-mode = <RPMH_REGULATOR_MODE_HPM>;
+ regulator-system-load = <100000>;
};

vreg_lvs1a_1p8: lvs1 {

--
2.40.0

2023-04-05 04:07:41

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH v3 0/6] Sony SDM845 panel and remoteproc enablement

On Wed, 29 Mar 2023 21:41:17 +0200, Konrad Dybcio wrote:
> v2 -> v3:
> - Fix pinctrl-n / -names ordering [1/6], [2/6]
> - Drop unnecessary #-cells [1/6]
> - Drop GPIO52 (it's apparently some LCD mode, single vs dual port,
> not sure how real it is considering it came from messy downstream
> code and not touching it at all does not seem to break anything) [1/6]
> - Use interrupts-extended instead of interrupt-parent+interrupts [2/6]
>
> [...]

Applied, thanks!

[1/6] arm64: dts: qcom: sdm845-tama: Add display nodes
commit: 5dcc6587fde26fa03fe6993278d9bd01daed09b1
[2/6] arm64: dts: qcom: sdm845-tama: Add Synaptics Touchscreen
commit: 3ab8216de2fab6a6efeb5b22d8d61676b67964dc
[3/6] arm64: dts: qcom: sdm845-tama: Add regulator-system-load to l14a/l28a
commit: 1d99fee382a6ada0cd05ae8afaea2dd1884c58a3
[4/6] arm64: dts: qcom: sdm845-tama: Enable remoteprocs
commit: 39e0f8076f6fc5022902c62f5046ad91cf2b7a59
[5/6] arm64: dts: qcom: sdm845-tama: Enable GPU
commit: ff9108ea69adc0b38e5bbc8575434355f0e20579
[6/6] arm64: dts: qcom: sdm845-tama: Enable GPI_DMA0/1
commit: da51e2ceedc2df7248bad6bec45ae3280de9ada2

Best regards,
--
Bjorn Andersson <[email protected]>