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


Groups > linux.kernel > #1689355 > unrolled thread

Re: [PATCH v2 1/5] thermal: imx: Add nvmem-cells alternate binding for OCOTP access

Started byRob Herring <robh@kernel.org>
First post2017-07-17 21:00 +0200
Last post2017-07-17 21:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 1/5] thermal: imx: Add nvmem-cells alternate binding  for OCOTP access Rob Herring <robh@kernel.org> - 2017-07-17 21:00 +0200

#1689355 — Re: [PATCH v2 1/5] thermal: imx: Add nvmem-cells alternate binding for OCOTP access

FromRob Herring <robh@kernel.org>
Date2017-07-17 21:00 +0200
SubjectRe: [PATCH v2 1/5] thermal: imx: Add nvmem-cells alternate binding for OCOTP access
Message-ID<u4jpp-hn-37@gated-at.bofh.it>
On Fri, Jul 14, 2017 at 05:11:06PM +0300, Leonard Crestez wrote:
> On newer imx SOCs accessing OCOTP directly is wrong because the ocotp
> clock needs to be enabled first. Add a binding for accessing the same
> values through the imx-ocotp nvmem driver using nvmem-cells. This is
> similar to other thermal drivers.
> 
> The old binding is preserved for compatibility and because it still
> works fine on imx6qdl series chips.
> 
> In theory this problem could be solved by adding a reference to the
> OCOTP clock instead but it is better to hide such details in a specific
> nvmem driver.
> 
> Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
> ---
>  Documentation/devicetree/bindings/thermal/imx-thermal.txt | 7 +++++++
>  1 file changed, 7 insertions(+)

Acked-by: Rob Herring <robh@kernel.org>

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web