Re: [PATCH 2/9] dt-bindings: arm: qcom: fix Longcheer L8150 compatibles

From: Stephan Gerhold
Date: Fri May 20 2022 - 14:18:19 EST


On Fri, May 20, 2022 at 02:32:45PM +0200, Krzysztof Kozlowski wrote:
> The MSM8916 Longcheer L8150 uses a fallback in compatible:
>
> msm8916-longcheer-l8150.dtb: /: compatible: 'oneOf' conditional failed, one must be fixed:
> ['longcheer,l8150', 'qcom,msm8916-v1-qrd/9-v1', 'qcom,msm8916'] is too long
>
> Fixes: b72160fa886d ("dt-bindings: qcom: Document bindings for new MSM8916 devices")
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Reviewed-by: Stephan Gerhold <stephan@xxxxxxxxxxx>

> ---
> Documentation/devicetree/bindings/arm/qcom.yaml | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
> index b7dd61df7ec0..e15012035093 100644
> --- a/Documentation/devicetree/bindings/arm/qcom.yaml
> +++ b/Documentation/devicetree/bindings/arm/qcom.yaml
> @@ -160,11 +160,15 @@ properties:
> - items:
> - enum:
> - alcatel,idol347
> - - longcheer,l8150
> - samsung,a3u-eur
> - samsung,a5u-eur
> - const: qcom,msm8916
>
> + - items:
> + - const: longcheer,l8150
> + - const: qcom,msm8916-v1-qrd/9-v1
> + - const: qcom,msm8916
> +
> - items:
> - enum:
> - sony,karin_windy
> --
> 2.32.0
>