From: Daniel Palmer Date: Tue, 28 Jul 2020 10:03:14 +0000 (+0900) Subject: dt-bindings: arm: mstar: Move existing MStar binding descriptions X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9e30b098f25f525af048e685ccb79fc958cfd200;p=linux.git dt-bindings: arm: mstar: Move existing MStar binding descriptions Now there is an mstar directory move the existing MStar specific descriptions into that directory. Signed-off-by: Daniel Palmer Signed-off-by: Arnd Bergmann --- diff --git a/Documentation/devicetree/bindings/arm/mstar.yaml b/Documentation/devicetree/bindings/arm/mstar.yaml deleted file mode 100644 index bdce34b3336ec..0000000000000 --- a/Documentation/devicetree/bindings/arm/mstar.yaml +++ /dev/null @@ -1,33 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/arm/mstar.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: MStar platforms device tree bindings - -maintainers: - - Daniel Palmer - -properties: - $nodename: - const: '/' - compatible: - oneOf: - - description: infinity boards - items: - - enum: - - thingyjp,breadbee-crust # thingy.jp BreadBee Crust - - const: mstar,infinity - - - description: infinity3 boards - items: - - enum: - - thingyjp,breadbee # thingy.jp BreadBee - - const: mstar,infinity3 - - - description: mercury5 boards - items: - - enum: - - 70mai,midrived08 # 70mai midrive d08 - - const: mstar,mercury5 diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar,l3bridge.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar,l3bridge.yaml new file mode 100644 index 0000000000000..6816bd68f9cf1 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mstar/mstar,l3bridge.yaml @@ -0,0 +1,44 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +# Copyright 2020 thingy.jp. +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/arm/mstar/mstar,l3bridge.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: MStar/SigmaStar Armv7 SoC l3bridge + +maintainers: + - Daniel Palmer + +description: | + MStar/SigmaStar's Armv7 SoCs have a pipeline in the interface + between the CPU and memory. This means that before DMA capable + devices are allowed to run the pipeline must be flushed to ensure + everything is in memory. + + The l3bridge region contains registers that allow such a flush + to be triggered. + + This node is used by the platform code to find where the registers + are and install a barrier that triggers the required pipeline flush. + +properties: + compatible: + items: + - const: mstar,l3bridge + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + l3bridge: l3bridge@1f204400 { + compatible = "mstar,l3bridge"; + reg = <0x1f204400 0x200>; + }; diff --git a/Documentation/devicetree/bindings/arm/mstar/mstar.yaml b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml new file mode 100644 index 0000000000000..c2f980b00b067 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/mstar/mstar.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/mstar/mstar.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: MStar platforms device tree bindings + +maintainers: + - Daniel Palmer + +properties: + $nodename: + const: '/' + compatible: + oneOf: + - description: infinity boards + items: + - enum: + - thingyjp,breadbee-crust # thingy.jp BreadBee Crust + - const: mstar,infinity + + - description: infinity3 boards + items: + - enum: + - thingyjp,breadbee # thingy.jp BreadBee + - const: mstar,infinity3 + + - description: mercury5 boards + items: + - enum: + - 70mai,midrived08 # 70mai midrive d08 + - const: mstar,mercury5 diff --git a/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml b/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml deleted file mode 100644 index cb7fd1cdfb1a8..0000000000000 --- a/Documentation/devicetree/bindings/misc/mstar,l3bridge.yaml +++ /dev/null @@ -1,44 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) -# Copyright 2020 thingy.jp. -%YAML 1.2 ---- -$id: "http://devicetree.org/schemas/misc/mstar,l3bridge.yaml#" -$schema: "http://devicetree.org/meta-schemas/core.yaml#" - -title: MStar/SigmaStar Armv7 SoC l3bridge - -maintainers: - - Daniel Palmer - -description: | - MStar/SigmaStar's Armv7 SoCs have a pipeline in the interface - between the CPU and memory. This means that before DMA capable - devices are allowed to run the pipeline must be flushed to ensure - everything is in memory. - - The l3bridge region contains registers that allow such a flush - to be triggered. - - This node is used by the platform code to find where the registers - are and install a barrier that triggers the required pipeline flush. - -properties: - compatible: - items: - - const: mstar,l3bridge - - reg: - maxItems: 1 - -required: - - compatible - - reg - -additionalProperties: false - -examples: - - | - l3bridge: l3bridge@1f204400 { - compatible = "mstar,l3bridge"; - reg = <0x1f204400 0x200>; - }; diff --git a/MAINTAINERS b/MAINTAINERS index 2de475e12d4f7..f8e2683d8bff7 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2139,7 +2139,6 @@ M: Daniel Palmer L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers) S: Maintained W: http://linux-chenxing.org/ -F: Documentation/devicetree/bindings/arm/mstar.yaml F: Documentation/devicetree/bindings/arm/mstar/* F: arch/arm/boot/dts/infinity*.dtsi F: arch/arm/boot/dts/mercury*.dtsi