Documentation: dt: add common bindings for hwspinlock
authorSuman Anna <s-anna@ti.com>
Thu, 5 Mar 2015 02:01:13 +0000 (20:01 -0600)
committerOhad Ben-Cohen <ohad@wizery.com>
Sat, 2 May 2015 06:25:14 +0000 (09:25 +0300)
commit0ce8cf2f31d661a27b7656e791acacb86eb58739
treef6303e775bb19544c98460b593ffb3d50e6140f6
parentb787f68c36d49bb1d9236f403813641efa74a031
Documentation: dt: add common bindings for hwspinlock

This patch adds the generic common bindings used to represent
a hwlock device and use/request locks in a device-tree build.

Each hwspinlock provider should have the '#hwlock-cells' property,
which represents the number of cells to be used for representing
a specific hwspinlock. Client users shall use the property
'hwlocks' for requesting specific lock(s).

Note that the document is named hwlock.txt deliberately to keep
it a bit more generic.

Cc: Rob Herring <robh+dt@kernel.org>
Signed-off-by: Suman Anna <s-anna@ti.com>
Reviewed-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>
Documentation/devicetree/bindings/hwlock/hwlock.txt [new file with mode: 0644]