Re: [PATCH 1/3] dt-bindings: spi: airoha: Add YAML schema for SNFI controller

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/04/2024 13:08, Lorenzo Bianconi wrote:
> Introduce Airoha EN7581 SPI NAND controller binding
> 
> Tested-by: Rajeev Kumar <Rajeev.Kumar@xxxxxxxxxx>
> Signed-off-by: Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
> ---
>  .../bindings/spi/airoha,spi-airoha-snfi.yaml  | 56 +++++++++++++++++++
>  1 file changed, 56 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/spi/airoha,spi-airoha-snfi.yaml
> 
> diff --git a/Documentation/devicetree/bindings/spi/airoha,spi-airoha-snfi.yaml b/Documentation/devicetree/bindings/spi/airoha,spi-airoha-snfi.yaml
> new file mode 100644
> index 000000000000..0244f242eff1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/spi/airoha,spi-airoha-snfi.yaml

Use compatible as filename.

> @@ -0,0 +1,56 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/spi/airoha,spi-airoha-snfi.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: SPI-NAND flash controller for Airoha ARM SoCs
> +
> +maintainers:
> +  - Lorenzo Bianconi <lorenzo@xxxxxxxxxx>
> +
> +allOf:
> +  - $ref: spi-controller.yaml#
> +
> +properties:
> +  compatible:
> +    const: airoha,en7581-snand
> +
> +  reg:
> +    maxItems: 2

Instead list and describe items.

> +
> +  interrupts:
> +    maxItems: 1

This looks incomplete. No clocks? No other resources?

Best regards,
Krzysztof





[Index of Archives]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux