Message ID | 20220819083209.50844-14-krzysztof.kozlowski@linaro.org |
---|---|
State | Accepted |
Commit | 0da6033872256e0f25f92a6b5cc311efee529966 |
Headers | show |
Series | arm64: dts: qcom: improvements to TCSR mutex in DTS | expand |
On 19.08.2022 10:32, Krzysztof Kozlowski wrote: > The TCSR halt regs are next to TCSR mutex (in one address block called > TCSR_MUTEX), so before converting the TCSR mutex into device with > address space, we need to split the halt regs to its own syscon device. > > Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> > > --- Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org> Konrad > > Changes since v2: > 1. New patch > --- > arch/arm64/boot/dts/qcom/sdm630.dtsi | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi > index 1bc9091cad2a..a4f73be3d60a 100644 > --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi > @@ -699,7 +699,12 @@ tsens: thermal-sensor@10ae000 { > > tcsr_mutex_regs: syscon@1f40000 { > compatible = "syscon"; > - reg = <0x01f40000 0x40000>; > + reg = <0x01f40000 0x20000>; > + }; > + > + tcsr_regs_1: sycon@1f60000 { > + compatible = "qcom,sdm630-tcsr", "syscon"; > + reg = <0x01f60000 0x20000>; > }; > > tlmm: pinctrl@3100000 {
diff --git a/arch/arm64/boot/dts/qcom/sdm630.dtsi b/arch/arm64/boot/dts/qcom/sdm630.dtsi index 1bc9091cad2a..a4f73be3d60a 100644 --- a/arch/arm64/boot/dts/qcom/sdm630.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm630.dtsi @@ -699,7 +699,12 @@ tsens: thermal-sensor@10ae000 { tcsr_mutex_regs: syscon@1f40000 { compatible = "syscon"; - reg = <0x01f40000 0x40000>; + reg = <0x01f40000 0x20000>; + }; + + tcsr_regs_1: sycon@1f60000 { + compatible = "qcom,sdm630-tcsr", "syscon"; + reg = <0x01f60000 0x20000>; }; tlmm: pinctrl@3100000 {
The TCSR halt regs are next to TCSR mutex (in one address block called TCSR_MUTEX), so before converting the TCSR mutex into device with address space, we need to split the halt regs to its own syscon device. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> --- Changes since v2: 1. New patch --- arch/arm64/boot/dts/qcom/sdm630.dtsi | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)