From: Roger Quadros <rogerq@kernel.org>
To: miquel.raynal@bootlin.com, robh+dt@kernel.org
Cc: richard@nod.at, krzk@kernel.org, vigneshr@ti.com, kishon@ti.com,
nm@ti.com, linux-mtd@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Roger Quadros <rogerq@kernel.org>
Subject: [PATCH v2 2/3] dt-bindings: mtd: ti,elm: Add support for AM64 ELM
Date: Fri, 25 Mar 2022 14:37:06 +0200 [thread overview]
Message-ID: <20220325123707.22020-3-rogerq@kernel.org> (raw)
In-Reply-To: <20220325123707.22020-1-rogerq@kernel.org>
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>
---
.../devicetree/bindings/mtd/ti,elm.yaml | 28 ++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mtd/ti,elm.yaml b/Documentation/devicetree/bindings/mtd/ti,elm.yaml
index e36452b742c0..967c87f32c71 100644
--- a/Documentation/devicetree/bindings/mtd/ti,elm.yaml
+++ b/Documentation/devicetree/bindings/mtd/ti,elm.yaml
@@ -16,7 +16,10 @@ description:
properties:
compatible:
- const: ti,am3352-elm
+ items:
+ - enum:
+ - ti,am3352-elm
+ - ti,am64-elm
reg:
maxItems: 1
@@ -24,6 +27,17 @@ properties:
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
@@ -36,6 +50,18 @@ required:
- reg
- interrupts
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: ti,am64-elm
+ then:
+ required:
+ - clocks
+ - clock-names
+ - power-domains
+
additionalProperties: false
examples:
--
2.17.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
WARNING: multiple messages have this Message-ID (diff)
From: Roger Quadros <rogerq@kernel.org>
To: miquel.raynal@bootlin.com, robh+dt@kernel.org
Cc: richard@nod.at, krzk@kernel.org, vigneshr@ti.com, kishon@ti.com,
nm@ti.com, linux-mtd@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Roger Quadros <rogerq@kernel.org>
Subject: [PATCH v2 2/3] dt-bindings: mtd: ti,elm: Add support for AM64 ELM
Date: Fri, 25 Mar 2022 14:37:06 +0200 [thread overview]
Message-ID: <20220325123707.22020-3-rogerq@kernel.org> (raw)
In-Reply-To: <20220325123707.22020-1-rogerq@kernel.org>
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>
---
.../devicetree/bindings/mtd/ti,elm.yaml | 28 ++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mtd/ti,elm.yaml b/Documentation/devicetree/bindings/mtd/ti,elm.yaml
index e36452b742c0..967c87f32c71 100644
--- a/Documentation/devicetree/bindings/mtd/ti,elm.yaml
+++ b/Documentation/devicetree/bindings/mtd/ti,elm.yaml
@@ -16,7 +16,10 @@ description:
properties:
compatible:
- const: ti,am3352-elm
+ items:
+ - enum:
+ - ti,am3352-elm
+ - ti,am64-elm
reg:
maxItems: 1
@@ -24,6 +27,17 @@ properties:
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
@@ -36,6 +50,18 @@ required:
- reg
- interrupts
+allOf:
+ - if:
+ properties:
+ compatible:
+ contains:
+ const: ti,am64-elm
+ then:
+ required:
+ - clocks
+ - clock-names
+ - power-domains
+
additionalProperties: false
examples:
--
2.17.1
next prev parent reply other threads:[~2022-03-25 12:37 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-25 12:37 [PATCH v2 0/3] mtd: rawnand: omap_elm: convert DT binding to yaml Roger Quadros
2022-03-25 12:37 ` Roger Quadros
2022-03-25 12:37 ` [PATCH v2 1/3] dt-bindings: mtd: ti,elm: Convert " Roger Quadros
2022-03-25 12:37 ` Roger Quadros
2022-03-25 16:08 ` Rob Herring
2022-03-25 16:08 ` Rob Herring
2022-03-25 16:24 ` Krzysztof Kozlowski
2022-03-25 16:24 ` Krzysztof Kozlowski
2022-03-25 19:40 ` Rob Herring
2022-03-25 19:40 ` Rob Herring
2022-03-25 12:37 ` Roger Quadros [this message]
2022-03-25 12:37 ` [PATCH v2 2/3] dt-bindings: mtd: ti,elm: Add support for AM64 ELM Roger Quadros
2022-03-25 16:22 ` [PATCH v2 2/3] dt-bindings: mtd: ti, elm: " Krzysztof Kozlowski
2022-03-25 16:22 ` [PATCH v2 2/3] dt-bindings: mtd: ti,elm: " Krzysztof Kozlowski
2022-03-25 12:37 ` [PATCH v2 3/3] mtd: rawnand: omap_elm: Add compatible " Roger Quadros
2022-03-25 12:37 ` Roger Quadros
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220325123707.22020-3-rogerq@kernel.org \
--to=rogerq@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=kishon@ti.com \
--cc=krzk@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=miquel.raynal@bootlin.com \
--cc=nm@ti.com \
--cc=richard@nod.at \
--cc=robh+dt@kernel.org \
--cc=vigneshr@ti.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.