dt-bindings: mips: lantiq: Document lantiq dcdc binding
Subsystems (2)
PATCH v2 1/1 dt-bindings: mips: lantiq: Document lantiq dcdc binding
Lantiq DCDC is a voltage converter with a voltage sensor.
--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +32 -0
@@ -0,0 +1,32 @@ +# 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]> + +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
Quoted 20 lines · Aleksander Jan Bajkowski
Lantiq DCDC is a voltage converter with a voltage sensor.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yamlDocumentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +6
-0@@ -0,0 +1,32 @@ +# 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# +
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml line 16
Quoted 10 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +10
-0+title: Lantiq DCDC (DC-DC converter with voltage sensor) + +maintainers: + - Aleksander Jan Bajkowski <[email protected]> + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200
What is "xrx2000" in this context?
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
Hi Conor,
Quoted 24 lines · Conor Dooley
Quoted 23 lines · Aleksander Jan Bajkowski
Lantiq DCDC is a voltage converter with a voltage sensor.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+)create mode 100644
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yamlDocumentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +9
-0@@ -0,0 +1,32 @@ +# 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:
Quoted 8 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml line 16
Quoted 7 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +7
-0+ - Aleksander Jan Bajkowski <[email protected]> + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200What is "xrx2000" in this context?
“xrx200” is one of the generations of Lantiq SoCs. It includes four part numbers with the same memory map. The other generations are amazon-se, danube, ARX100, GRX100, xRX200, xRX300, xRX330. These correspond to the internal code names: ase, danube, ar9, gr9, vr9, ar10, grx390.
Best regards,
Aleksander
Quoted 37 lines · Aleksander Jan Bajkowski
Hi Conor,
Quoted 24 lines · Conor Dooley
Quoted 23 lines · Aleksander Jan Bajkowski
Lantiq DCDC is a voltage converter with a voltage sensor.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+)create mode 100644
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yamlDocumentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +9
-0@@ -0,0 +1,32 @@ +# 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:Quoted 8 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml line 16
Quoted 7 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +7
-0+ - Aleksander Jan Bajkowski <[email protected]> + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200What is "xrx2000" in this context?
Quoted 7 lines
“xrx200” is one of the generations of Lantiq SoCs. It includes four part numbers
with the same memory map. The other generations are amazon-se, danube, ARX100,
GRX100, xRX200, xRX300, xRX330. These correspond to the internal code names:
ase,
danube, ar9, gr9, vr9, ar10, grx390.
And the dc-dc converter is part of the SoC?
Either way, you've got this file in the wrong location probably, dc-dc converters are usually under the regulator directory.
Quoted 46 lines · Conor Dooley
Quoted 37 lines · Aleksander Jan Bajkowski
Hi Conor,
Quoted 24 lines · Conor Dooley
Quoted 23 lines · Aleksander Jan Bajkowski
Lantiq DCDC is a voltage converter with a voltage sensor.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+)create mode 100644
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yamlDocumentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +9
-0@@ -0,0 +1,32 @@ +# 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:Quoted 8 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml line 16
Quoted 7 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +7
-0+ - Aleksander Jan Bajkowski <[email protected]> + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200What is "xrx2000" in this context?
Quoted 7 lines
“xrx200” is one of the generations of Lantiq SoCs. It includes four part numbers
with the same memory map. The other generations are amazon-se, danube, ARX100,
GRX100, xRX200, xRX300, xRX330. These correspond to the internal code names:
ase,
danube, ar9, gr9, vr9, ar10, grx390.
Quoted 1 line
And the dc-dc converter is part of the SoC?
(whether it is or not, you'd be well served by having a more complete explanation either in your commit message, the description field of the binding or both)
Quoted 2 lines
Either way, you've got this file in the wrong location probably, dc-dc converters are usually under the regulator directory.
Quoted 44 lines · Conor Dooley
Quoted 36 lines · Aleksander Jan Bajkowski
Hi Conor,
Quoted 24 lines · Conor Dooley
Quoted 23 lines · Aleksander Jan Bajkowski
Lantiq DCDC is a voltage converter with a voltage sensor.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+)create mode 100644
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yamlDocumentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +9
-0@@ -0,0 +1,32 @@ +# 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:Quoted 8 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml line 16
Quoted 7 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +7
-0+ - Aleksander Jan Bajkowski <[email protected]> + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200What is "xrx2000" in this context?
Quoted 7 lines
“xrx200” is one of the generations of Lantiq SoCs. It includes four part numbers
with the same memory map. The other generations are amazon-se, danube, ARX100,
GRX100, xRX200, xRX300, xRX330. These correspond to the internal code names:
ase,
danube, ar9, gr9, vr9, ar10, grx390.
Quoted 3 lines
And the dc-dc converter is part of the SoC?
Either way, you've got this file in the wrong location probably, dc-dc converters are usually under the regulator directory.
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.
Quoted 51 lines · Aleksander Jan Bajkowski
Quoted 44 lines · Conor Dooley
Quoted 36 lines · Aleksander Jan Bajkowski
Hi Conor,
Quoted 24 lines · Conor Dooley
Quoted 23 lines · Aleksander Jan Bajkowski
Lantiq DCDC is a voltage converter with a voltage sensor.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- .../mips/lantiq/lantiq,dcdc-xrx200.yaml | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+)create mode 100644
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yamlDocumentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +9
-0@@ -0,0 +1,32 @@ +# 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:Quoted 8 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml line 16
Quoted 7 lines
Documentation/devicetree/bindings/mips/lantiq/lantiq,dcdc-xrx200.yaml new file +7
-0+ - Aleksander Jan Bajkowski <[email protected]> + +properties: + compatible: + items: + - enum: + - lantiq,dcdc-xrx200What is "xrx2000" in this context?
Quoted 7 lines
“xrx200” is one of the generations of Lantiq SoCs. It includes four part numbers
with the same memory map. The other generations are amazon-se, danube, ARX100,
GRX100, xRX200, xRX300, xRX330. These correspond to the internal code names:
ase,
danube, ar9, gr9, vr9, ar10, grx390.Quoted 3 lines
And the dc-dc converter is part of the SoC?
Either way, you've got this file in the wrong location probably, dc-dc converters are usually under the regulator directory.
Quoted 5 lines
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.
Okay cool, compatible is fine then :) The location change and more information (like what you've given here) in the description are still needed though unfortunately for you.