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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: mtd: ti,elm: Convert to yaml

Convert elm.txt to ti,elm.yaml.

hwmod framework use is deprecated for new platforms
so mark it so.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220326080726.30372-2-rogerq@kernel.org

authored by

Roger Quadros and committed by
Miquel Raynal
6863c612 f7c48bcc

+48 -16
-16
Documentation/devicetree/bindings/mtd/elm.txt
··· 1 - Error location module 2 - 3 - Required properties: 4 - - compatible: Must be "ti,am3352-elm" 5 - - reg: physical base address and size of the registers map. 6 - - interrupts: Interrupt number for the elm. 7 - 8 - Optional properties: 9 - - ti,hwmods: Name of the hwmod associated to the elm 10 - 11 - Example: 12 - elm: elm@0 { 13 - compatible = "ti,am3352-elm"; 14 - reg = <0x48080000 0x2000>; 15 - interrupts = <4>; 16 - };
+48
Documentation/devicetree/bindings/mtd/ti,elm.yaml
··· 1 + # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 + %YAML 1.2 3 + --- 4 + $id: http://devicetree.org/schemas/mtd/ti,elm.yaml# 5 + $schema: http://devicetree.org/meta-schemas/core.yaml# 6 + 7 + title: Texas Instruments Error Location Module (ELM). 8 + 9 + maintainers: 10 + - Roger Quadros <rogerq@kernel.org> 11 + 12 + description: 13 + ELM module is used together with GPMC and NAND Flash to detect 14 + errors and the location of the error based on BCH algorithms 15 + so they can be corrected if possible. 16 + 17 + properties: 18 + compatible: 19 + enum: 20 + - ti,am3352-elm 21 + 22 + reg: 23 + maxItems: 1 24 + 25 + interrupts: 26 + maxItems: 1 27 + 28 + ti,hwmods: 29 + description: 30 + Name of the HWMOD associated with ELM. This is for legacy 31 + platforms only. 32 + $ref: /schemas/types.yaml#/definitions/string 33 + deprecated: true 34 + 35 + required: 36 + - compatible 37 + - reg 38 + - interrupts 39 + 40 + additionalProperties: false 41 + 42 + examples: 43 + - | 44 + elm: ecc@0 { 45 + compatible = "ti,am3352-elm"; 46 + reg = <0x0 0x2000>; 47 + interrupts = <4>; 48 + };