Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: soc: sprd: sc9863a-glbregs: Document SC9863A syscon

Document sprd,sc9863a-glbregs compatible already used in DTS and other
bindings example.

Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Reviewed-by: Baolin Wang <baolin.wang@linux.alibaba.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240626-dt-bindings-mfd-syscon-split-v3-2-3409903bb99b@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Lee Jones
cf87496b 7661e680

+55
+55
Documentation/devicetree/bindings/soc/sprd/sprd,sc9863a-glbregs.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/soc/sprd/sprd,sc9863a-glbregs.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: SC9863A Syscon 8 + 9 + maintainers: 10 + - Orson Zhai <orsonzhai@gmail.com> 11 + - Baolin Wang <baolin.wang7@gmail.com> 12 + - Chunyan Zhang <zhang.lyra@gmail.com> 13 + 14 + properties: 15 + compatible: 16 + items: 17 + - const: sprd,sc9863a-glbregs 18 + - const: syscon 19 + - const: simple-mfd 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + ranges: true 25 + 26 + "#address-cells": 27 + const: 1 28 + 29 + "#size-cells": 30 + const: 1 31 + 32 + patternProperties: 33 + "@[0-9a-f]+$": 34 + $ref: /schemas/clock/sprd,sc9863a-clk.yaml 35 + description: Clock controllers 36 + 37 + additionalProperties: false 38 + 39 + examples: 40 + - | 41 + syscon@20e00000 { 42 + compatible = "sprd,sc9863a-glbregs", "syscon", "simple-mfd"; 43 + reg = <0x20e00000 0x4000>; 44 + ranges = <0 0x20e00000 0x4000>; 45 + #address-cells = <1>; 46 + #size-cells = <1>; 47 + 48 + apahb_gate: apahb-gate@0 { 49 + compatible = "sprd,sc9863a-apahb-gate"; 50 + reg = <0x0 0x1020>; 51 + #clock-cells = <1>; 52 + }; 53 + }; 54 + 55 + ...