Re: [PATCH v2 2/5] dt: qcom: 8996: thermal: Move to DT initialisation

2018-06-13 Thread Amit Kucheria
On Tue, Jun 12, 2018 at 10:35 PM, Bjorn Andersson wrote: > On Tue 12 Jun 03:54 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

Re: [PATCH v2 2/5] dt: qcom: 8996: thermal: Move to DT initialisation

2018-06-12 Thread Bjorn Andersson
On Tue 12 Jun 03:54 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 v2 2/5] dt: qcom: 8996: thermal: Move to DT initialisation

2018-06-12 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