diff options
author | Pawel Czarnecki <pczarnecki@internships.antmicro.com> | 2020-10-13 16:45:40 +0200 |
---|---|---|
committer | Stafford Horne <shorne@gmail.com> | 2020-11-09 21:07:00 +0900 |
commit | 3399bac5efd62e031e62b042d25ed4984db8b8bf (patch) | |
tree | 3d935f43d21994ea699893264d6eb8a1b5cb3f6d | |
parent | 4bf9cf0b92dfc1039ccdfac218866ec44127d72a (diff) |
dt-bindings: soc: document LiteX SoC Controller bindings
Add documentation for LiteX SoC Controller bindings.
Signed-off-by: Pawel Czarnecki <pczarnecki@internships.antmicro.com>
Signed-off-by: Mateusz Holenko <mholenko@antmicro.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Stafford Horne <shorne@gmail.com>
-rw-r--r-- | Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml | 39 | ||||
-rw-r--r-- | MAINTAINERS | 6 |
2 files changed, 45 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml new file mode 100644 index 000000000000..e2b788796e79 --- /dev/null +++ b/Documentation/devicetree/bindings/soc/litex/litex,soc-controller.yaml @@ -0,0 +1,39 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +# Copyright 2020 Antmicro <www.antmicro.com> +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/soc/litex/litex,soc-controller.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: LiteX SoC Controller driver + +description: | + This is the SoC Controller driver for the LiteX SoC Builder. + Its purpose is to verify LiteX CSR (Control&Status Register) access + operations and provide functions for other drivers to read/write CSRs + and to check if those accessors are ready to be used. + +maintainers: + - Karol Gugala <kgugala@antmicro.com> + - Mateusz Holenko <mholenko@antmicro.com> + +properties: + compatible: + const: litex,soc-controller + + reg: + maxItems: 1 + +required: + - compatible + - reg + +examples: + - | + soc_ctrl0: soc-controller@f0000000 { + compatible = "litex,soc-controller"; + reg = <0xf0000000 0xc>; + status = "okay"; + }; + +... diff --git a/MAINTAINERS b/MAINTAINERS index b516bb34a8d5..049af639fdfc 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -10172,6 +10172,12 @@ L: kunit-dev@googlegroups.com S: Maintained F: lib/list-test.c +LITEX PLATFORM +M: Karol Gugala <kgugala@antmicro.com> +M: Mateusz Holenko <mholenko@antmicro.com> +S: Maintained +F: Documentation/devicetree/bindings/*/litex,*.yaml + LIVE PATCHING M: Josh Poimboeuf <jpoimboe@redhat.com> M: Jiri Kosina <jikos@kernel.org> |