Patch "arm64: dts: mt8183: kukui: Add Type C node" has been added to the 5.15-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    arm64: dts: mt8183: kukui: Add Type C node

to the 5.15-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     arm64-dts-mt8183-kukui-add-type-c-node.patch
and it can be found in the queue-5.15 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 137f911dba7622a17bedbf09614bc1d095fabf4f
Author: Prashant Malani <pmalani@xxxxxxxxxxxx>
Date:   Thu Dec 9 11:51:12 2021 -0800

    arm64: dts: mt8183: kukui: Add Type C node
    
    [ Upstream commit fd31f778da81fec188f3ac8e03da4338642a8f08 ]
    
    Add a node describing the USB Type C connector, in order to utilize the
    Chromium OS USB Type-C driver that enumerates Type-C ports and connected
    cables/peripherals and makes them visible to userspace.
    
    Cc: Alexandru M Stan <amstan@xxxxxxxxxxxx>
    Cc: Benson Leung <bleung@xxxxxxxxxxxx>
    Signed-off-by: Prashant Malani <pmalani@xxxxxxxxxxxx>
    Reviewed-by: Alexandru M Stan <amstan@xxxxxxxxxxxx>
    Reviewed-by: Benson Leung <bleung@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20211209195112.366176-1-pmalani@xxxxxxxxxxxx
    Signed-off-by: Matthias Brugger <matthias.bgg@xxxxxxxxx>
    Stable-dep-of: 04bd6411f506 ("arm64: dts: mt8183: Move CrosEC base detection node to kukui-based DTs")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
index 6b7a42c5d5153..30a84d888c66c 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183-kukui.dtsi
@@ -831,6 +831,20 @@ usbc_extcon: extcon0 {
 		cbas {
 			compatible = "google,cros-cbas";
 		};
+
+		typec {
+			compatible = "google,cros-ec-typec";
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			usb_c0: connector@0 {
+				compatible = "usb-c-connector";
+				reg = <0>;
+				power-role = "dual";
+				data-role = "host";
+				try-power-role = "sink";
+			};
+		};
 	};
 };
 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux