RE: [PATCH v1 2/2] cpu: clk: riscv: populate proper CPU core clk frequency

2020-02-24 Thread Sagar Kadam
Hello Sean, > -Original Message- > From: Sean Anderson > Sent: Friday, February 21, 2020 11:48 AM > To: Sagar Kadam ; Bin Meng > > Cc: U-Boot Mailing List ; Lukasz Majewski > ; Anup Patel ; Paul Walmsley ( > Sifive) ; Vincent Chen > > Subject: Re:

Re: [PATCH v1 2/2] cpu: clk: riscv: populate proper CPU core clk frequency

2020-02-20 Thread Sean Anderson
On 2/21/20 12:59 AM, Sagar Kadam wrote: >> What you were trying to do in this patch, I believe the following 2 >> patches already did it. >> >> http://patchwork.ozlabs.org/patch/1236177/ >> http://patchwork.ozlabs.org/patch/1236180/ >> > > Thanks for sharing the links. Unfortunately I didn’t come

RE: [PATCH v1 2/2] cpu: clk: riscv: populate proper CPU core clk frequency

2020-02-20 Thread Sagar Kadam
Hello Bin, > -Original Message- > From: Bin Meng > Sent: Wednesday, February 19, 2020 9:40 PM > To: Sagar Kadam ; Sean Anderson > > Cc: U-Boot Mailing List ; Lukasz Majewski > ; Anup Patel ; Paul Walmsley ( > Sifive) ; Vincent Chen > > Subject: Re:

Re: [PATCH v1 2/2] cpu: clk: riscv: populate proper CPU core clk frequency

2020-02-19 Thread Bin Meng
+Sean Anderson Hi Sagar, On Wed, Feb 19, 2020 at 12:13 AM Sagar Shrikant Kadam wrote: > > Fetch core clock frequency from prci if clock-frequency for CPU nodes > is missing in device tree, so that the cmd "#cpu detail" will show the > correct CPU frequency. > > U-Boot command "#cpu detail" is

[PATCH v1 2/2] cpu: clk: riscv: populate proper CPU core clk frequency

2020-02-18 Thread Sagar Shrikant Kadam
Fetch core clock frequency from prci if clock-frequency for CPU nodes is missing in device tree, so that the cmd "#cpu detail" will show the correct CPU frequency. U-Boot command "#cpu detail" is showing wrong frequency values. This patch fixes this issue by getting the core clock set in prci