Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2049c452 authored by Manu Gautam's avatar Manu Gautam
Browse files

ARM: dts: msm: Disable SMMU S1 for USB on sdxpoorwills PCIe EP



IPA doesn't use SMMU when operating in MHI mode (PCIe EP usecase)
using DT parameter - 'qcom,use-ipa-in-mhi-mode'.
Hence, USB should also not enable SMMU in order to support hardware
acceleration using IPA.

Change-Id: Ibdde810daa06b61c00ffe3ee282b4134bff171b2
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent 3d848c5a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -20,6 +20,7 @@
	status = "okay";
	qcom,connector-type-uAB;
	extcon = <0>, <0>, <0>, <&vbus_detect>;
	/delete-property/ iommus;
};

&pcie_ep {
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -16,6 +16,10 @@
	status = "okay";
};

&usb {
	/delete-property/ iommus;
};

&pcie_ep {
	status = "okay";
};
+2 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -20,6 +20,7 @@
	status = "okay";
	qcom,connector-type-uAB;
	extcon = <0>, <0>, <0>, <&vbus_detect>;
	/delete-property/ iommus;
};

&pcie_ep {
+5 −1
Original line number Diff line number Diff line
/* Copyright (c) 2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -16,6 +16,10 @@
	status = "okay";
};

&usb {
	/delete-property/ iommus;
};

&pcie_ep {
	status = "okay";
};