[PATCH v2 1/4] usb: dwc2: Document the AHB burst value for bcm2835

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

 



The BCM2835 has an alternate function for the GAHBCFG.HBSTLEN field.

Document this difference in the code.

Cc: Stefan Wahren <stefan.wahren@xxxxxxxx>
Signed-off-by: John Youn <johnyoun@xxxxxxxxxxxx>
---
 drivers/usb/dwc2/params.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/drivers/usb/dwc2/params.c b/drivers/usb/dwc2/params.c
index a786256..d44b31c 100644
--- a/drivers/usb/dwc2/params.c
+++ b/drivers/usb/dwc2/params.c
@@ -93,6 +93,13 @@ static const struct dwc2_core_params params_bcm2835 = {
 	.host_ls_low_power_phy_clk	= 0,	/* 48 MHz */
 	.ts_dline			= 0,
 	.reload_ctl			= 0,
+
+	/*
+	 * Although this value would normally be invalid, for BCM2835,
+	 * the GAHBCFG.HBSTLEN field has a different meaning from that
+	 * defined by Synopsys. See the BCM2835 databook section 15.2
+	 * for details.
+	 */
 	.ahbcfg				= 0x10,
 	.uframe_sched			= 0,
 	.external_id_pin_ctl		= -1,
-- 
2.10.0

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux