Skip to contentSkip to conversation

dt-bindings: Turn on undocumented compatible checks

PATCH In review Rob Herring 2 participants 2 messages Nov 28, 2023 – Nov 29, 2023 Device tree bindings

lore
Share & tools
lore

Rob Herring

author maintainer
#0 lore raw

PATCH 1/1 dt-bindings: Turn on undocumented compatible checks

The undocumented compatibles in the examples are down to just a few left. Turn on the warning by default. The increased visibility should get the remaining warnings fixed.

---
After the last batch of fixes I've sent out, there's 6 warnings remaining:

['socionext,milbeaut-usio-uart'] ['sprd,sc9863a-glbregs', 'syscon', 'simple-mfd'] ['brcm,bcm2711-avs-monitor', 'syscon', 'simple-mfd'] ['fsl,imx6q-anatop', 'syscon', 'simple-mfd'] ['hisilicon,hi3798cv200-combphy'] ['qca,ar9331-switch']

 Documentation/devicetree/bindings/Makefile | 3 ---
 1 file changed, 3 deletions(-)
Documentation/devicetree/bindings/Makefile +0 -3
index 3e886194b043..3e3e49d8a733 100644
@@ -61,9 +61,6 @@ override DTC_FLAGS := \
 	-Wno-unique_unit_address \
 	-Wunique_unit_address_if_enabled
 
-# Disable undocumented compatible checks until warning free
-override DT_CHECKER_FLAGS ?=
-
 $(obj)/processed-schema.json: $(DT_DOCS) $(src)/.yamllint check_dtschema_version FORCE
 	$(call if_changed_rule,chkdt)
 
Signature · 1 line
2.42.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Rob Herring

The undocumented compatibles in the examples are down to just a few left. Turn on the warning by default. The increased visibility should get the remaining warnings fixed.

---
After the last batch of fixes I've sent out, there's 6 warnings remaining:

Quoted 7 lines

['socionext,milbeaut-usio-uart'] ['sprd,sc9863a-glbregs', 'syscon', 'simple-mfd'] ['brcm,bcm2711-avs-monitor', 'syscon', 'simple-mfd'] ['fsl,imx6q-anatop', 'syscon', 'simple-mfd'] ['hisilicon,hi3798cv200-combphy'] ['qca,ar9331-switch']

Yay!

Best regards,
Krzysztof