dt-bindings: mips: lantiq: Document lantiq dcdc binding
Subsystems (2)
PATCH v3 1/1 dt-bindings: mips: lantiq: Document lantiq dcdc binding
Lantiq DCDC is a voltage converter with a voltage sensor. The converter is inside the SoC. This driver only reads the voltage and prints it at startup. The voltage supplied by this converter powers one of the power domains. It powers the CPU core and probably other peripherals as well. The voltage is programmed by the bootloader and Linux never touches it.
---
v3:
- extended commit description
v2:
- added missing commit description
--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +38 -0
@@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/lantiq/lantiq,dcdc-xrx200.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq DCDC (DC-DC converter with voltage sensor) + +maintainers: + - Aleksander Jan Bajkowski <[email protected]> + +description: + Lantiq DCDC is a voltage converter with a voltage sensor. The converter is + inside the xRX200 SoC. This driver only reads the voltage and prints it at + startup. The voltage supplied by this converter powers one of the power + domains. It powers the CPU core and probably other peripherals as well. + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200 + + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + dcdc@106a00 { + compatible = "lantiq,dcdc-xrx200"; + reg = <0x106a00 0x200>; + };
Signature · 1 line
2.47.2
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml
Quoted 22 lines · Aleksander Jan Bajkowski
Lantiq DCDC is a voltage converter with a voltage sensor. The converter is inside the SoC. This driver only reads the voltage and prints it at startup. The voltage supplied by this converter powers one of the power domains. It powers the CPU core and probably other peripherals as well. The voltage is programmed by the bootloader and Linux never touches it.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>---
v3:
- extended commit description
v2:
- added missing commit description--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yamlDocumentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +0
-0
Still in a weird directory, why isn't this under regulators?
Quoted 13 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +12
-0@@ -0,0 +1,38 @@ +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/mips/lantiq/lantiq,dcdc-xrx200.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Lantiq DCDC (DC-DC converter with voltage sensor) + +maintainers: + - Aleksander Jan Bajkowski <[email protected]> + +description:
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml line 22
Quoted 10 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +10
-0+ Lantiq DCDC is a voltage converter with a voltage sensor. The converter is + inside the xRX200 SoC. This driver only reads the voltage and prints it at + startup. The voltage supplied by this converter powers one of the power + domains. It powers the CPU core and probably other peripherals as well. + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200
An items list containing one element doesn't do anything, just get rid of it and use enum directly.
Quoted 19 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +16
-0+ + reg: + maxItems: 1 + +required: + - compatible + - reg + +additionalProperties: false + +examples: + - | + dcdc@106a00 { + compatible = "lantiq,dcdc-xrx200"; + reg = <0x106a00 0x200>; + };Signature · 1 line
2.47.2