diff mbox series

[04/12] dt-bindings: arm: qcom: add missing QCS404 board compatibles

Message ID 20220521164550.91115-4-krzysztof.kozlowski@linaro.org
State New
Headers show
Series [01/12] dt-bindings: vendor-prefixes: add Shift GmbH | expand

Commit Message

Krzysztof Kozlowski May 21, 2022, 4:45 p.m. UTC
Document board compatibles already present in Linux kernel.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Rob Herring May 24, 2022, 2:01 a.m. UTC | #1
On Sat, 21 May 2022 18:45:42 +0200, Krzysztof Kozlowski wrote:
> Document board compatibles already present in Linux kernel.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 

Acked-by: Rob Herring <robh@kernel.org>
Rob Herring June 27, 2022, 1:41 p.m. UTC | #2
On Sat, May 21, 2022 at 10:46 AM Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org> wrote:
>
> Document board compatibles already present in Linux kernel.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
>  Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
>  1 file changed, 8 insertions(+)

This is now failing in linux-next:

/builds/robherring/linux-dt/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.example.dtb:
/: compatible: 'oneOf' conditional failed, one must be fixed:
 ['qcom,qcs404'] is too short
 'qcom,qcs404' is not one of ['qcom,apq8016-sbc']
...
 'qcom,qcs404' is not one of ['qcom,sm8450-hdk', 'qcom,sm8450-qrd']
 From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/qcom.yaml
Krzysztof Kozlowski June 27, 2022, 2:26 p.m. UTC | #3
On 27/06/2022 15:41, Rob Herring wrote:
> On Sat, May 21, 2022 at 10:46 AM Krzysztof Kozlowski
> <krzysztof.kozlowski@linaro.org> wrote:
>>
>> Document board compatibles already present in Linux kernel.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
>> ---
>>  Documentation/devicetree/bindings/arm/qcom.yaml | 8 ++++++++
>>  1 file changed, 8 insertions(+)
> 
> This is now failing in linux-next:
> 
> /builds/robherring/linux-dt/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.example.dtb:
> /: compatible: 'oneOf' conditional failed, one must be fixed:
>  ['qcom,qcs404'] is too short
>  'qcom,qcs404' is not one of ['qcom,apq8016-sbc']
> ...
>  'qcom,qcs404' is not one of ['qcom,sm8450-hdk', 'qcom,sm8450-qrd']
>  From schema: /builds/robherring/linux-dt/Documentation/devicetree/bindings/arm/qcom.yaml

I'll fix it.

Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index 7a6e098c5670..888b640cf646 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -39,6 +39,7 @@  description: |
         msm8994
         msm8996
         msm8998
+        qcs404
         sa8155p
         sa8540p
         sc7180
@@ -306,6 +307,13 @@  properties:
               - qcom,ipq6018-cp01-c1
           - const: qcom,ipq6018
 
+      - items:
+          - enum:
+              - qcom,qcs404-evb-1000
+              - qcom,qcs404-evb-4000
+          - const: qcom,qcs404-evb
+          - const: qcom,qcs404
+
       - items:
           - enum:
               - qcom,sa8155p-adp