dt-bindings: hwlock: rockchip: add number of hwlocks property
Set number of hwlocks with the "rockchip,hwlock-num-locks" property, it indicates that the number of hwlocks provided by this device. Signed-off-by: Frank Wang <frank.wang@rock-chips.com> Change-Id: Ifc3f64fff942481ba98da095af0e1697803270d7
This commit is contained in:
@@ -10,6 +10,8 @@ Required properties :
|
||||
- #hwlock-cells : hwlock users only use the hwlock id to represent a specific
|
||||
hwlock, so the number of cells should be <1> here.
|
||||
|
||||
- rockchip,hwlock-num-locks :number of hwlocks provided by this device.
|
||||
|
||||
Optional properties :
|
||||
- rockchip,hwlock-user-id : Set hwlock user id (4 bit, default is 0x01).
|
||||
|
||||
@@ -21,6 +23,7 @@ Example of hwlock provider:
|
||||
compatible = "rockchip,hwspinlock";
|
||||
reg = <0 0xff040000 0 0x10000>;
|
||||
#hwlock-cells = <1>;
|
||||
rockchip,hwlock-num-locks = <64>;
|
||||
};
|
||||
|
||||
Example of hwlock users:
|
||||
|
||||
Reference in New Issue
Block a user