Skip to contentSkip to conversation

dt-bindings: fsl: convert fsl,layerscape-dcfg to YAML

PATCH Applied Michael Walle 3 participants 3 messages Apr 25, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 dt-bindings: fsl: convert fsl,layerscape-dcfg to YAML

Convert the fsl,layerscape-dcfg binding to the new YAML format.

In the device trees, the device node always have a "syscon" compatible, which wasn't mentioned in the previous binding.

One thing added here, compared to the original binding is the clock controller subnode of the LS1028A SoC and its "simple-mfd" compatible as used in arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi as well as the little-endian and big-endian properties.

---
changes since v1:
- moved to soc/fsl/fsl,layerscape-dcfg.yaml
- generic name for node in example
- mention added "syscon" compatible in commit message
- reference specific clock controller

 .../arm/freescale/fsl,layerscape-dcfg.txt     | 19 ------
 .../bindings/soc/fsl/fsl,layerscape-dcfg.yaml | 68 +++++++++++++++++++
 2 files changed, 68 insertions(+), 19 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,layerscape-dcfg.txt
 create mode 100644 Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml
Documentation/devicetree/bindings/arm/freescale/fsl,layerscape-dcfg.txt deleted +0 -19
deleted file mode 100644
index 10a91cc8b997..000000000000
@@ -1,19 +0,0 @@
-Freescale DCFG
-
-DCFG is the device configuration unit, that provides general purpose
-configuration and status for the device. Such as setting the secondary
-core start address and release the secondary core from holdoff and startup.
-
-Required properties:
-  - compatible: Should contain a chip-specific compatible string,
-	Chip-specific strings are of the form "fsl,<chip>-dcfg",
-	The following <chip>s are known to be supported:
-	ls1012a, ls1021a, ls1043a, ls1046a, ls2080a, lx2160a
-
-  - reg : should contain base address and length of DCFG memory-mapped registers
-
-Example:
-	dcfg: dcfg@1ee0000 {
-		compatible = "fsl,ls1021a-dcfg";
-		reg = <0x0 0x1ee0000 0x0 0x10000>;
-	};
Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml new file +68 -0

68 lines not on this page · raw message

Signature · 1 line
2.30.2
Reviewed-by on v2 1/1
#1 lore raw
Quoted 11 lines · Michael Walle

Convert the fsl,layerscape-dcfg binding to the new YAML format.

In the device trees, the device node always have a "syscon" compatible, which wasn't mentioned in the previous binding.

One thing added here, compared to the original binding is the clock controller subnode of the LS1028A SoC and its "simple-mfd" compatible as used in arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi as well as the little-endian and big-endian properties.

Best regards,
Krzysztof

maintainer Applied
#2 lore raw
In reply to Michael Walle
Quoted 18 lines · Michael Walle

Convert the fsl,layerscape-dcfg binding to the new YAML format.

In the device trees, the device node always have a "syscon" compatible, which wasn't mentioned in the previous binding.

One thing added here, compared to the original binding is the clock controller subnode of the LS1028A SoC and its "simple-mfd" compatible as used in arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi as well as the little-endian and big-endian properties.

---
changes since v1:
- moved to soc/fsl/fsl,layerscape-dcfg.yaml
- generic name for node in example
- mention added "syscon" compatible in commit message
- reference specific clock controller

Quoted 6 lines
 .../arm/freescale/fsl,layerscape-dcfg.txt     | 19 ------
 .../bindings/soc/fsl/fsl,layerscape-dcfg.yaml | 68 +++++++++++++++++++
 2 files changed, 68 insertions(+), 19 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/arm/freescale/fsl,layerscape-dcfg.txt
 create mode 100644 Documentation/devicetree/bindings/soc/fsl/fsl,layerscape-dcfg.yaml

Applied, thanks!