Documentation: dt: add common bindings for hwspinlock
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 <988782c95b9025801edfc9a5b1fd5a8e93699e07@kernel.org>
Signed-off-by: Suman Anna <68636d6b0a4dfe1213ee9d7712e75a8cc339119f@ti.com>
Reviewed-by: Bjorn Andersson <6e6fda072d932515099508d6d220572c68e9add5@sonymobile.com>
Acked-by: Mark Rutland <1db9dd262beaa64f35756dd39531d9747b7778bb@arm.com>
Signed-off-by: Ohad Ben-Cohen <f42ebdd520afb7505b40286b1d13fbb7281e5b96@wizery.com>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs