diff options
author | Maxime Ripard <maxime@cerno.tech> | 2019-11-11 14:35:00 +0100 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2019-11-14 16:32:17 -0600 |
commit | cc57d7daafc22edb53ee228f7afa5379f345f68c (patch) | |
tree | 1c699ab81c7f3ccf565f55dead4d2a690a09cc5c /Documentation/devicetree/bindings/mfd/syscon.txt | |
parent | a2f12f80d27492ccfc73b9b7761fde7360d64759 (diff) | |
download | linux-cc57d7daafc22edb53ee228f7afa5379f345f68c.tar.bz2 |
dt-bindings: Add syscon YAML description
The syscon binding is a pretty loose one, with everyone having a bunch of
vendor specific compatibles.
In order to start the effort to describe them using YAML, let's create a
binding that tolerates additional, not listed, compatibles.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/mfd/syscon.txt')
-rw-r--r-- | Documentation/devicetree/bindings/mfd/syscon.txt | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/Documentation/devicetree/bindings/mfd/syscon.txt b/Documentation/devicetree/bindings/mfd/syscon.txt deleted file mode 100644 index 25d9e9c2fd53..000000000000 --- a/Documentation/devicetree/bindings/mfd/syscon.txt +++ /dev/null @@ -1,32 +0,0 @@ -* System Controller Registers R/W driver - -System controller node represents a register region containing a set -of miscellaneous registers. The registers are not cohesive enough to -represent as any specific type of device. The typical use-case is for -some other node's driver, or platform-specific code, to acquire a -reference to the syscon node (e.g. by phandle, node path, or search -using a specific compatible value), interrogate the node (or associated -OS driver) to determine the location of the registers, and access the -registers directly. - -Required properties: -- compatible: Should contain "syscon". -- reg: the register region can be accessed from syscon - -Optional property: -- reg-io-width: the size (in bytes) of the IO accesses that should be - performed on the device. -- hwlocks: reference to a phandle of a hardware spinlock provider node. - -Examples: -gpr: iomuxc-gpr@20e0000 { - compatible = "fsl,imx6q-iomuxc-gpr", "syscon"; - reg = <0x020e0000 0x38>; - hwlocks = <&hwlock1 1>; -}; - -hwlock1: hwspinlock@40500000 { - ... - reg = <0x40500000 0x1000>; - #hwlock-cells = <1>; -}; |