mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 15:02:40 -04:00
The compatible property is required for some vendor-specific device trees, such as Amlogic's meson-mx-sdio, but is unnecessary for others, like Microchip's DTS. To resolve unintended warnings for configurations that do not require it, remove compatible from the required properties in mmc-slot.yaml. Since meson-mx-sdio still requires compatible, explicitly add it to its required list in amlogic,meson-mx-sdio.yaml. Signed-off-by: Dharma Balasubiramani <dharma.b@microchip.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Link: https://lore.kernel.org/r/20250224-mmc-slot-v4-1-231620a31e88@microchip.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
49 lines
879 B
YAML
49 lines
879 B
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/mmc/mmc-slot.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: MMC slot properties
|
|
|
|
maintainers:
|
|
- Ulf Hansson <ulf.hansson@linaro.org>
|
|
|
|
description:
|
|
These properties defines slot properties for MMC controlers that
|
|
have multiple slots or ports provided by the same controller and
|
|
sharing the same resources.
|
|
|
|
$ref: mmc-controller-common.yaml#
|
|
|
|
properties:
|
|
$nodename:
|
|
pattern: "^slot(@.*)?$"
|
|
|
|
compatible:
|
|
const: mmc-slot
|
|
|
|
reg:
|
|
description:
|
|
the slot (or "port") ID
|
|
maxItems: 1
|
|
|
|
required:
|
|
- reg
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
mmc {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
slot@0 {
|
|
compatible = "mmc-slot";
|
|
reg = <0>;
|
|
bus-width = <4>;
|
|
};
|
|
};
|
|
|
|
...
|