> Another question about usb power.
> Is it possible that on my board USB clock gating is different than one set
> in current dwc_otg_ifx.c.
> There it says:
>     // set clock gating
>     writel(readl(DANUBE_CGU_IFCCR) | 0x30, DANUBE_CGU_IFCCR);
> 
> On mine board it says:
> 
>         // set clock gating
>         // JR: This means:: USB clock source is special internal clock
> generated from 36 MHz source
>         set_bit (4, DANUBE_CGU_IFCCR);
>         set_bit (5, DANUBE_CGU_IFCCR);

Hi,

BIT(4)|BIT(5) == 0x30 ;)

however, i will review the driver code later to make sure usb power is
setup properly....

John
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to