* [PATCH v1] arm64: dts: qcom: sc7180: Add DisplayPort HPD pin dt node
@ 2020-08-17 22:45 Tanmay Shah
2020-08-17 22:50 ` Stephen Boyd
0 siblings, 1 reply; 2+ messages in thread
From: Tanmay Shah @ 2020-08-17 22:45 UTC (permalink / raw)
To: devicetree
Cc: swboyd, linux-kernel, linux-arm-msm, dri-devel, freedreno,
seanpaul, robdclark, daniel, airlied, aravindh, abhinavk, khsieh,
Tanmay Shah
This node defines alternate DP HPD functionality of GPIO.
Signed-off-by: Tanmay Shah <tanmay@codeaurora.org>
---
arch/arm64/boot/dts/qcom/sc7180.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
index bf2f2bb1aa79..9f97cf5dd9ab 100644
--- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
@@ -1457,6 +1457,20 @@ pinconf-sd-cd {
drive-strength = <2>;
};
};
+
+ dp_hot_plug_det: dp-hot-plug-det {
+ pinmux {
+ pins = "gpio117";
+ function = "dp_hot";
+ };
+
+ config {
+ pins = "gpio117";
+ bias-disable;
+ input-enable;
+ drive-strength = <2>;
+ };
+ };
};
gpu: gpu@5000000 {
base-commit: 62975d27d647a40c58d3b96c29b911fc4f33c310
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] arm64: dts: qcom: sc7180: Add DisplayPort HPD pin dt node
2020-08-17 22:45 [PATCH v1] arm64: dts: qcom: sc7180: Add DisplayPort HPD pin dt node Tanmay Shah
@ 2020-08-17 22:50 ` Stephen Boyd
0 siblings, 0 replies; 2+ messages in thread
From: Stephen Boyd @ 2020-08-17 22:50 UTC (permalink / raw)
To: Tanmay Shah, devicetree
Cc: linux-kernel, linux-arm-msm, dri-devel, freedreno, seanpaul,
robdclark, daniel, airlied, aravindh, abhinavk, khsieh,
Tanmay Shah
Quoting Tanmay Shah (2020-08-17 15:45:27)
> This node defines alternate DP HPD functionality of GPIO.
>
> Signed-off-by: Tanmay Shah <tanmay@codeaurora.org>
> ---
> arch/arm64/boot/dts/qcom/sc7180.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> index bf2f2bb1aa79..9f97cf5dd9ab 100644
> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi
> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi
> @@ -1457,6 +1457,20 @@ pinconf-sd-cd {
> drive-strength = <2>;
> };
> };
> +
> + dp_hot_plug_det: dp-hot-plug-det {
> + pinmux {
> + pins = "gpio117";
> + function = "dp_hot";
> + };
> +
> + config {
The node name is usualy called pinconf. Please use that.
> + pins = "gpio117";
> + bias-disable;
> + input-enable;
> + drive-strength = <2>;
My understanding is that drive-strength doesn't do anything when the pin
is input. So this line should be removed.
> + };
> + };
> };
>
> gpu: gpu@5000000 {
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-17 22:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-17 22:45 [PATCH v1] arm64: dts: qcom: sc7180: Add DisplayPort HPD pin dt node Tanmay Shah
2020-08-17 22:50 ` Stephen Boyd
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).