Message ID | 1434018642-16990-8-git-send-email-Peng.Fan@freescale.com |
---|---|
State | Changes Requested |
Delegated to: | Stefano Babic |
Headers | show |
Hi Peng, On 11/06/2015 12:30, Peng Fan wrote: > To resolve USB camera bandwidth issue, increase the priority > to make peripheral can fetch data from memory in time. Recommended > AQoS setting from IC team value for peripheral and only on imx6qp. > > The address is: 0xbb0608, the value is: 0x80000201 > > Signed-off-by: Ye.Li <B37916@freescale.com> > Signed-off-by: Peng Fan <Peng.Fan@freescale.com> > --- > > Changes v2: > improve comments > > arch/arm/cpu/armv7/mx6/soc.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c > index bcfa2f6..e3e1494 100644 > --- a/arch/arm/cpu/armv7/mx6/soc.c > +++ b/arch/arm/cpu/armv7/mx6/soc.c > @@ -424,6 +424,14 @@ int arch_cpu_init(void) > > init_src(); > > + /* > + * To resolve USB camera bandwidth issue, increase the priority > + * to make pheripheral can fetch data from memory in time. Recommended > + * AQoS setting from IC team value for peripheral and only on imx6qp. > + */ > + if (is_mx6dqp()) > + writel(0x80000201, 0xbb0608); See my prevoius comment: no magic data, provide structures and code for that. Best regards, Stefano Babic
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c index bcfa2f6..e3e1494 100644 --- a/arch/arm/cpu/armv7/mx6/soc.c +++ b/arch/arm/cpu/armv7/mx6/soc.c @@ -424,6 +424,14 @@ int arch_cpu_init(void) init_src(); + /* + * To resolve USB camera bandwidth issue, increase the priority + * to make pheripheral can fetch data from memory in time. Recommended + * AQoS setting from IC team value for peripheral and only on imx6qp. + */ + if (is_mx6dqp()) + writel(0x80000201, 0xbb0608); + return 0; }