[U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-09-08 Thread Wenyou Yang
Some peripherals may need a second clock source that may be different from the system clock. This second clock is the generated clock (GCK) and is managed by the PMC via PMC_PCR. For simplicity, the source of the GCK is fixed to PLLA_CLK. Signed-off-by: Wenyou Yang --- arch/arm/mach-at91/armv7

Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-10-23 Thread Andreas Bießmann
Dear Wenyou Yang, On 09.09.15 04:29, Wenyou Yang wrote: > Some peripherals may need a second clock source that may be different > from the system clock. This second clock is the generated clock (GCK) > and is managed by the PMC via PMC_PCR. > > For simplicity, the source of the GCK is fixed to PL

Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-10-25 Thread Yang, Wenyou
Hi Andreas, Thank you for your review. The new version has been sent for review. > -Original Message- > From: Andreas Bießmann [mailto:andreas.de...@googlemail.com] > Sent: 2015年10月24日 5:01 > To: Yang, Wenyou; U-Boot Mailing List > Subject: Re: [PATCH] arm: at91: clock: Add the generate

Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-09-09 Thread Bo Shen
Hi Wenyou, On 09/09/2015 10:29 AM, Wenyou Yang wrote: Some peripherals may need a second clock source that may be different from the system clock. This second clock is the generated clock (GCK) and is managed by the PMC via PMC_PCR. For simplicity, the source of the GCK is fixed to PLLA_CLK. S

Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-09-11 Thread Yang, Wenyou
Hi Bo Shen, Thank you for your review. > -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: 2015年9月10日 6:51 > To: Yang, Wenyou; U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock > support > >

Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-09-11 Thread Bo Shen
Hi Wenyou, On 09/11/2015 10:01 AM, Yang, Wenyou wrote: + > >+void at91_enable_periph_generated_clk(u32 id) { > >+ struct at91_pmc *pmc = (struct at91_pmc *)ATMEL_BASE_PMC; > >+ u32 regval; > >+ > >+ if (id > AT91_PMC_PCR_PID_MASK) > >+ return; > >+ > >+ writel(id

Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock support

2015-09-12 Thread Yang, Wenyou
Hi Bo Shen, > -Original Message- > From: Bo Shen [mailto:voice.s...@gmail.com] > Sent: 2015年9月12日 5:48 > To: Yang, Wenyou; U-Boot Mailing List > Subject: Re: [U-Boot] [PATCH] arm: at91: clock: Add the generated clock > support > > Hi Wenyou, > > On 09/