[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <779c824b-d44c-4613-aebf-05c3327df1ea@kernel.org>
Date: Thu, 13 Mar 2025 15:48:34 +0100
From: Krzysztof Kozlowski <krzk@...nel.org>
To: Kaushal Kumar <quic_kaushalk@...cinc.com>, vkoul@...nel.org,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
manivannan.sadhasivam@...aro.org, miquel.raynal@...tlin.com, richard@....at,
vigneshr@...com, andersson@...nel.org, konradybcio@...nel.org,
agross@...nel.org
Cc: linux-arm-msm@...r.kernel.org, dmaengine@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-mtd@...ts.infradead.org
Subject: Re: [PATCH 1/6] dt-bindings: mtd: qcom,nandc: Document the SDX75 NAND
On 13/03/2025 14:09, Kaushal Kumar wrote:
> Document the QPIC NAND controller v2.1.1 being used in
> SDX75 SoC and it uses BAM DMA.
Please wrap commit message according to Linux coding style / submission
process (neither too early nor over the limit):
https://elixir.bootlin.com/linux/v6.4-rc1/source/Documentation/process/submitting-patches.rst#L597
>
> 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)
That's a new compatible, so how can you have existing errors? Looks not
related.
>
> Signed-off-by: Kaushal Kumar <quic_kaushalk@...cinc.com>
> ---
> .../devicetree/bindings/mtd/qcom,nandc.yaml | 23 ++++++++++++++-----
> 1 file changed, 17 insertions(+), 6 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
> index 35b4206ea918..8b77e8837205 100644
> --- a/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
> +++ b/Documentation/devicetree/bindings/mtd/qcom,nandc.yaml
> @@ -11,12 +11,17 @@ maintainers:
>
> properties:
> compatible:
> - enum:
> - - qcom,ipq806x-nand
> - - qcom,ipq4019-nand
> - - qcom,ipq6018-nand
> - - qcom,ipq8074-nand
> - - qcom,sdx55-nand
> + OneOf:
Testing patches before sending is still on todo list for Qualcomm :/.
> + - items:
> + - enum:
> + - qcom,sdx75-nand
> + - const: qcom,sdx55-nand
> + - items:
> + - const: qcom,ipq806x-nand
> + - const: qcom,ipq4019-nand
> + - const: qcom,ipq6018-nand
> + - const: qcom,ipq8074-nand
> + - const: qcom,sdx55-nand
>
> reg:
> maxItems: 1
> @@ -31,6 +36,12 @@ properties:
> - const: core
> - const: aon
>
> + dma-coherent: true
Which controllers are DMA coherent?
> +
> + iommus:
> + minItems: 1
> + maxItems: 3
You need to list the items. Why is this flexible?
> +
> qcom,cmd-crci:
> $ref: /schemas/types.yaml#/definitions/uint32
> description:
Best regards,
Krzysztof
Powered by blists - more mailing lists