lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <172cb86e7a05d967ebf061033d47e4c5e95af503.1633343547.git.schowdhu@codeaurora.org>
Date:   Mon,  4 Oct 2021 16:46:23 +0530
From:   Souradeep Chowdhury <schowdhu@...eaurora.org>
To:     linux-arm-msm@...r.kernel.org, linux-usb@...r.kernel.org,
        devicetree@...r.kernel.org,
        Bryan O'Donoghue <pure.logic@...us-software.ie>,
        Bjorn Andersson <bjorn.andersson@...aro.org>,
        Greg KH <greg@...ah.com>
Cc:     linux-kernel@...r.kernel.org, ckadabi@...eaurora.org,
        tsoni@...eaurora.org, bryanh@...eaurora.org,
        psodagud@...eaurora.org, satyap@...eaurora.org,
        pheragu@...eaurora.org, Rajendra Nayak <rnayak@...eaurora.org>,
        Sibi Sankar <sibis@...eaurora.org>,
        Sai Prakash Ranjan <saiprakash.ranjan@...eaurora.org>,
        Souradeep Chowdhury <schowdhu@...eaurora.org>
Subject: [PATCH V0 5/7] arm64: dts: qcom: sc7280: Add EUD connector node

Add the Embedded USB Debugger(EUD) connector node
as the child of dwc3 node under usb2. The node contains
EUD base register region and EUD mode manager register
regions along with the interrupt entry.

Signed-off-by: Souradeep Chowdhury <schowdhu@...eaurora.org>
---
 arch/arm64/boot/dts/qcom/sc7280.dtsi | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm64/boot/dts/qcom/sc7280.dtsi
index 53a21d0..21b16da 100644
--- a/arch/arm64/boot/dts/qcom/sc7280.dtsi
+++ b/arch/arm64/boot/dts/qcom/sc7280.dtsi
@@ -1308,6 +1308,9 @@
 			usb_2_dwc3: usb@...0000 {
 				compatible = "snps,dwc3";
 				reg = <0 0x08c00000 0 0xe000>;
+				#address-cells = <2>;
+				#size-cells = <2>;
+				ranges;
 				interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH>;
 				iommus = <&apps_smmu 0xa0 0x0>;
 				snps,dis_u2_susphy_quirk;
@@ -1315,6 +1318,15 @@
 				phys = <&usb_2_hsphy>;
 				phy-names = "usb2-phy";
 				maximum-speed = "high-speed";
+				usb-role-switch;
+				usb_con: eud_usb_connector {
+					compatible = "qcom,usb-connector-eud", "usb-c-connector",
+						     "qcom,sc7280-usb-connector-eud";
+					reg = <0 0x88e0000 0 0x2000>,
+					      <0 0x88e2000 0 0x1000>;
+					interrupt-parent = <&pdc>;
+					interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
+				};
 			};
 		};
 
-- 
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a member
of Code Aurora Forum, hosted by The Linux Foundation

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ