mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-26 13:49:37 +07:00
arm64: dts: msm8998: thermal: split address space into two
We've earlier added support to split the register address space into TM and SROT regions. Split up the regmap address space into two for msm8998 that has a similar register layout. The order is important (TM before SROT) because we make an assumption that SROT is always the second address space in order to support legacy DTs. Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org> Signed-off-by: Andy Gross <agross@kernel.org>
This commit is contained in:
parent
9e98c678c2
commit
503250482c
@ -590,17 +590,19 @@ spmi_bus: spmi@800f000 {
|
||||
cell-index = <0>;
|
||||
};
|
||||
|
||||
tsens0: thermal@10aa000 {
|
||||
tsens0: thermal@10ab000 {
|
||||
compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
|
||||
reg = <0x10aa000 0x2000>;
|
||||
reg = <0x10ab000 0x1000>, /* TM */
|
||||
<0x10aa000 0x1000>; /* SROT */
|
||||
|
||||
#qcom,sensors = <12>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
};
|
||||
|
||||
tsens1: thermal@10ad000 {
|
||||
tsens1: thermal@10ae000 {
|
||||
compatible = "qcom,msm8998-tsens", "qcom,tsens-v2";
|
||||
reg = <0x10ad000 0x2000>;
|
||||
reg = <0x10ae000 0x1000>, /* TM */
|
||||
<0x10ad000 0x1000>; /* SROT */
|
||||
|
||||
#qcom,sensors = <8>;
|
||||
#thermal-sensor-cells = <1>;
|
||||
|
Loading…
Reference in New Issue
Block a user