[PATCH v2 2/3] dt-bindings: mtd: ti, elm: Add support for AM64 ELM

Krzysztof Kozlowski krzk at kernel.org
Fri Mar 25 09:22:07 PDT 2022


On 25/03/2022 13:37, Roger Quadros wrote:
> 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 at 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:

Why do the items appeared again?

Make it an enum in first patch, without items, with one entry. Now in
patch #2 you add one more compatible.


Best regards,
Krzysztof



More information about the linux-mtd mailing list