From: Ritesh Kumar <quic_riteshk@quicinc.com>
To: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: <andersson@kernel.org>, <konrad.dybcio@linaro.org>,
<robh+dt@kernel.org>, <krzysztof.kozlowski+dt@linaro.org>,
<conor+dt@kernel.org>, <catalin.marinas@arm.com>,
<will@kernel.org>, <quic_bjorande@quicinc.com>,
<geert+renesas@glider.be>, <arnd@arndb.de>,
<neil.armstrong@linaro.org>, <nfraprado@collabora.com>,
<m.szyprowski@samsung.com>, <linux-arm-msm@vger.kernel.org>,
<devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
<linux-arm-kernel@lists.infradead.org>,
<quic_abhinavk@quicinc.com>, <quic_rajeevny@quicinc.com>,
<quic_vproddut@quicinc.com>
Subject: Re: [PATCH 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel
Date: Tue, 23 Jan 2024 18:13:22 +0530 [thread overview]
Message-ID: <b9012927-b357-4875-9e8e-90df5cc8d8bb@quicinc.com> (raw)
In-Reply-To: <CAA8EJpp3WJ8132aB-tyzJPXsdczvQC+TvKemm9NvUNYNrEntow@mail.gmail.com>
On 1/16/2024 3:28 PM, Dmitry Baryshkov wrote:
> On Tue, 16 Jan 2024 at 11:49, Ritesh Kumar <quic_riteshk@quicinc.com> wrote:
>> Enable Display Subsystem with Novatek NT36672E Panel
>> on qcm6490 idp platform.
> Is this panel always present on the IDP board or is it an optional
> addon, like the panels for all the RBn boards?
This panel is always present on the IDP board.
>> Signed-off-by: Ritesh Kumar <quic_riteshk@quicinc.com>
>> ---
>> arch/arm64/boot/dts/qcom/qcm6490-idp.dts | 100 +++++++++++++++++++++++
>> 1 file changed, 100 insertions(+)
>>
>> diff --git a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
>> index 2a6e4907c5ee..efa5252130a1 100644
>> --- a/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
>> +++ b/arch/arm64/boot/dts/qcom/qcm6490-idp.dts
>> @@ -9,6 +9,7 @@
>> #define PM7250B_SID 8
>> #define PM7250B_SID1 9
>>
>> +#include <dt-bindings/pinctrl/qcom,pmic-gpio.h>
>> #include <dt-bindings/regulator/qcom,rpmh-regulator.h>
>> #include "sc7280.dtsi"
>> #include "pm7250b.dtsi"
>> @@ -38,6 +39,25 @@
>> stdout-path = "serial0:115200n8";
>> };
>>
>> + lcd_disp_bias: lcd-disp-bias-regulator {
>> + 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-names = "default";
>> + pinctrl-0 = <&lcd_disp_bias_en>;
>> + };
>> +
>> + pm8350c_pwm_backlight: backlight {
>> + compatible = "pwm-backlight";
>> + pwms = <&pm8350c_pwm 3 65535>;
>> + enable-gpios = <&pm8350c_gpios 7 GPIO_ACTIVE_HIGH>;
>> + pinctrl-names = "default";
>> + pinctrl-0 = <&pmic_lcd_bl_en>;
>> + };
>> +
>> reserved-memory {
>> xbl_mem: xbl@80700000 {
>> reg = <0x0 0x80700000 0x0 0x100000>;
>> @@ -420,6 +440,86 @@
>> };
>> };
>>
>> +&gpu {
>> + status = "disabled";
>> +};
>> +
>> +&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-names = "default";
>> + pinctrl-0 = <&pmic_lcd_bl_pwm>;
>> + status = "okay";
>> +};
>> +
>> &qupv3_id_0 {
>> status = "okay";
>> };
>> --
>> 2.17.1
>>
Thanks,
Ritesh
next prev parent reply other threads:[~2024-01-23 12:43 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-16 9:49 [PATCH 0/2] add display and panel on qcm6490 idp Ritesh Kumar
2024-01-16 9:49 ` [PATCH 1/2] arm64: defconfig: enable Novatek NT36672E DSI Panel driver Ritesh Kumar
2024-01-16 9:59 ` Dmitry Baryshkov
2024-01-16 10:25 ` Ritesh Kumar (QUIC)
2024-01-16 10:44 ` Dmitry Baryshkov
2024-01-16 9:49 ` [PATCH 2/2] arm64: dts: qcom: qcm6490-idp: add display and panel Ritesh Kumar
2024-01-16 9:58 ` Dmitry Baryshkov
2024-01-23 12:43 ` Ritesh Kumar [this message]
2024-01-23 13:07 ` Dmitry Baryshkov
2024-01-16 12:06 ` Konrad Dybcio
2024-01-16 12:57 ` Dmitry Baryshkov
2024-01-23 13:43 ` Ritesh Kumar
2024-01-23 15:12 ` Dmitry Baryshkov
2024-01-23 18:04 ` Konrad Dybcio
2024-02-12 12:28 ` Ritesh Kumar
2024-02-12 13:27 ` Dmitry Baryshkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9012927-b357-4875-9e8e-90df5cc8d8bb@quicinc.com \
--to=quic_riteshk@quicinc.com \
--cc=andersson@kernel.org \
--cc=arnd@arndb.de \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@linaro.org \
--cc=geert+renesas@glider.be \
--cc=konrad.dybcio@linaro.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=m.szyprowski@samsung.com \
--cc=neil.armstrong@linaro.org \
--cc=nfraprado@collabora.com \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_bjorande@quicinc.com \
--cc=quic_rajeevny@quicinc.com \
--cc=quic_vproddut@quicinc.com \
--cc=robh+dt@kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®