devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Tengfei Fan <quic_tengfan@quicinc.com>,
	agross@kernel.org, andersson@kernel.org,
	konrad.dybcio@linaro.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org,
	tglx@linutronix.de
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org, -cc=kernel@quicinc.com
Subject: Re: [PATCH 10/16] arm64: dts: qcom: sm8550-aim300: add display and panel
Date: Fri, 17 Nov 2023 12:30:47 +0200	[thread overview]
Message-ID: <a1672479-ca5f-4d96-8583-014d3adfc37c@linaro.org> (raw)
In-Reply-To: <20231117101817.4401-11-quic_tengfan@quicinc.com>

On 17/11/2023 12:18, Tengfei Fan wrote:
> Enable Display Subsystem with Visionox VTDR6130 Panel.
> 
> Signed-off-by: Tengfei Fan <quic_tengfan@quicinc.com>
> ---
>   arch/arm64/boot/dts/qcom/sm8550-aim300.dts | 68 ++++++++++++++++++++++
>   1 file changed, 68 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts
> index cafddc02aef0..9b568ae9581e 100644
> --- a/arch/arm64/boot/dts/qcom/sm8550-aim300.dts
> +++ b/arch/arm64/boot/dts/qcom/sm8550-aim300.dts
> @@ -432,6 +432,46 @@
>   		 <&usb_dp_qmpphy QMP_USB43DP_USB3_PIPE_CLK>;
>   };
>   
> +&mdss {
> +	status = "okay";
> +};
> +
> +&mdss_dsi0 {
> +	vdda-supply = <&vreg_l3e_1p2>;
> +	status = "okay";
> +
> +	panel@0 {
> +		compatible = "visionox,vtdr6130";
> +		reg = <0>;
> +
> +		pinctrl-0 = <&sde_dsi_active>, <&sde_te_active>;
> +		pinctrl-1 = <&sde_dsi_suspend>, <&sde_te_suspend>;
> +		pinctrl-names = "default", "sleep";
> +
> +		reset-gpios = <&tlmm 133 GPIO_ACTIVE_LOW>;
> +
> +		vci-supply = <&vreg_l13b_3p0>;
> +		vdd-supply = <&vreg_l11b_1p2>;
> +		vddio-supply = <&vreg_l12b_1p8>;
> +
> +		port {
> +			panel0_in: endpoint {
> +				remote-endpoint = <&mdss_dsi0_out>;
> +			};
> +		};
> +	};
> +};
> +
> +&mdss_dsi0_out {
> +	remote-endpoint = <&panel0_in>;
> +	data-lanes = <0 1 2 3>;
> +};
> +
> +&mdss_dsi0_phy {
> +	vdds-supply = <&vreg_l1e_0p88>;
> +	status = "okay";
> +};
> +
>   &pcie_1_phy_aux_clk {
>   	status = "disabled";
>   };
> @@ -533,6 +573,34 @@
>   &tlmm {
>   	gpio-reserved-ranges = <32 8>;
>   
> +	sde_dsi_active: sde-dsi-active-state {

sde is the name from the other kernel branch. Drop it please. Just 'dsi' 
is enough.

> +		pins = "gpio133";
> +		function = "gpio";
> +		drive-strength = <8>;
> +		bias-disable;
> +	};
> +
> +	sde_dsi_suspend: sde-dsi-suspend-state {
> +		pins = "gpio133";
> +		function = "gpio";
> +		drive-strength = <2>;
> +		bias-pull-down;
> +	};
> +
> +	sde_te_active: sde-te-active-state {
> +		pins = "gpio86";
> +		function = "mdp_vsync";
> +		drive-strength = <2>;
> +		bias-pull-down;
> +	};
> +
> +	sde_te_suspend: sde-te-suspend-state {
> +		pins = "gpio86";
> +		function = "mdp_vsync";
> +		drive-strength = <2>;
> +		bias-pull-down;
> +	};
> +
>   	wcd_default: wcd-reset-n-active-state {
>   		pins = "gpio108";
>   		function = "gpio";

-- 
With best wishes
Dmitry


  reply	other threads:[~2023-11-17 10:30 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-17 10:18 [PATCH 00/16] arm64: qcom: add sm8550-aim300 board support Tengfei Fan
2023-11-17 10:18 ` [PATCH 01/16] dt-bindings: arm: qcom: add SM8550 AIM300 Tengfei Fan
2023-11-17 10:22   ` Krzysztof Kozlowski
2023-11-20  8:53     ` Krzysztof Kozlowski
2023-11-21  0:30       ` Tengfei Fan
2023-11-21  7:18         ` Krzysztof Kozlowski
2023-11-22 19:35           ` Konrad Dybcio
2023-11-24  2:31             ` Tengfei Fan
2023-11-24  7:47               ` Krzysztof Kozlowski
2023-11-24 10:11                 ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 02/16] dt-bindings: interrupt-controller: qcom,pdc: document qcom,sm8550-pdc Tengfei Fan
2023-11-17 10:23   ` Krzysztof Kozlowski
2023-11-21  0:33     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 03/16] arm64: dts: qcom: sm8550: update Soundwire node name Tengfei Fan
2023-11-17 10:24   ` Krzysztof Kozlowski
2023-11-21  0:35     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 04/16] arm64: dts: qcom: sm8550: remove address/size-cells from pwm Tengfei Fan
2023-11-17 10:25   ` Dmitry Baryshkov
2023-11-17 10:18 ` [PATCH 05/16] arm64: dts: qcom: sm8550: remove address/size-cells from mdss_dsi1 Tengfei Fan
2023-11-17 10:24   ` Dmitry Baryshkov
2023-11-17 10:28     ` Dmitry Baryshkov
2023-11-17 10:18 ` [PATCH 06/16] arm64: dts: qcom: sm8550-aim300: add SM8550 AIM300 Tengfei Fan
2023-11-17 10:28   ` Dmitry Baryshkov
2023-11-21  0:38     ` Tengfei Fan
2023-11-21  2:52     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 07/16] arm64: dts: qcom: sm8550-aim300: add PCIe0 Tengfei Fan
2023-11-17 10:29   ` Dmitry Baryshkov
2023-11-17 10:41     ` neil.armstrong
2023-11-18  0:08       ` Konrad Dybcio
2023-11-19 17:59         ` Neil Armstrong
2023-11-21  0:40           ` Tengfei Fan
2023-11-17 10:30   ` Krzysztof Kozlowski
2023-11-21  0:51     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 08/16] arm64: dts: qcom: sm8550-aim300: add WCD9385 audio-codec Tengfei Fan
2023-11-17 10:31   ` Krzysztof Kozlowski
2023-11-21  0:54     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 09/16] arm64: dts: qcom: sm8550-aim300: add flash LEDs Tengfei Fan
2023-11-17 10:34   ` Krzysztof Kozlowski
2023-11-21  0:54     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 10/16] arm64: dts: qcom: sm8550-aim300: add display and panel Tengfei Fan
2023-11-17 10:30   ` Dmitry Baryshkov [this message]
2023-11-21  0:56     ` Tengfei Fan
2023-11-17 10:31   ` Krzysztof Kozlowski
2023-11-21  1:01     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 11/16] arm64: dts: qcom: sm8550-aim300: add notification RGB LED Tengfei Fan
2023-11-17 10:31   ` Krzysztof Kozlowski
2023-11-21  1:01     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 12/16] arm64: dts: qcom: sm8550-aim300: enable PMIC Volume and Power buttons Tengfei Fan
2023-11-17 10:32   ` Krzysztof Kozlowski
2023-11-21  1:03     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 13/16] arm64: dts: qcom: sm8550-aim300: add WSA8845 speakers Tengfei Fan
2023-11-17 10:33   ` Krzysztof Kozlowski
2023-11-21  1:04     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 14/16] arm64: dts: qcom: sm8550-aim300: add sound card Tengfei Fan
2023-11-17 10:33   ` Krzysztof Kozlowski
2023-11-21  1:04     ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 15/16] arm64: dts: qcom: sm8550-aim300: add pmic glink port/endpoints Tengfei Fan
2023-11-17 10:32   ` Dmitry Baryshkov
2023-11-21  1:06     ` Tengfei Fan
2023-11-28  8:11     ` Tengfei Fan
2023-12-13 10:04       ` Dmitry Baryshkov
2024-02-21  7:48         ` Tengfei Fan
2023-11-17 10:18 ` [PATCH 16/16] arm64: dts: qcom: sm8550-aim300: add bluetooth support Tengfei Fan
2023-11-17 10:33   ` Krzysztof Kozlowski
2023-11-21  1:06     ` Tengfei Fan

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=a1672479-ca5f-4d96-8583-014d3adfc37c@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=-cc=kernel@quicinc.com \
    --cc=agross@kernel.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=quic_tengfan@quicinc.com \
    --cc=robh+dt@kernel.org \
    --cc=tglx@linutronix.de \
    /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;
as well as URLs for NNTP newsgroup(s).