Skip to content

Commit 5a13504

Browse files
committed
arm64: dts: qcom: shikra: Add TCSR mutex hwlock support
Describe the TCSR mutex hwlock controller and reference it from the SMEM node to enable proper hardware locking on Shikra. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
1 parent f4ba244 commit 5a13504

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/shikra.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@
232232
compatible = "qcom,smem";
233233
reg = <0x0 0x86000000 0x0 0x200000>;
234234
no-map;
235+
236+
hwlocks = <&tcsr_mutex 3>;
235237
};
236238

237239
audio_heap_mem: audio-heap@86200000 {
@@ -319,6 +321,12 @@
319321
dma-ranges = <0x0 0x0 0x0 0x0 0x10 0x0>;
320322
ranges = <0x0 0x0 0x0 0x0 0x10 0x0>;
321323

324+
tcsr_mutex: syscon@340000 {
325+
compatible = "qcom,tcsr-mutex";
326+
reg = <0x0 0x00340000 0x0 0x20000>;
327+
#hwlock-cells = <1>;
328+
};
329+
322330
tlmm: pinctrl@500000 {
323331
compatible = "qcom,shikra-tlmm";
324332
reg = <0x0 0x00500000 0x0 0x800000>;

0 commit comments

Comments
 (0)