Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1663574

Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon

From Fabio Estevam <festevam@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon
Date 2017-06-12 16:40 +0200
Message-ID <tRyFB-3h6-39@gated-at.bofh.it> (permalink)
References (5 earlier) <tRv4Z-10f-9@gated-at.bofh.it> <tRv4Z-10f-7@gated-at.bofh.it> <tRxzP-2DJ-7@gated-at.bofh.it> <tRxzP-2DJ-5@gated-at.bofh.it> <tRyvU-3dT-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jun 12, 2017 at 10:37 AM, Lothar Waßmann <LW@karo-electronics.de> wrote:
> Hi,
>
> On Mon, 12 Jun 2017 10:22:45 -0300 Fabio Estevam wrote:
>> On Mon, Jun 12, 2017 at 8:47 AM, Leonard Crestez
>> <leonard.crestez@nxp.com> wrote:
>>
>> > However it seems that this might be accidental, it just happens that
>> > the OCOTP clock starts as enabled and is only disabled later in the
>>
>> Most likely because U-Boot enabled the OCOTP clock as it reads the
>> speed grading fuse.
>>
> No, the imx6q_opp_check_speed_grading() runs on an i.MX6Q which, as
> mentioned in my other mail <20170612124029.1643469d@karo-electronics.de>,
> does not require any clock to be enabled for accessing the OCOTP regs.

[Sorry I removed the list in my previous response by mistake]

What I was trying to say is that the OCOTP clock is enabled by U-Boot
on mx6ul evk board.

Please check:
http://git.denx.de/?p=u-boot.git;a=blob;f=board/freescale/mx6ul_14x14_evk/mx6ul_14x14_evk.c;h=a5746fe08688d5752bf1d69cff465a355404d6da;hb=HEAD#l833

This would explain why Leonard did not see the kernel hang on his test.

So I agree with you that the thermal driver needs the IMX6UL_CLK_OCOTP too.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon Fabio Estevam <festevam@gmail.com> - 2017-06-08 18:50 +0200
  Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon Fabio Estevam <festevam@gmail.com> - 2017-06-09 14:20 +0200
  Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon Lothar Waßmann <LW@KARO-electronics.de> - 2017-06-09 16:00 +0200
    Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon Lothar Waßmann <LW@KARO-electronics.de> - 2017-06-12 12:50 +0200
      Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon Fabio Estevam <festevam@gmail.com> - 2017-06-12 15:30 +0200
        Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon Lothar Waßmann <LW@KARO-electronics.de> - 2017-06-12 16:30 +0200
          Re: [PATCH 2/2] ARM: dts: imx6ul: Add imx6ul-tempmon Fabio Estevam <festevam@gmail.com> - 2017-06-12 16:40 +0200

csiph-web