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

dt-bindings: memory: convert TI a8xx DDR2/mDDR memory controller to dtschema

Convert Texas Instruments da8xx DDR2/mDDR memory controller bindings to
DT schema format using json-schema.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
Link: https://lore.kernel.org/r/20210818113248.85084-1-krzysztof.kozlowski@canonical.com
Signed-off-by: Rob Herring <robh@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Rob Herring
0a7eb4fe 47e397a5

+35 -20
+35
Documentation/devicetree/bindings/memory-controllers/ti,da8xx-ddrctl.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/memory-controllers/ti,da8xx-ddrctl.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Texas Instruments da8xx DDR2/mDDR memory controller 8 + 9 + maintainers: 10 + - Bartosz Golaszewski <bgolaszewski@baylibre.com> 11 + - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com> 12 + 13 + description: | 14 + Documentation: 15 + OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf 16 + 17 + properties: 18 + compatible: 19 + const: ti,da850-ddr-controller 20 + 21 + reg: 22 + maxItems: 1 23 + 24 + required: 25 + - compatible 26 + - reg 27 + 28 + additionalProperties: false 29 + 30 + examples: 31 + - | 32 + memory-controller@b0000000 { 33 + compatible = "ti,da850-ddr-controller"; 34 + reg = <0xb0000000 0xe8>; 35 + };
-20
Documentation/devicetree/bindings/memory-controllers/ti-da8xx-ddrctl.txt
··· 1 - * Device tree bindings for Texas Instruments da8xx DDR2/mDDR memory controller 2 - 3 - The DDR2/mDDR memory controller present on Texas Instruments da8xx SoCs features 4 - a set of registers which allow to tweak the controller's behavior. 5 - 6 - Documentation: 7 - OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh82c/spruh82c.pdf 8 - 9 - Required properties: 10 - 11 - - compatible: "ti,da850-ddr-controller" - for da850 SoC based boards 12 - - reg: a tuple containing the base address of the memory 13 - controller and the size of the memory area to map 14 - 15 - Example for da850 shown below. 16 - 17 - ddrctl { 18 - compatible = "ti,da850-ddr-controller"; 19 - reg = <0xb0000000 0xe8>; 20 - };