Loading Documentation/devicetree/bindings/Makefile +12 −9 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ DT_DOC_CHECKER ?= dt-doc-validate DT_EXTRACT_EX ?= dt-extract-example DT_MK_SCHEMA ?= dt-mk-schema DT_MK_SCHEMA_USERONLY_FLAG := $(if $(DT_SCHEMA_FILES), -u) quiet_cmd_chk_binding = CHKDT $(patsubst $(srctree)/%,%,$<) cmd_chk_binding = $(DT_DOC_CHECKER) -u $(srctree)/$(src) $< ; \ Loading @@ -13,16 +14,18 @@ $(obj)/%.example.dts: $(src)/%.yaml FORCE # Use full schemas when checking %.example.dts DT_TMP_SCHEMA := $(obj)/processed-schema-examples.yaml find_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \ -name 'processed-schema*' ! \ -name '*.example.dt.yaml' \) quiet_cmd_mk_schema = SCHEMA $@ cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(real-prereqs) cmd_mk_schema = rm -f $@ ; \ $(if $(DT_MK_SCHEMA_FLAGS), \ echo $(real-prereqs), \ $(find_cmd)) | \ xargs $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) >> $@ DT_DOCS = $(addprefix $(src)/, \ $(shell \ cd $(srctree)/$(src) && \ find * \( -name '*.yaml' ! \ -name 'processed-schema*' ! \ -name '*.example.dt.yaml' \) \ )) DT_DOCS = $(shell $(find_cmd) | sed -e 's|^$(srctree)/||') DT_SCHEMA_FILES ?= $(DT_DOCS) Loading @@ -37,7 +40,7 @@ override DTC_FLAGS := \ $(obj)/processed-schema-examples.yaml: $(DT_DOCS) FORCE $(call if_changed,mk_schema) $(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := -u $(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := $(DT_MK_SCHEMA_USERONLY_FLAG) $(obj)/processed-schema.yaml: $(DT_SCHEMA_FILES) FORCE $(call if_changed,mk_schema) Loading Documentation/devicetree/bindings/mfd/st,stpmic1.yaml +0 −2 Original line number Diff line number Diff line Loading @@ -261,8 +261,6 @@ properties: additionalProperties: false additionalProperties: false required: - compatible - reg Loading Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ then: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 maximum: 63 default: 0 default: 32 qcom,charge-ctrl-value: description: Loading Loading @@ -130,7 +130,7 @@ then: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 maximum: 3 default: 2 default: 0 qcom,preemphasis-width: description: Loading @@ -152,7 +152,7 @@ then: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 maximum: 3 default: 0 default: 1 required: - compatible Loading Documentation/devicetree/bindings/regulator/mps,mp5416.yaml +0 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,6 @@ properties: type: object additionalProperties: false additionalProperties: false required: - compatible Loading Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml +2 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,8 @@ properties: description: | disables over voltage protection of this buck additionalProperties: false unevaluatedProperties: false additionalProperties: false required: Loading Loading
Documentation/devicetree/bindings/Makefile +12 −9 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ DT_DOC_CHECKER ?= dt-doc-validate DT_EXTRACT_EX ?= dt-extract-example DT_MK_SCHEMA ?= dt-mk-schema DT_MK_SCHEMA_USERONLY_FLAG := $(if $(DT_SCHEMA_FILES), -u) quiet_cmd_chk_binding = CHKDT $(patsubst $(srctree)/%,%,$<) cmd_chk_binding = $(DT_DOC_CHECKER) -u $(srctree)/$(src) $< ; \ Loading @@ -13,16 +14,18 @@ $(obj)/%.example.dts: $(src)/%.yaml FORCE # Use full schemas when checking %.example.dts DT_TMP_SCHEMA := $(obj)/processed-schema-examples.yaml find_cmd = find $(srctree)/$(src) \( -name '*.yaml' ! \ -name 'processed-schema*' ! \ -name '*.example.dt.yaml' \) quiet_cmd_mk_schema = SCHEMA $@ cmd_mk_schema = $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) -o $@ $(real-prereqs) cmd_mk_schema = rm -f $@ ; \ $(if $(DT_MK_SCHEMA_FLAGS), \ echo $(real-prereqs), \ $(find_cmd)) | \ xargs $(DT_MK_SCHEMA) $(DT_MK_SCHEMA_FLAGS) >> $@ DT_DOCS = $(addprefix $(src)/, \ $(shell \ cd $(srctree)/$(src) && \ find * \( -name '*.yaml' ! \ -name 'processed-schema*' ! \ -name '*.example.dt.yaml' \) \ )) DT_DOCS = $(shell $(find_cmd) | sed -e 's|^$(srctree)/||') DT_SCHEMA_FILES ?= $(DT_DOCS) Loading @@ -37,7 +40,7 @@ override DTC_FLAGS := \ $(obj)/processed-schema-examples.yaml: $(DT_DOCS) FORCE $(call if_changed,mk_schema) $(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := -u $(obj)/processed-schema.yaml: DT_MK_SCHEMA_FLAGS := $(DT_MK_SCHEMA_USERONLY_FLAG) $(obj)/processed-schema.yaml: $(DT_SCHEMA_FILES) FORCE $(call if_changed,mk_schema) Loading
Documentation/devicetree/bindings/mfd/st,stpmic1.yaml +0 −2 Original line number Diff line number Diff line Loading @@ -261,8 +261,6 @@ properties: additionalProperties: false additionalProperties: false required: - compatible - reg Loading
Documentation/devicetree/bindings/phy/qcom,qusb2-phy.yaml +3 −3 Original line number Diff line number Diff line Loading @@ -97,7 +97,7 @@ then: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 maximum: 63 default: 0 default: 32 qcom,charge-ctrl-value: description: Loading Loading @@ -130,7 +130,7 @@ then: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 maximum: 3 default: 2 default: 0 qcom,preemphasis-width: description: Loading @@ -152,7 +152,7 @@ then: - $ref: /schemas/types.yaml#/definitions/uint32 - minimum: 0 maximum: 3 default: 0 default: 1 required: - compatible Loading
Documentation/devicetree/bindings/regulator/mps,mp5416.yaml +0 −1 Original line number Diff line number Diff line Loading @@ -37,7 +37,6 @@ properties: type: object additionalProperties: false additionalProperties: false required: - compatible Loading
Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml +2 −1 Original line number Diff line number Diff line Loading @@ -75,7 +75,8 @@ properties: description: | disables over voltage protection of this buck additionalProperties: false unevaluatedProperties: false additionalProperties: false required: Loading