Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On Thu, 2017-08-31 at 21:11 +0800, Zhang Rui wrote: > On Thu, 2017-08-31 at 16:48 +0800, Shawn Guo wrote: > > > > On Fri, Jul 14, 2017 at 05:11:05PM +0300, Leonard Crestez wrote: > > > > > > > > > Leonard Crestez (5): > > > thermal: imx: Add nvmem-cells alternate binding for OCOTP > > > access > > > nvmem: core: Add nvmem_cell_read_u32 > > > thermal: imx: Add support for reading OCOTP through nvmem > > > ARM: dts: imx6sx: Use nvmem-cells for tempmon > > > ARM: dts: imx6ul: Add imx6ul-tempmon > > For last two dts patches, > > > > Acked-by: Shawn Guo> thanks. > I will push patch 1,3,4,5 after patch 2/5 merged. > sorry that this patch set didn't catch this merge window. I've rebased it on top of 4.14-rc1 and queued for 4.15. thanks, rui
Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On Thu, 2017-08-31 at 21:11 +0800, Zhang Rui wrote: > On Thu, 2017-08-31 at 16:48 +0800, Shawn Guo wrote: > > > > On Fri, Jul 14, 2017 at 05:11:05PM +0300, Leonard Crestez wrote: > > > > > > > > > Leonard Crestez (5): > > > thermal: imx: Add nvmem-cells alternate binding for OCOTP > > > access > > > nvmem: core: Add nvmem_cell_read_u32 > > > thermal: imx: Add support for reading OCOTP through nvmem > > > ARM: dts: imx6sx: Use nvmem-cells for tempmon > > > ARM: dts: imx6ul: Add imx6ul-tempmon > > For last two dts patches, > > > > Acked-by: Shawn Guo > thanks. > I will push patch 1,3,4,5 after patch 2/5 merged. > sorry that this patch set didn't catch this merge window. I've rebased it on top of 4.14-rc1 and queued for 4.15. thanks, rui
Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On Thu, 2017-08-31 at 16:48 +0800, Shawn Guo wrote: > On Fri, Jul 14, 2017 at 05:11:05PM +0300, Leonard Crestez wrote: > > > > Leonard Crestez (5): > > thermal: imx: Add nvmem-cells alternate binding for OCOTP access > > nvmem: core: Add nvmem_cell_read_u32 > > thermal: imx: Add support for reading OCOTP through nvmem > > ARM: dts: imx6sx: Use nvmem-cells for tempmon > > ARM: dts: imx6ul: Add imx6ul-tempmon > For last two dts patches, > > Acked-by: Shawn Guothanks. I will push patch 1,3,4,5 after patch 2/5 merged. -rui
Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On Thu, 2017-08-31 at 16:48 +0800, Shawn Guo wrote: > On Fri, Jul 14, 2017 at 05:11:05PM +0300, Leonard Crestez wrote: > > > > Leonard Crestez (5): > > thermal: imx: Add nvmem-cells alternate binding for OCOTP access > > nvmem: core: Add nvmem_cell_read_u32 > > thermal: imx: Add support for reading OCOTP through nvmem > > ARM: dts: imx6sx: Use nvmem-cells for tempmon > > ARM: dts: imx6ul: Add imx6ul-tempmon > For last two dts patches, > > Acked-by: Shawn Guo thanks. I will push patch 1,3,4,5 after patch 2/5 merged. -rui
Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On Fri, Jul 14, 2017 at 05:11:05PM +0300, Leonard Crestez wrote: > Leonard Crestez (5): > thermal: imx: Add nvmem-cells alternate binding for OCOTP access > nvmem: core: Add nvmem_cell_read_u32 > thermal: imx: Add support for reading OCOTP through nvmem > ARM: dts: imx6sx: Use nvmem-cells for tempmon > ARM: dts: imx6ul: Add imx6ul-tempmon For last two dts patches, Acked-by: Shawn Guo
Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On Fri, Jul 14, 2017 at 05:11:05PM +0300, Leonard Crestez wrote: > Leonard Crestez (5): > thermal: imx: Add nvmem-cells alternate binding for OCOTP access > nvmem: core: Add nvmem_cell_read_u32 > thermal: imx: Add support for reading OCOTP through nvmem > ARM: dts: imx6sx: Use nvmem-cells for tempmon > ARM: dts: imx6ul: Add imx6ul-tempmon For last two dts patches, Acked-by: Shawn Guo
Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
Hi, On Fri, 14 Jul 2017 17:11:05 +0300 Leonard Crestez wrote: > On imx6sx accessing OCOTP directly is wrong because the ocotp clock needs to > be > enabled first. Fix this by adding a nvmem-cells binding and using it on > imx6sx, > imx6ul and imx6ull. > > The existing binding is kept around because it works fine on imx6qdl. > > This was initially reported by Lothar Waßmannin > reply > to a patch adding imx6ul/ull support: > > Link: https://lkml.org/lkml/2017/6/9/578 > > --- > Changes since v1: > * Move nvmem_cell_read_u32 to nvmem core (Shawn Guo, Srinivas Kandagatla) > * Adjust binding description (Rob Herring) > * Adjust formatting of thermal info cells (Shawn Guo) > * Link: https://lkml.org/lkml/2017/7/6/426 > > Leonard Crestez (5): > thermal: imx: Add nvmem-cells alternate binding for OCOTP access > nvmem: core: Add nvmem_cell_read_u32 > thermal: imx: Add support for reading OCOTP through nvmem > ARM: dts: imx6sx: Use nvmem-cells for tempmon > ARM: dts: imx6ul: Add imx6ul-tempmon > > .../devicetree/bindings/thermal/imx-thermal.txt| 7 ++ > arch/arm/boot/dts/imx6sx.dtsi | 13 ++- > arch/arm/boot/dts/imx6ul.dtsi | 19 > drivers/nvmem/core.c | 37 > drivers/thermal/imx_thermal.c | 103 > +++-- > include/linux/nvmem-consumer.h | 8 ++ > 6 files changed, 156 insertions(+), 31 deletions(-) > Works as expected on TX6UL-5010. Tested-By: Lothar Waßmann Lothar Waßmann
Re: [PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
Hi, On Fri, 14 Jul 2017 17:11:05 +0300 Leonard Crestez wrote: > On imx6sx accessing OCOTP directly is wrong because the ocotp clock needs to > be > enabled first. Fix this by adding a nvmem-cells binding and using it on > imx6sx, > imx6ul and imx6ull. > > The existing binding is kept around because it works fine on imx6qdl. > > This was initially reported by Lothar Waßmann in > reply > to a patch adding imx6ul/ull support: > > Link: https://lkml.org/lkml/2017/6/9/578 > > --- > Changes since v1: > * Move nvmem_cell_read_u32 to nvmem core (Shawn Guo, Srinivas Kandagatla) > * Adjust binding description (Rob Herring) > * Adjust formatting of thermal info cells (Shawn Guo) > * Link: https://lkml.org/lkml/2017/7/6/426 > > Leonard Crestez (5): > thermal: imx: Add nvmem-cells alternate binding for OCOTP access > nvmem: core: Add nvmem_cell_read_u32 > thermal: imx: Add support for reading OCOTP through nvmem > ARM: dts: imx6sx: Use nvmem-cells for tempmon > ARM: dts: imx6ul: Add imx6ul-tempmon > > .../devicetree/bindings/thermal/imx-thermal.txt| 7 ++ > arch/arm/boot/dts/imx6sx.dtsi | 13 ++- > arch/arm/boot/dts/imx6ul.dtsi | 19 > drivers/nvmem/core.c | 37 > drivers/thermal/imx_thermal.c | 103 > +++-- > include/linux/nvmem-consumer.h | 8 ++ > 6 files changed, 156 insertions(+), 31 deletions(-) > Works as expected on TX6UL-5010. Tested-By: Lothar Waßmann Lothar Waßmann
[PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On imx6sx accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Fix this by adding a nvmem-cells binding and using it on imx6sx, imx6ul and imx6ull. The existing binding is kept around because it works fine on imx6qdl. This was initially reported by Lothar Waßmannin reply to a patch adding imx6ul/ull support: Link: https://lkml.org/lkml/2017/6/9/578 --- Changes since v1: * Move nvmem_cell_read_u32 to nvmem core (Shawn Guo, Srinivas Kandagatla) * Adjust binding description (Rob Herring) * Adjust formatting of thermal info cells (Shawn Guo) * Link: https://lkml.org/lkml/2017/7/6/426 Leonard Crestez (5): thermal: imx: Add nvmem-cells alternate binding for OCOTP access nvmem: core: Add nvmem_cell_read_u32 thermal: imx: Add support for reading OCOTP through nvmem ARM: dts: imx6sx: Use nvmem-cells for tempmon ARM: dts: imx6ul: Add imx6ul-tempmon .../devicetree/bindings/thermal/imx-thermal.txt| 7 ++ arch/arm/boot/dts/imx6sx.dtsi | 13 ++- arch/arm/boot/dts/imx6ul.dtsi | 19 drivers/nvmem/core.c | 37 drivers/thermal/imx_thermal.c | 103 +++-- include/linux/nvmem-consumer.h | 8 ++ 6 files changed, 156 insertions(+), 31 deletions(-) -- 2.7.4
[PATCH v2 0/5] thermal: imx: Add nvmem-cells binding on imx6sx
On imx6sx accessing OCOTP directly is wrong because the ocotp clock needs to be enabled first. Fix this by adding a nvmem-cells binding and using it on imx6sx, imx6ul and imx6ull. The existing binding is kept around because it works fine on imx6qdl. This was initially reported by Lothar Waßmann in reply to a patch adding imx6ul/ull support: Link: https://lkml.org/lkml/2017/6/9/578 --- Changes since v1: * Move nvmem_cell_read_u32 to nvmem core (Shawn Guo, Srinivas Kandagatla) * Adjust binding description (Rob Herring) * Adjust formatting of thermal info cells (Shawn Guo) * Link: https://lkml.org/lkml/2017/7/6/426 Leonard Crestez (5): thermal: imx: Add nvmem-cells alternate binding for OCOTP access nvmem: core: Add nvmem_cell_read_u32 thermal: imx: Add support for reading OCOTP through nvmem ARM: dts: imx6sx: Use nvmem-cells for tempmon ARM: dts: imx6ul: Add imx6ul-tempmon .../devicetree/bindings/thermal/imx-thermal.txt| 7 ++ arch/arm/boot/dts/imx6sx.dtsi | 13 ++- arch/arm/boot/dts/imx6ul.dtsi | 19 drivers/nvmem/core.c | 37 drivers/thermal/imx_thermal.c | 103 +++-- include/linux/nvmem-consumer.h | 8 ++ 6 files changed, 156 insertions(+), 31 deletions(-) -- 2.7.4