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

Configure Feed

Select the types of activity you want to include in your feed.

dt-bindings: watchdog: improve QCOM compatible parsing for modern chips

Parse compatible as expected for modern QCOMs.

Fixes warnings as:
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dt.yaml: watchdog@17980000: compatible: ['qcom,apss-wdt-sdm845', 'qcom,kpss-wdt'] is too long
From schema: Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
arch/arm64/boot/dts/qcom/sdm845-oneplus-fajita.dt.yaml: watchdog@17980000: compatible: Additional items are not allowed ('qcom,kpss-wdt' was unexpected)
From schema: Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml

Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Link: https://lore.kernel.org/r/20220111212310.97566-1-david@ixit.cz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@linux-watchdog.org>

authored by

David Heidelberg and committed by
Wim Van Sebroeck
a03f70cf 711a5b25

+21 -16
+21 -16
Documentation/devicetree/bindings/watchdog/qcom-wdt.yaml
··· 14 14 15 15 properties: 16 16 compatible: 17 - enum: 18 - - qcom,apss-wdt-qcs404 19 - - qcom,apss-wdt-sc7180 20 - - qcom,apss-wdt-sc7280 21 - - qcom,apss-wdt-sdm845 22 - - qcom,apss-wdt-sdx55 23 - - qcom,apss-wdt-sm6350 24 - - qcom,apss-wdt-sm8150 25 - - qcom,apss-wdt-sm8250 26 - - qcom,kpss-timer 27 - - qcom,kpss-wdt 28 - - qcom,kpss-wdt-apq8064 29 - - qcom,kpss-wdt-ipq4019 30 - - qcom,kpss-wdt-ipq8064 31 - - qcom,kpss-wdt-msm8960 32 - - qcom,scss-timer 17 + oneOf: 18 + - items: 19 + - enum: 20 + - qcom,apss-wdt-qcs404 21 + - qcom,apss-wdt-sc7180 22 + - qcom,apss-wdt-sc7280 23 + - qcom,apss-wdt-sdm845 24 + - qcom,apss-wdt-sdx55 25 + - qcom,apss-wdt-sm6350 26 + - qcom,apss-wdt-sm8150 27 + - qcom,apss-wdt-sm8250 28 + - const: qcom,kpss-wdt 29 + - items: 30 + - enum: 31 + - qcom,kpss-wdt 32 + - qcom,kpss-timer 33 + - qcom,kpss-wdt-apq8064 34 + - qcom,kpss-wdt-ipq4019 35 + - qcom,kpss-wdt-ipq8064 36 + - qcom,kpss-wdt-msm8960 37 + - qcom,scss-timer 33 38 34 39 reg: 35 40 maxItems: 1