zephyr/dts/bindings/test/vnd,non-deprecated-label.yaml
Martí Bolívar b1532ce449 devicetree: remove label property accessors
These were first deprecated in v3.2. We have kept support for them
for as long as we can, but now their presence is causing CI failures
in some configurations. Specifically, using the deprecated 'label'
property is causing a warning which is promoted to an error in some
twister runs. This is blocking other forward progress in the
devicetree API.

I tried to rework the tests to avoid this, but it was too much effort
for the time I had to work on the task. Removing the APIs is therefore
unfortunately the best way forward to unblocking other work.

Re-work the test suite a bit to maintain coverage where we are using
the label property to test other macros.

Add a migration guide section to help with the transition.

Signed-off-by: Martí Bolívar <mbolivar@amperecomputing.com>
2023-12-01 13:09:56 -08:00

15 lines
336 B
YAML

# Copyright 2023 Ampere Computing
# SPDX-License-Identifier: Apache-2.0
description: |
This can be used when we need a label property in tests without risk
of generating deprecation warnings, which are errors in some
configurations.
compatible: vnd,non-deprecated-label
properties:
label:
type: string
required: true