* [PATCH 0/3] Add display panels to gt5 devices
@ 2023-07-25 11:52 Nikita Travkin
2023-07-25 11:52 ` [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel Nikita Travkin
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Nikita Travkin @ 2023-07-25 11:52 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, Nikita Travkin, Jasper Korten,
Siddharth Manthan
This series adds display panels to Samsung Galaxy Tab A (2015) tablets.
Both gt58 and gt510 gain display support and backlight is controlled
with the DCS commands.
While at it, also enable touch-keys on gt510.
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
Jasper Korten (1):
arm64: dts: qcom: msm8916-samsung-gt510: Add display panel
Nikita Travkin (1):
arm64: dts: qcom: msm8916-samsung-gt510: Add capacitive keys
Siddharth Manthan (1):
arm64: dts: qcom: msm8916-samsung-gt58: Add display panel
arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts | 86 ++++++++++++++++++++++
arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts | 64 ++++++++++++++++
2 files changed, 150 insertions(+)
---
base-commit: 5f8e7fdfa482f56c9c884b5c41f40f8f5923d9c4
change-id: 20230725-gt5-panel-448377da7aca
Best regards,
--
Nikita Travkin <nikita@trvn.ru>
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel
2023-07-25 11:52 [PATCH 0/3] Add display panels to gt5 devices Nikita Travkin
@ 2023-07-25 11:52 ` Nikita Travkin
2023-08-26 10:29 ` Konrad Dybcio
2023-07-25 11:52 ` [PATCH 2/3] arm64: dts: qcom: msm8916-samsung-gt58: " Nikita Travkin
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Nikita Travkin @ 2023-07-25 11:52 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, Nikita Travkin, Jasper Korten
From: Jasper Korten <jja2000@gmail.com>
The device has a 9.7 inch ltl101at01 display. Add it to the device tree.
Signed-off-by: Jasper Korten <jja2000@gmail.com>
Co-developed-by: Nikita Travkin <nikita@trvn.ru>
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts | 84 ++++++++++++++++++++++
1 file changed, 84 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
index 48111c6a2c78..a73cc7565bfb 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
@@ -19,6 +19,19 @@ clk_pwm: pwm {
pinctrl-names = "default";
};
+ reg_lcd_vmipi: regulator-lcd-vmipi {
+ compatible = "regulator-fixed";
+ regulator-name = "lcd_vmipi";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+
+ gpio = <&tlmm 8 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+
+ pinctrl-0 = <&lcd_en_default>;
+ pinctrl-names = "default";
+ };
+
reg_motor_vdd: regulator-motor-vdd {
compatible = "regulator-fixed";
regulator-name = "motor_vdd";
@@ -55,6 +68,19 @@ reg_tsp_3p3v: regulator-tsp-3p3v {
enable-active-high;
};
+ reg_vlcd_5p4v: regulator-vlcd-5p4v {
+ compatible = "regulator-fixed";
+ regulator-name = "vlcd_5p4v";
+ regulator-min-microvolt = <5400000>;
+ regulator-max-microvolt = <5400000>;
+
+ gpio = <&tlmm 51 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+
+ pinctrl-0 = <&buckbooster_en_default>;
+ pinctrl-names = "default";
+ };
+
vibrator {
compatible = "pwm-vibrator";
@@ -84,7 +110,44 @@ touchscreen@4a {
};
};
+&mdss {
+ status = "okay";
+};
+
+&mdss_dsi0 {
+ pinctrl-0 = <&mdss_default>;
+ pinctrl-1 = <&mdss_sleep>;
+ pinctrl-names = "default", "sleep";
+
+ panel@0 {
+ compatible = "samsung,ltl101at01", "samsung,s6d7aa0";
+ reg = <0>;
+
+ power-supply = <®_vlcd_5p4v>;
+ vmipi-supply = <®_lcd_vmipi>;
+ reset-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&mdss_dsi0_out>;
+ };
+ };
+ };
+};
+
+&mdss_dsi0_out {
+ data-lanes = <0 1 2 3>;
+ remote-endpoint = <&panel_in>;
+};
+
&tlmm {
+ buckbooster_en_default: buckbooster-en-default-state {
+ pins = "gpio51";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
motor_en_default: motor-en-default-state {
pins = "gpio76";
function = "gpio";
@@ -97,6 +160,27 @@ motor_pwm_default: motor-pwm-default-state {
function = "gcc_gp2_clk_a";
};
+ lcd_en_default: lcd-en-default-state {
+ pins = "gpio8";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ mdss_default: mdss-default-state {
+ pins = "gpio97";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ mdss_sleep: mdss-sleep-state {
+ pins = "gpio97";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+
tsp_en_default: tsp-en-default-state {
pins = "gpio73";
function = "gpio";
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/3] arm64: dts: qcom: msm8916-samsung-gt58: Add display panel
2023-07-25 11:52 [PATCH 0/3] Add display panels to gt5 devices Nikita Travkin
2023-07-25 11:52 ` [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel Nikita Travkin
@ 2023-07-25 11:52 ` Nikita Travkin
2023-08-26 10:30 ` Konrad Dybcio
2023-07-25 11:52 ` [PATCH 3/3] arm64: dts: qcom: msm8916-samsung-gt510: Add capacitive keys Nikita Travkin
2023-09-19 23:07 ` [PATCH 0/3] Add display panels to gt5 devices Bjorn Andersson
3 siblings, 1 reply; 7+ messages in thread
From: Nikita Travkin @ 2023-07-25 11:52 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, Nikita Travkin, Siddharth Manthan
From: Siddharth Manthan <siddharth.manthan@gmail.com>
The device has a 8 inch lsl080al03 display. Add it to the device tree.
Signed-off-by: Siddharth Manthan <siddharth.manthan@gmail.com>
Co-developed-by: Nikita Travkin <nikita@trvn.ru>
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts | 64 +++++++++++++++++++++++
1 file changed, 64 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
index 98ceaad7fcea..11359bcc27b3 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt58.dts
@@ -9,6 +9,19 @@ / {
compatible = "samsung,gt58", "qcom,msm8916";
chassis-type = "tablet";
+ reg_5p4v: regulator-5p4v {
+ compatible = "regulator-fixed";
+ regulator-name = "vlcd_5p4v";
+ regulator-min-microvolt = <5400000>;
+ regulator-max-microvolt = <5400000>;
+
+ gpio = <&tlmm 8 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+
+ pinctrl-0 = <&buckbooster_en_default>;
+ pinctrl-names = "default";
+ };
+
reg_vdd_tsp: regulator-vdd-tsp {
compatible = "regulator-fixed";
regulator-name = "vdd_tsp";
@@ -51,7 +64,58 @@ touchscreen@20 {
};
};
+&mdss {
+ status = "okay";
+};
+
+&mdss_dsi0 {
+ pinctrl-0 = <&mdss_default>;
+ pinctrl-1 = <&mdss_sleep>;
+ pinctrl-names = "default", "sleep";
+
+ panel@0 {
+ compatible = "samsung,lsl080al03", "samsung,s6d7aa0";
+ reg = <0>;
+
+ power-supply = <®_5p4v>;
+ vmipi-supply = <&pm8916_l5>;
+ reset-gpios = <&tlmm 97 GPIO_ACTIVE_LOW>;
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&mdss_dsi0_out>;
+ };
+ };
+ };
+};
+
+&mdss_dsi0_out {
+ data-lanes = <0 1 2 3>;
+ remote-endpoint = <&panel_in>;
+};
+
&tlmm {
+ buckbooster_en_default: buckbooster-en-default-state {
+ pins = "gpio8";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-disable;
+ };
+
+ mdss_default: mdss-default-state {
+ pins = "gpio97";
+ function = "gpio";
+ drive-strength = <8>;
+ bias-disable;
+ };
+
+ mdss_sleep: mdss-sleep-state {
+ pins = "gpio97";
+ function = "gpio";
+ drive-strength = <2>;
+ bias-pull-down;
+ };
+
reg_tsp_en_default: reg-tsp-en-default-state {
pins = "gpio73";
function = "gpio";
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 3/3] arm64: dts: qcom: msm8916-samsung-gt510: Add capacitive keys
2023-07-25 11:52 [PATCH 0/3] Add display panels to gt5 devices Nikita Travkin
2023-07-25 11:52 ` [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel Nikita Travkin
2023-07-25 11:52 ` [PATCH 2/3] arm64: dts: qcom: msm8916-samsung-gt58: " Nikita Travkin
@ 2023-07-25 11:52 ` Nikita Travkin
2023-09-19 23:07 ` [PATCH 0/3] Add display panels to gt5 devices Bjorn Andersson
3 siblings, 0 replies; 7+ messages in thread
From: Nikita Travkin @ 2023-07-25 11:52 UTC (permalink / raw)
To: Andy Gross, Bjorn Andersson, Konrad Dybcio, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, Nikita Travkin
gt510 has two capacitive keys on the bottom. Define keycodes to enable
them.
Signed-off-by: Nikita Travkin <nikita@trvn.ru>
---
arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
index a73cc7565bfb..75c4854ecd64 100644
--- a/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
+++ b/arch/arm64/boot/dts/qcom/msm8916-samsung-gt510.dts
@@ -107,6 +107,8 @@ touchscreen@4a {
pinctrl-0 = <&tsp_int_rst_default>;
pinctrl-names = "default";
+
+ linux,keycodes = <KEY_APPSELECT KEY_BACK>;
};
};
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel
2023-07-25 11:52 ` [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel Nikita Travkin
@ 2023-08-26 10:29 ` Konrad Dybcio
0 siblings, 0 replies; 7+ messages in thread
From: Konrad Dybcio @ 2023-08-26 10:29 UTC (permalink / raw)
To: Nikita Travkin, Andy Gross, Bjorn Andersson, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, Jasper Korten
On 25.07.2023 13:52, Nikita Travkin wrote:
> From: Jasper Korten <jja2000@gmail.com>
>
> The device has a 9.7 inch ltl101at01 display. Add it to the device tree.
>
> Signed-off-by: Jasper Korten <jja2000@gmail.com>
> Co-developed-by: Nikita Travkin <nikita@trvn.ru>
> Signed-off-by: Nikita Travkin <nikita@trvn.ru>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 2/3] arm64: dts: qcom: msm8916-samsung-gt58: Add display panel
2023-07-25 11:52 ` [PATCH 2/3] arm64: dts: qcom: msm8916-samsung-gt58: " Nikita Travkin
@ 2023-08-26 10:30 ` Konrad Dybcio
0 siblings, 0 replies; 7+ messages in thread
From: Konrad Dybcio @ 2023-08-26 10:30 UTC (permalink / raw)
To: Nikita Travkin, Andy Gross, Bjorn Andersson, Rob Herring,
Krzysztof Kozlowski, Conor Dooley
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, Siddharth Manthan
On 25.07.2023 13:52, Nikita Travkin wrote:
> From: Siddharth Manthan <siddharth.manthan@gmail.com>
>
> The device has a 8 inch lsl080al03 display. Add it to the device tree.
>
> Signed-off-by: Siddharth Manthan <siddharth.manthan@gmail.com>
> Co-developed-by: Nikita Travkin <nikita@trvn.ru>
> Signed-off-by: Nikita Travkin <nikita@trvn.ru>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Konrad
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/3] Add display panels to gt5 devices
2023-07-25 11:52 [PATCH 0/3] Add display panels to gt5 devices Nikita Travkin
` (2 preceding siblings ...)
2023-07-25 11:52 ` [PATCH 3/3] arm64: dts: qcom: msm8916-samsung-gt510: Add capacitive keys Nikita Travkin
@ 2023-09-19 23:07 ` Bjorn Andersson
3 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2023-09-19 23:07 UTC (permalink / raw)
To: Andy Gross, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
Conor Dooley, Nikita Travkin
Cc: linux-arm-msm, devicetree, linux-kernel,
~postmarketos/upstreaming, Jasper Korten, Siddharth Manthan
On Tue, 25 Jul 2023 16:52:00 +0500, Nikita Travkin wrote:
> This series adds display panels to Samsung Galaxy Tab A (2015) tablets.
>
> Both gt58 and gt510 gain display support and backlight is controlled
> with the DCS commands.
>
> While at it, also enable touch-keys on gt510.
>
> [...]
Applied, thanks!
[1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel
commit: 4389a650323afe947900f631322fa4db4993d356
[2/3] arm64: dts: qcom: msm8916-samsung-gt58: Add display panel
commit: 43525a7a96acad0648577770b84894af8dcb10d2
[3/3] arm64: dts: qcom: msm8916-samsung-gt510: Add capacitive keys
commit: 20ef4f6445681217c0cb49dc21402cb2836b22aa
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-09-19 23:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-25 11:52 [PATCH 0/3] Add display panels to gt5 devices Nikita Travkin
2023-07-25 11:52 ` [PATCH 1/3] arm64: dts: qcom: msm8916-samsung-gt510: Add display panel Nikita Travkin
2023-08-26 10:29 ` Konrad Dybcio
2023-07-25 11:52 ` [PATCH 2/3] arm64: dts: qcom: msm8916-samsung-gt58: " Nikita Travkin
2023-08-26 10:30 ` Konrad Dybcio
2023-07-25 11:52 ` [PATCH 3/3] arm64: dts: qcom: msm8916-samsung-gt510: Add capacitive keys Nikita Travkin
2023-09-19 23:07 ` [PATCH 0/3] Add display panels to gt5 devices Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).