Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt-bindings: mmc: mmc-slot: Make compatible property optional

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>

authored by

Dharma Balasubiramani and committed by
Ulf Hansson
ec53e2ea e01578e0

+3 -1
+3
Documentation/devicetree/bindings/mmc/amlogic,meson-mx-sdio.yaml
··· 60 60 bus-width: 61 61 enum: [1, 4] 62 62 63 + required: 64 + - compatible 65 + 63 66 unevaluatedProperties: false 64 67 65 68 required:
-1
Documentation/devicetree/bindings/mmc/mmc-slot.yaml
··· 29 29 maxItems: 1 30 30 31 31 required: 32 - - compatible 33 32 - reg 34 33 35 34 unevaluatedProperties: false