From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peng Fan Date: Mon, 18 May 2015 08:11:27 +0800 Subject: [U-Boot] [PATCH v2 3/4] imx: mx6: add display of CPU temperature grade in print_cpuinfo() In-Reply-To: References: <1431580312-24880-1-git-send-email-tharvey@gateworks.com> <1431580312-24880-4-git-send-email-tharvey@gateworks.com> <5555F3A2.9090906@denx.de> Message-ID: <20150518001108.GA5739@shlinux2> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Fabio, On Fri, May 15, 2015 at 10:36:09AM -0300, Fabio Estevam wrote: >Hi Tim, > >On Fri, May 15, 2015 at 10:31 AM, Tim Harvey wrote: > >> Yes, that sounds like the best approach. What were your thoughts on >> enabling the second CPU: line just to display the temperature grade if >> CONFIG_IMX6_THERMAL was not enabled? >> >> I'm surprised someone on this list hasn't already tested this on IMX6SX. >> >> Fabio - certainly you must have a reference board with an IMX6SX and >> could enable/test that the CPU markings agree with what is >> detected/displayed via OTP? > >Yes, I do have a mx6sx sdb board, but the one I have is from the old >silicon and I had issues event with the temperature reading, so I >prefer not to rely on my testing. > >Ye Li / Peng / Nitin, > >Could some of you please test Tim's series on a mx6sx sdb and let us >know what it displays on the CPU lines? > Tested on mx6sx sdb Revb board. I applied the following patches for this test: mx6: add OTP bank1 registers thermal: imx_thermal: use CPU temperature grade for trip points imx: mx6: add display of CPU temperature grade in print_cpuinfo() imx: mx6: add get_cpu_temp_grade to obtain cpu temperature grade from OTP mx: mx6: display max cpu frequency in print_cpuinfo() imx: mx6: add get_cpu_speed_grade_hz func to return MHz speed grade from OTP The log info: " U-Boot 2015.07-rc1-00256-gec154cc (May 18 2015 - 09:00:57) CPU: Freescale i.MX6SX rev1.2 996 MHz (running at 792 MHz) CPU: at 39C Reset cause: POR Board: MX6SX SABRE SDB I2C: ready DRAM: 1 GiB PMIC: PFUZE100 ID=0x11 MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2 In: serial Out: serial Err: serial Net: FEC [PRIME] Hit any key to stop autoboot: 0 " >Thanks, > >Fabio Estevam Regards, Peng. --