target/rockchip: linux 4.19 tips for xhci trb

This commit is contained in:
jjm2473 2023-03-14 12:37:52 +08:00
parent 220afb83f6
commit 246494deac
2 changed files with 3 additions and 3 deletions

View File

@ -13416,7 +13416,7 @@ index 3e6cb257f..dcf91c5cb 100644
#define TRB_SEGMENT_SHIFT (ilog2(TRB_SEGMENT_SIZE)) #define TRB_SEGMENT_SHIFT (ilog2(TRB_SEGMENT_SIZE))
/* TRB buffer pointers can't cross 64KB boundaries */ /* TRB buffer pointers can't cross 64KB boundaries */
+#ifdef CONFIG_ARCH_ROCKCHIP +#ifdef CONFIG_ARCH_ROCKCHIP
+#define TRB_MAX_BUFF_SHIFT 12 +#define TRB_MAX_BUFF_SHIFT 13 // set to 16 if we use snps,parkmode-disable-ss-quirk;
+#else +#else
#define TRB_MAX_BUFF_SHIFT 16 #define TRB_MAX_BUFF_SHIFT 16
+#endif +#endif

View File

@ -587,7 +587,7 @@
snps,dis-del-phy-power-chg-quirk; snps,dis-del-phy-power-chg-quirk;
snps,dis-tx-ipgap-linecheck-quirk; snps,dis-tx-ipgap-linecheck-quirk;
snps,dis_rxdet_inp3_quirk; snps,dis_rxdet_inp3_quirk;
snps,xhci-trb-ent-quirk; snps,xhci-trb-ent-quirk; // snps,parkmode-disable-ss-quirk;
status = "disabled"; status = "disabled";
}; };
}; };
@ -619,7 +619,7 @@
snps,dis-del-phy-power-chg-quirk; snps,dis-del-phy-power-chg-quirk;
snps,dis-tx-ipgap-linecheck-quirk; snps,dis-tx-ipgap-linecheck-quirk;
snps,dis_rxdet_inp3_quirk; snps,dis_rxdet_inp3_quirk;
snps,xhci-trb-ent-quirk; snps,xhci-trb-ent-quirk; // snps,parkmode-disable-ss-quirk;
status = "disabled"; status = "disabled";
}; };
}; };