Path: blob/main/sys/contrib/device-tree/Bindings/hwlock/qcom-hwspinlock.txt
48378 views
Qualcomm Hardware Mutex Block:12The hardware block provides mutexes utilized between different processors on3the SoC as part of the communication protocol used by these processors.45- compatible:6Usage: required7Value type: <string>8Definition: must be one of:9"qcom,sfpb-mutex",10"qcom,tcsr-mutex"1112- syscon:13Usage: required14Value type: <prop-encoded-array>15Definition: one cell containing:16syscon phandle17offset of the hwmutex block within the syscon18stride of the hwmutex registers1920- #hwlock-cells:21Usage: required22Value type: <u32>23Definition: must be 1, the specified cell represent the lock id24(hwlock standard property, see hwlock.txt)2526Example:2728tcsr_mutex_block: syscon@fd484000 {29compatible = "syscon";30reg = <0xfd484000 0x2000>;31};3233hwlock@fd484000 {34compatible = "qcom,tcsr-mutex";35syscon = <&tcsr_mutex_block 0 0x80>;3637#hwlock-cells = <1>;38};394041