All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Bjorn Andersson <andersson@kernel.org>,
	 Konrad Dybcio <konrad.dybcio@linaro.org>,
	Rob Herring <robh@kernel.org>,
	 Krzysztof Kozlowski <krzk+dt@kernel.org>,
	 Conor Dooley <conor+dt@kernel.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	 linux-kernel@vger.kernel.org,
	 Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Subject: [PATCH v2 3/5] arm64: dts: qcom: sm8450-hdk: add USB-C orientation GPIO
Date: Tue, 09 Apr 2024 17:28:13 +0300	[thread overview]
Message-ID: <20240409-hdk-orientation-gpios-v2-3-658efd993987@linaro.org> (raw)
In-Reply-To: <20240409-hdk-orientation-gpios-v2-0-658efd993987@linaro.org>

Define the USB-C orientation GPIO so that the USB-C port orientation is
known without having to resort to the altmode notifications.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 arch/arm64/boot/dts/qcom/sm8450-hdk.dts | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
index 0786cff07b89..3be46b56c723 100644
--- a/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
+++ b/arch/arm64/boot/dts/qcom/sm8450-hdk.dts
@@ -95,6 +95,7 @@ pmic-glink {
 		compatible = "qcom,sm8450-pmic-glink", "qcom,pmic-glink";
 		#address-cells = <1>;
 		#size-cells = <0>;
+		orientation-gpios = <&tlmm 91 GPIO_ACTIVE_HIGH>;
 
 		connector@0 {
 			compatible = "usb-c-connector";

-- 
2.39.2


  parent reply	other threads:[~2024-04-09 14:28 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-09 14:28 [PATCH v2 0/5] arm64: dts: qcom: add USB-C orientation GPIOs Dmitry Baryshkov
2024-04-09 14:28 ` [PATCH v2 1/5] dt-bindings: soc: qcom: pmic-glink: allow orientation-gpios Dmitry Baryshkov
2024-04-10  6:16   ` Krzysztof Kozlowski
2024-04-09 14:28 ` [PATCH v2 2/5] arm64: dts: qcom: sm8350-hdk: add USB-C orientation GPIO Dmitry Baryshkov
2024-04-09 15:00   ` Konrad Dybcio
2024-04-09 14:28 ` Dmitry Baryshkov [this message]
2024-04-09 15:00   ` [PATCH v2 3/5] arm64: dts: qcom: sm8450-hdk: " Konrad Dybcio
2024-04-09 14:28 ` [PATCH v2 4/5] arm64: dts: qcom: sc8280xp-lenovo-thinkpad-x13s: add USB-C orientation GPIOs Dmitry Baryshkov
2024-04-09 15:00   ` Konrad Dybcio
2024-04-09 14:28 ` [PATCH v2 5/5] arm64: dts: qcom: sc8180x-lenovo-flex-5g: " Dmitry Baryshkov
2024-04-09 15:00   ` Konrad Dybcio
2024-04-10  7:53 ` [PATCH v2 0/5] arm64: dts: qcom: " neil.armstrong
2024-04-21 16:07 ` Bjorn Andersson

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=20240409-hdk-orientation-gpios-v2-3-658efd993987@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=andersson@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=konrad.dybcio@linaro.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.