* [PATCH v3 0/2] add display and panel on qcm6490 idp
@ 2024-02-15 10:39 Ritesh Kumar
2024-02-15 10:39 ` [PATCH v3 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver Ritesh Kumar
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Ritesh Kumar @ 2024-02-15 10:39 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt, catalin.marinas, will, quic_bjorande, geert+renesas,
arnd, neil.armstrong, dmitry.baryshkov, nfraprado, m.szyprowski
Cc: Ritesh Kumar, linux-arm-msm, devicetree, linux-kernel,
linux-arm-kernel, quic_abhinavk, quic_rajeevny, quic_vproddut
Build the Novatek NT36672E DSI Panel driver as module and enable
display subsystem on Qualcomm qcm6490 idp board.
---
This series depends on following series:
1. https://lore.kernel.org/all/20231222073135.2512313-1-quic_uchheda@quicinc.com/
(arm64: dts: qcom: qcm6490-idp: Add support for PM7250B PMIC)
2. https://lore.kernel.org/all/20240108095902.22725-1-quic_riteshk@quicinc.com/
(Add support for Novatek NT36672E LCD DSI panel)
3. https://lore.kernel.org/all/20240116071803.5264-1-quic_riteshk@quicinc.com/t/#u
(drm/panel: novatek-nt36672e: Include <linux/of.h>)
v2: Fixed review comments from Dmitry and Konrad
- moved pinctrl-names after pinctrl-0 property.
- removed gpu disablement change after validating gpu.
- updated commit text.
Rebased the patch
- rebased the patch to resolve conflicts.
v3: Fixed review comments from Dmitry
- renamed panel supply to regulator-lcd-disp-bias.
- moved backlight as per sort order.
---
Ritesh Kumar (2):
arm64: defconfig: enable Novatek NT36672E DSI Panel driver
arm64: dts: qcom: qcm6490-idp: add display and panel
arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 92 ++++++++++++++++++++++++
arch/arm64/configs/defconfig | 1 +
2 files changed, 93 insertions(+)
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver
2024-02-15 10:39 [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
@ 2024-02-15 10:39 ` Ritesh Kumar
2024-02-15 10:39 ` [PATCH v3 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel Ritesh Kumar
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: Ritesh Kumar @ 2024-02-15 10:39 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt, catalin.marinas, will, quic_bjorande, geert+renesas,
arnd, neil.armstrong, dmitry.baryshkov, nfraprado, m.szyprowski
Cc: Ritesh Kumar, linux-arm-msm, devicetree, linux-kernel,
linux-arm-kernel, quic_abhinavk, quic_rajeevny, quic_vproddut
Build the Novatek NT36672E DSI Panel driver as module
because it is used on Qualcomm qcm6490 idp board.
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
v2: Fixed review comment from Dmitry
- updated commit text.
v3: No change
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index b8adb28185ad..e1f0045a65de 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -863,6 +863,7 @@ CONFIG_DRM_PANEL_SIMPLE=m
CONFIG_DRM_PANEL_EDP=m
CONFIG_DRM_PANEL_ILITEK_ILI9882T=m
CONFIG_DRM_PANEL_MANTIX_MLAF057WE51=m
+CONFIG_DRM_PANEL_NOVATEK_NT36672E=m
CONFIG_DRM_PANEL_RAYDIUM_RM67191=m
CONFIG_DRM_PANEL_SITRONIX_ST7703=m
CONFIG_DRM_PANEL_TRULY_NT35597_WQXGA=m
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel
2024-02-15 10:39 [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
2024-02-15 10:39 ` [PATCH v3 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver Ritesh Kumar
@ 2024-02-15 10:39 ` Ritesh Kumar
2024-03-07 8:25 ` Dmitry Baryshkov
2024-03-07 8:20 ` [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
2024-03-19 2:48 ` (subset) " Bjorn Andersson
3 siblings, 1 reply; 7+ messages in thread
From: Ritesh Kumar @ 2024-02-15 10:39 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt, catalin.marinas, will, quic_bjorande, geert+renesas,
arnd, neil.armstrong, dmitry.baryshkov, nfraprado, m.szyprowski
Cc: Ritesh Kumar, linux-arm-msm, devicetree, linux-kernel,
linux-arm-kernel, quic_abhinavk, quic_rajeevny, quic_vproddut
Enable Display Subsystem with Novatek NT36672E Panel
on qcm6490 idp platform.
Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
---
v2: Fixed review comments from Dmitry and Konrad
- moved pinctrl-names after pinctrl-0 property.
- removed gpu disablement change after validating gpu.
Rebased the patch
- rebased the patch to resolve conflicts.
v3: Fixed review comments from Dmitry
- renamed panel supply to regulator-lcd-disp-bias.
- moved backlight as per sort order.
---
arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 92 ++++++++++++++++++++++++
1 file changed, 92 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
index 502a5a383bde..6d6506726827 100644
--- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
+++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
@@ -10,6 +10,7 @@
#define PM7250B_SID1 9
#include <dt-bindings/leds/common.h>
+#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
#include <dt-bindings/regulator/qcom,rpmh-regulator.h>
#include "sc7280.dtsi"
#include "pm7250b.dtsi"
@@ -35,10 +36,29 @@
serial0 = &uart5;
};
+ pm8350c_pwm_backlight: backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pm8350c_pwm 3 65535>;
+ enable-gpios = <&pm8350c_gpios 7 GPIO_ACTIVE_HIGH>;
+ pinctrl-0 = <&pmic_lcd_bl_en>;
+ pinctrl-names = "default";
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
+ lcd_disp_bias: regulator-lcd-disp-bias {
+ compatible = "regulator-fixed";
+ regulator-name = "lcd_disp_bias";
+ regulator-min-microvolt = <5500000>;
+ regulator-max-microvolt = <5500000>;
+ gpio = <&pm7250b_gpios 2 GPIO_ACTIVE_HIGH>;
+ enable-active-high;
+ pinctrl-0 = <&lcd_disp_bias_en>;
+ pinctrl-names = "default";
+ };
+
reserved-memory {
xbl_mem: xbl@80700000 {
reg = <0x0 0x80700000 0x0 0x100000>;
@@ -421,7 +441,79 @@
};
};
+&mdss {
+ status = "okay";
+};
+
+&mdss_dsi {
+ vdda-supply = <&vreg_l6b_1p2>;
+ status = "okay";
+
+ panel@0 {
+ compatible = "novatek,nt36672e";
+ reg = <0>;
+
+ reset-gpios = <&tlmm 44 GPIO_ACTIVE_HIGH>;
+
+ vddi-supply = <&vreg_l8c_1p62>;
+ avdd-supply = <&lcd_disp_bias>;
+ avee-supply = <&lcd_disp_bias>;
+
+ backlight = <&pm8350c_pwm_backlight>;
+
+ port {
+ panel0_in: endpoint {
+ remote-endpoint = <&mdss_dsi0_out>;
+ };
+ };
+ };
+};
+
+&mdss_dsi0_out {
+ remote-endpoint = <&panel0_in>;
+ data-lanes = <0 1 2 3>;
+};
+
+&mdss_dsi_phy {
+ vdds-supply = <&vreg_l10c_0p88>;
+ status = "okay";
+};
+
+&pm7250b_gpios {
+ lcd_disp_bias_en: lcd-disp-bias-en-state {
+ pins = "gpio2";
+ function = "func1";
+ bias-disable;
+ qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
+ input-disable;
+ output-enable;
+ power-source = <0>;
+ };
+};
+
+&pm8350c_gpios {
+ pmic_lcd_bl_en: pmic-lcd-bl-en-state {
+ pins = "gpio7";
+ function = "normal";
+ bias-disable;
+ qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
+ output-low;
+ power-source = <0>;
+ };
+
+ pmic_lcd_bl_pwm: pmic-lcd-bl-pwm-state {
+ pins = "gpio8";
+ function = "func1";
+ bias-disable;
+ qcom,drive-strength = <PMIC_GPIO_STRENGTH_LOW>;
+ output-low;
+ power-source = <0>;
+ };
+};
+
&pm8350c_pwm {
+ pinctrl-0 = <&pmic_lcd_bl_pwm>;
+ pinctrl-names = "default";
status = "okay";
multi-led {
--
2.17.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 0/2] add display and panel on qcm6490 idp
2024-02-15 10:39 [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
2024-02-15 10:39 ` [PATCH v3 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver Ritesh Kumar
2024-02-15 10:39 ` [PATCH v3 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel Ritesh Kumar
@ 2024-03-07 8:20 ` Ritesh Kumar
2024-03-07 8:24 ` Dmitry Baryshkov
2024-03-19 2:48 ` (subset) " Bjorn Andersson
3 siblings, 1 reply; 7+ messages in thread
From: Ritesh Kumar @ 2024-03-07 8:20 UTC (permalink / raw)
To: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt, catalin.marinas, will, quic_bjorande, geert+renesas,
arnd, neil.armstrong, dmitry.baryshkov, nfraprado, m.szyprowski
Cc: linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel,
quic_abhinavk, quic_rajeevny, quic_vproddut
On 2/15/2024 4:09 PM, Ritesh Kumar wrote:
> Build the Novatek NT36672E DSI Panel driver as module and enable
> display subsystem on Qualcomm qcm6490 idp board.
>
> Ritesh Kumar (2):
> arm64: defconfig: enable Novatek NT36672E DSI Panel driver
> arm64: dts: qcom: qcm6490-idp: add display and panel
Can you please review and apply these two patches.
Thanks,
Ritesh
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 0/2] add display and panel on qcm6490 idp
2024-03-07 8:20 ` [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
@ 2024-03-07 8:24 ` Dmitry Baryshkov
0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2024-03-07 8:24 UTC (permalink / raw)
To: Ritesh Kumar
Cc: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt, catalin.marinas, will, quic_bjorande, geert+renesas,
arnd, neil.armstrong, nfraprado, m.szyprowski, linux-arm-msm,
devicetree, linux-kernel, linux-arm-kernel, quic_abhinavk,
quic_rajeevny, quic_vproddut
On Thu, 7 Mar 2024 at 10:20, Ritesh Kumar <quic_riteshk@quicinc.com> wrote:
>
>
> On 2/15/2024 4:09 PM, Ritesh Kumar wrote:
> > Build the Novatek NT36672E DSI Panel driver as module and enable
> > display subsystem on Qualcomm qcm6490 idp board.
> >
> > Ritesh Kumar (2):
> > arm64: defconfig: enable Novatek NT36672E DSI Panel driver
> > arm64: dts: qcom: qcm6490-idp: add display and panel
>
> Can you please review and apply these two patches.
Can you please read docs regarding the kernel development process?
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel
2024-02-15 10:39 ` [PATCH v3 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel Ritesh Kumar
@ 2024-03-07 8:25 ` Dmitry Baryshkov
0 siblings, 0 replies; 7+ messages in thread
From: Dmitry Baryshkov @ 2024-03-07 8:25 UTC (permalink / raw)
To: Ritesh Kumar
Cc: andersson, konrad.dybcio, robh+dt, krzysztof.kozlowski+dt,
conor+dt, catalin.marinas, will, quic_bjorande, geert+renesas,
arnd, neil.armstrong, nfraprado, m.szyprowski, linux-arm-msm,
devicetree, linux-kernel, linux-arm-kernel, quic_abhinavk,
quic_rajeevny, quic_vproddut
On Thu, 15 Feb 2024 at 12:39, Ritesh Kumar <quic_riteshk@quicinc.com> wrote:
>
> Enable Display Subsystem with Novatek NT36672E Panel
> on qcm6490 idp platform.
>
> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
>
> ---
> v2: Fixed review comments from Dmitry and Konrad
> - moved pinctrl-names after pinctrl-0 property.
> - removed gpu disablement change after validating gpu.
> Rebased the patch
> - rebased the patch to resolve conflicts.
> v3: Fixed review comments from Dmitry
> - renamed panel supply to regulator-lcd-disp-bias.
> - moved backlight as per sort order.
> ---
> arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 92 ++++++++++++++++++++++++
> 1 file changed, 92 insertions(+)
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
--
With best wishes
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: (subset) [PATCH v3 0/2] add display and panel on qcm6490 idp
2024-02-15 10:39 [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
` (2 preceding siblings ...)
2024-03-07 8:20 ` [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
@ 2024-03-19 2:48 ` Bjorn Andersson
3 siblings, 0 replies; 7+ messages in thread
From: Bjorn Andersson @ 2024-03-19 2:48 UTC (permalink / raw)
To: konrad.dybcio, robh+dt, krzysztof.kozlowski+dt, conor+dt,
catalin.marinas, will, quic_bjorande, geert+renesas, arnd,
neil.armstrong, dmitry.baryshkov, nfraprado, m.szyprowski,
Ritesh Kumar
Cc: linux-arm-msm, devicetree, linux-kernel, linux-arm-kernel,
quic_abhinavk, quic_rajeevny, quic_vproddut
On Thu, 15 Feb 2024 16:09:27 +0530, Ritesh Kumar wrote:
> Build the Novatek NT36672E DSI Panel driver as module and enable
> display subsystem on Qualcomm qcm6490 idp board.
>
Applied, thanks!
[1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver
commit: 55ca24e5f9f432e27499ce5baa85f233931901c1
Best regards,
--
Bjorn Andersson <andersson@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-03-19 2:49 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-15 10:39 [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
2024-02-15 10:39 ` [PATCH v3 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver Ritesh Kumar
2024-02-15 10:39 ` [PATCH v3 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel Ritesh Kumar
2024-03-07 8:25 ` Dmitry Baryshkov
2024-03-07 8:20 ` [PATCH v3 0/2] add display and panel on qcm6490 idp Ritesh Kumar
2024-03-07 8:24 ` Dmitry Baryshkov
2024-03-19 2:48 ` (subset) " Bjorn Andersson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®