[PATCH] dt-bindings: mfd: Add Bitmain BM1880 System Controller

Rob Herring (Arm) posted 1 patch 1 month, 3 weeks ago
.../bindings/mfd/bitmain,bm1880-sctrl.yaml    | 66 +++++++++++++++++++
1 file changed, 66 insertions(+)
create mode 100644 Documentation/devicetree/bindings/mfd/bitmain,bm1880-sctrl.yaml
[PATCH] dt-bindings: mfd: Add Bitmain BM1880 System Controller
Posted by Rob Herring (Arm) 1 month, 3 weeks ago
Add the already in use Bitmain BM1880 System Controller binding. All the
child nodes already have schemas.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
---
 .../bindings/mfd/bitmain,bm1880-sctrl.yaml    | 66 +++++++++++++++++++
 1 file changed, 66 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/mfd/bitmain,bm1880-sctrl.yaml

diff --git a/Documentation/devicetree/bindings/mfd/bitmain,bm1880-sctrl.yaml b/Documentation/devicetree/bindings/mfd/bitmain,bm1880-sctrl.yaml
new file mode 100644
index 000000000000..3cdc90ba421b
--- /dev/null
+++ b/Documentation/devicetree/bindings/mfd/bitmain,bm1880-sctrl.yaml
@@ -0,0 +1,66 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/mfd/bitmain,bm1880-sctrl.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Bitmain BM1880 System Controller
+
+maintainers:
+  - Manivannan Sadhasivam <mani@kernel.org>
+
+properties:
+  compatible:
+    items:
+      - const: bitmain,bm1880-sctrl
+      - const: syscon
+      - const: simple-mfd
+
+  reg:
+    maxItems: 1
+
+  ranges: true
+
+  '#address-cells':
+    const: 1
+
+  '#size-cells':
+    const: 1
+
+patternProperties:
+  '^pinctrl@[0-9a-f]+$':
+    type: object
+    additionalProperties: true
+
+    properties:
+      compatible:
+        contains:
+          const: bitmain,bm1880-pinctrl
+
+  '^clock-controller@[0-9a-f]+$':
+    type: object
+    additionalProperties: true
+
+    properties:
+      compatible:
+        contains:
+          const: bitmain,bm1880-clk
+
+  '^reset-controller@[0-9a-f]+$':
+    type: object
+    additionalProperties: true
+
+    properties:
+      compatible:
+        contains:
+          const: bitmain,bm1880-reset
+
+required:
+  - compatible
+  - reg
+  - ranges
+  - '#address-cells'
+  - '#size-cells'
+
+additionalProperties: false
+...
-- 
2.51.0
Re: (subset) [PATCH] dt-bindings: mfd: Add Bitmain BM1880 System Controller
Posted by Lee Jones 4 weeks, 1 day ago
On Mon, 15 Dec 2025 15:26:38 -0600, Rob Herring (Arm) wrote:
> Add the already in use Bitmain BM1880 System Controller binding. All the
> child nodes already have schemas.
> 
> 

Applied, thanks!

[1/1] dt-bindings: mfd: Add Bitmain BM1880 System Controller
      commit: 6073d93368924ff5e7f6d1b848f80343c4ce27ab

--
Lee Jones [李琼斯]

Re: [PATCH] dt-bindings: mfd: Add Bitmain BM1880 System Controller
Posted by Krzysztof Kozlowski 1 month, 2 weeks ago
On Mon, Dec 15, 2025 at 03:26:38PM -0600, Rob Herring (Arm) wrote:
> Add the already in use Bitmain BM1880 System Controller binding. All the
> child nodes already have schemas.
> 
> Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
> ---
>  .../bindings/mfd/bitmain,bm1880-sctrl.yaml    | 66 +++++++++++++++++++
>  1 file changed, 66 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/mfd/bitmain,bm1880-sctrl.yaml

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>

Best regards,
Krzysztof