[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200703015102.27295-4-wcheng@codeaurora.org>
Date: Thu, 2 Jul 2020 18:50:59 -0700
From: Wesley Cheng <wcheng@...eaurora.org>
To: lgirdwood@...il.com, mark.rutland@....com, agross@...nel.org,
broonie@...nel.org, heikki.krogerus@...ux.intel.com,
robh+dt@...nel.org, gregkh@...uxfoundation.org,
bjorn.andersson@...aro.org
Cc: linux-arm-msm@...r.kernel.org, devicetree@...r.kernel.org,
linux-usb@...r.kernel.org, linux-kernel@...r.kernel.org,
jackp@...eaurora.org, rdunlap@...radead.org,
bryan.odonoghue@...aro.org, Wesley Cheng <wcheng@...eaurora.org>
Subject: [PATCH v5 3/6] arm64: boot: dts: qcom: pm8150b: Add node for USB type C block
The PM8150B has a dedicated USB type C block, which can be used for type C
orientation and role detection. Create the reference node to this type C
block for further use.
Signed-off-by: Wesley Cheng <wcheng@...eaurora.org>
---
arch/arm64/boot/dts/qcom/pm8150b.dtsi | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/arch/arm64/boot/dts/qcom/pm8150b.dtsi b/arch/arm64/boot/dts/qcom/pm8150b.dtsi
index 322379d5c31f..91b870345dda 100644
--- a/arch/arm64/boot/dts/qcom/pm8150b.dtsi
+++ b/arch/arm64/boot/dts/qcom/pm8150b.dtsi
@@ -22,6 +22,13 @@ power-on@800 {
status = "disabled";
};
+ pm8150b_typec: typec@...0 {
+ compatible = "qcom,pm8150b-usb-typec";
+ status = "disabled";
+ reg = <0x1500>;
+ interrupts = <0x2 0x15 0x5 IRQ_TYPE_EDGE_RISING>;
+ };
+
adc@...0 {
compatible = "qcom,spmi-adc5";
reg = <0x3100>;
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Powered by blists - more mailing lists