[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <174187626948.2759710.10340632443652482523.robh@kernel.org>
Date: Thu, 13 Mar 2025 09:31:09 -0500
From: "Rob Herring (Arm)" <robh@...nel.org>
To: Kaushal Kumar <quic_kaushalk@...cinc.com>
Cc: vigneshr@...com, andersson@...nel.org, linux-mtd@...ts.infradead.org,
miquel.raynal@...tlin.com, conor+dt@...nel.org, agross@...nel.org,
krzk+dt@...nel.org, linux-arm-msm@...r.kernel.org, richard@....at,
dmaengine@...r.kernel.org, vkoul@...nel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, konradybcio@...nel.org,
manivannan.sadhasivam@...aro.org
Subject: Re: [PATCH 1/6] dt-bindings: mtd: qcom,nandc: Document the SDX75
NAND
On Thu, 13 Mar 2025 18:39:13 +0530, Kaushal Kumar wrote:
> Document the QPIC NAND controller v2.1.1 being used in
> SDX75 SoC and it uses BAM DMA.
>
> SDX75 NAND controller has DMA-coherent and iommu support
> so define them in the properties section, without which
> 'dtbs_check' reports the following error:
>
> nand-controller@...8000: Unevaluated properties are not
> allowed ('dma-coherent', 'iommus' were unexpected)
>
> Signed-off-by: Kaushal Kumar <quic_kaushalk@...cinc.com>
> ---
> .../devicetree/bindings/mtd/qcom,nandc.yaml | 23 ++++++++++++++-----
> 1 file changed, 17 insertions(+), 6 deletions(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml: properties:compatible: 'anyOf' conditional failed, one must be fixed:
'OneOf' is not one of ['$ref', 'additionalItems', 'additionalProperties', 'allOf', 'anyOf', 'const', 'contains', 'default', 'dependencies', 'dependentRequired', 'dependentSchemas', 'deprecated', 'description', 'else', 'enum', 'exclusiveMaximum', 'exclusiveMinimum', 'items', 'if', 'minItems', 'minimum', 'maxItems', 'maximum', 'multipleOf', 'not', 'oneOf', 'pattern', 'patternProperties', 'properties', 'required', 'then', 'typeSize', 'unevaluatedProperties', 'uniqueItems']
'type' was expected
from schema $id: http://devicetree.org/meta-schemas/keywords.yaml#
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml: properties:compatible: Additional properties are not allowed ('OneOf' was unexpected)
from schema $id: http://devicetree.org/meta-schemas/string-array.yaml#
doc reference errors (make refcheckdocs):
See https://patchwork.ozlabs.org/project/devicetree-bindings/patch/20250313130918.4238-2-quic_kaushalk@quicinc.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
Powered by blists - more mailing lists