[PATCH v3 1/2] dt-bindings: mmc: sdhci-atmel: Convert to json schema
Krzysztof Kozlowski
krzk at kernel.org
Fri Aug 30 23:19:38 PDT 2024
On Fri, Aug 30, 2024 at 08:21:20PM +0530, Dharma Balasubiramani wrote:
> Convert sdhci-atmel documentation to yaml format. The new file will inherit
> from sdhci-common.yaml.
>
> Note: Add microchip,sama7g5-sdhci to compatible list as we already use it
> in the DT.
>
> Signed-off-by: Dharma Balasubiramani <dharma.b at microchip.com>
> ---
> .../bindings/mmc/atmel,sama5d2-sdhci.yaml | 90 ++++++++++++++++++++++
> .../devicetree/bindings/mmc/sdhci-atmel.txt | 35 ---------
> 2 files changed, 90 insertions(+), 35 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml b/Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml
> new file mode 100644
> index 000000000000..ba4786328833
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mmc/atmel,sama5d2-sdhci.yaml
> @@ -0,0 +1,90 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mmc/atmel,sama5d2-sdhci.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Atmel SDHCI controller
> +
> +maintainers:
> + - Aubin Constans <aubin.constans at microchip.com>
> + - Nicolas Ferre <nicolas.ferre at microchip.com>
> +
> +description:
> + Bindings for the SDHCI controller found in Atmel/Microchip SoCs.
> +
> +properties:
> + compatible:
> + oneOf:
> + - enum:
> + - atmel,sama5d2-sdhci
> + - atmel,sama5d3-sdhci
This wasn't in the old binding.
> + - atmel,sama5d4-sdhci
Neither this.
> + - microchip,sam9x60-sdhci
> + - items:
> + - enum:
> + - microchip,sama7g5-sdhci
> + - const: microchip,sam9x60-sdhci
What happened with microchip,sam9x7-sdhci compatible from the old binding?
And none of above changes are explained in commit msg.
Best regards,
Krzysztof
More information about the linux-arm-kernel
mailing list