[PATCH 1/5] usb: chipidea: tegra: add tegra specific flags for host mode

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

 



Tegra controllers require special handlers for aligned dma, as generic
helpers do not exist yet. Add a flag to set for Tegra devices to permit
these handlers.
Also, some Tegra controllers require a double reset, set from the device
tree. Add a flag for this as well.

Signed-off-by: Peter Geis <pgwipeout@xxxxxxxxx>
---
 include/linux/usb/chipidea.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/usb/chipidea.h b/include/linux/usb/chipidea.h
index edd89b7c8f18..88cc13fe582f 100644
--- a/include/linux/usb/chipidea.h
+++ b/include/linux/usb/chipidea.h
@@ -62,6 +62,8 @@ struct ci_hdrc_platform_data {
 #define CI_HDRC_REQUIRES_ALIGNED_DMA	BIT(13)
 #define CI_HDRC_IMX_IS_HSIC		BIT(14)
 #define CI_HDRC_PMQOS			BIT(15)
+#define CI_HDRC_TEGRA_HOST		BIT(16)
+#define CI_HDRC_TEGRA_DOUBLE_RESET	BIT(17)
 	enum usb_dr_mode	dr_mode;
 #define CI_HDRC_CONTROLLER_RESET_EVENT		0
 #define CI_HDRC_CONTROLLER_STOPPED_EVENT	1
-- 
2.17.1




[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux