Re: [PATCH v6 3/7] dt: qcom: 8996: thermal: Move to DT initialisation

2018-07-11 Thread Amit Kucheria
On Thu, Jul 12, 2018 at 12:09 AM Doug Anderson wrote: > > Hi, > > On Mon, Jul 9, 2018 at 4:43 AM, Amit Kucheria > wrote: > > We also split up the regmap address space into two, one for the TM > > registers, the other for the SROT registers. This was required to deal with > > different address of

Re: [PATCH v6 3/7] dt: qcom: 8996: thermal: Move to DT initialisation

2018-07-11 Thread Doug Anderson
Hi, On Mon, Jul 9, 2018 at 4:43 AM, Amit Kucheria wrote: > We also split up the regmap address space into two, one for the TM > registers, the other for the SROT registers. This was required to deal with > different address offsets for the TM and SROT registers across different > SoC families. T

Re: [PATCH v6 3/7] dt: qcom: 8996: thermal: Move to DT initialisation

2018-07-11 Thread Bjorn Andersson
On Mon 09 Jul 04:43 PDT 2018, Amit Kucheria wrote: > We also split up the regmap address space into two, one for the TM > registers, the other for the SROT registers. This was required to deal with > different address offsets for the TM and SROT registers across different > SoC families. > > Sinc

[PATCH v6 3/7] dt: qcom: 8996: thermal: Move to DT initialisation

2018-07-09 Thread Amit Kucheria
We also split up the regmap address space into two, one for the TM registers, the other for the SROT registers. This was required to deal with different address offsets for the TM and SROT registers across different SoC families. Since tsens-common.c/init_common() currently only registers one addr