RE: [PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Anson Huang
Hi, Viresh Anson Huang Best Regards! > -Original Message- > From: Viresh Kumar > Sent: Monday, October 8, 2018 2:04 PM > To: Anson Huang > Cc: r...@rjwysocki.net; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org; dl-linux-imx > Subject: Re: [PATCH V3]

RE: [PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Anson Huang
Hi, Viresh Anson Huang Best Regards! > -Original Message- > From: Viresh Kumar > Sent: Monday, October 8, 2018 2:04 PM > To: Anson Huang > Cc: r...@rjwysocki.net; linux...@vger.kernel.org; > linux-kernel@vger.kernel.org; dl-linux-imx > Subject: Re: [PATCH V3]

Re: [PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Viresh Kumar
On 08-10-18, 09:10, Anson Huang wrote: > On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because > the ocotp clock needs to be enabled first. Add support for reading > OCOTP through the nvmem API, and keep the old method there to > support old dtb. > > Signed-off-by: Anson Huang > --- >

Re: [PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-08 Thread Viresh Kumar
On 08-10-18, 09:10, Anson Huang wrote: > On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because > the ocotp clock needs to be enabled first. Add support for reading > OCOTP through the nvmem API, and keep the old method there to > support old dtb. > > Signed-off-by: Anson Huang > --- >

[PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-07 Thread Anson Huang
On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Add support for reading OCOTP through the nvmem API, and keep the old method there to support old dtb. Signed-off-by: Anson Huang --- changes since V2: Add put node when reading

[PATCH V3] cpufreq: imx6q: read OCOTP through nvmem for imx6ul/imx6ull

2018-10-07 Thread Anson Huang
On i.MX6UL/i.MX6ULL, accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Add support for reading OCOTP through the nvmem API, and keep the old method there to support old dtb. Signed-off-by: Anson Huang --- changes since V2: Add put node when reading