The DT schema core defines the type ($ref) of 'firmware-name' property
as string-array, so individual schemas do not need to. They also should
not redefine it to a single string, but instead just set number of
expected firmware names.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
---
Changes in v2:
1. Switch default to an array
---
Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
index 72a7f8cb09ba..cfaa15d86ece 100644
--- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.yaml
@@ -19,8 +19,8 @@ properties:
const: qcom,wcnss
firmware-name:
- $ref: /schemas/types.yaml#/definitions/string
- default: wlan/prima/WCNSS_qcom_wlan_nv.bin
+ maxItems: 1
+ default: [ wlan/prima/WCNSS_qcom_wlan_nv.bin ]
description:
Relative firmware image path for the WLAN NV blob.
--
2.53.0