Skip to content

Commit

Permalink
dt-bindings: mtd: ti,elm: Add support for AM64 ELM
Browse files Browse the repository at this point in the history
TI's AM64 SoC has the Error Locator Module. Add compatible and
related properties to support ELM on AM64 SoC.

Signed-off-by: Roger Quadros <rogerq@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220326080726.30372-3-rogerq@kernel.org
  • Loading branch information
Roger Quadros authored and Miquel Raynal committed Apr 11, 2022
1 parent 6863c61 commit 05691c0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Documentation/devicetree/bindings/mtd/ti,elm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,25 @@ properties:
compatible:
enum:
- ti,am3352-elm
- ti,am64-elm

reg:
maxItems: 1

interrupts:
maxItems: 1

clocks:
maxItems: 1
description: Functional clock.

clock-names:
items:
- const: fck

power-domains:
maxItems: 1

ti,hwmods:
description:
Name of the HWMOD associated with ELM. This is for legacy
Expand All @@ -37,6 +49,18 @@ required:
- reg
- interrupts

allOf:
- if:
properties:
compatible:
contains:
const: ti,am64-elm
then:
required:
- clocks
- clock-names
- power-domains

additionalProperties: false

examples:
Expand Down

0 comments on commit 05691c0

Please sign in to comment.