-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Roger Quadros
authored and
Miquel Raynal
committed
Apr 11, 2022
1 parent
f7c48bc
commit 6863c61
Showing
2 changed files
with
48 additions
and
16 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/mtd/ti,elm.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Texas Instruments Error Location Module (ELM). | ||
|
||
maintainers: | ||
- Roger Quadros <rogerq@kernel.org> | ||
|
||
description: | ||
ELM module is used together with GPMC and NAND Flash to detect | ||
errors and the location of the error based on BCH algorithms | ||
so they can be corrected if possible. | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- ti,am3352-elm | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
ti,hwmods: | ||
description: | ||
Name of the HWMOD associated with ELM. This is for legacy | ||
platforms only. | ||
$ref: /schemas/types.yaml#/definitions/string | ||
deprecated: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- interrupts | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
elm: ecc@0 { | ||
compatible = "ti,am3352-elm"; | ||
reg = <0x0 0x2000>; | ||
interrupts = <4>; | ||
}; |