From: Krzysztof Kozlowski <krzk@kernel.org>
To: Kaushal Kumar <quic_kaushalk@quicinc.com>,
vkoul@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, manivannan.sadhasivam@linaro.org,
miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com,
andersson@kernel.org, konradybcio@kernel.org, agross@kernel.org
Cc: linux-arm-msm@vger.kernel.org, dmaengine@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
linux-mtd@lists.infradead.org
Subject: Re: [PATCH 1/6] dt-bindings: mtd: qcom,nandc: Document the SDX75 NAND
Date: Thu, 13 Mar 2025 15:48:34 +0100 [thread overview]
Message-ID: <779c824b-d44c-4613-aebf-05c3327df1ea@kernel.org> (raw)
In-Reply-To: <20250313130918.4238-2-quic_kaushalk@quicinc.com>
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@1cc8000: 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@quicinc.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
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
next prev parent reply other threads:[~2025-03-13 14:48 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-03-13 13:09 [PATCH 0/6] Enable QPIC BAM and QPIC NAND support for SDX75 Kaushal Kumar
2025-03-13 13:09 ` [PATCH 1/6] dt-bindings: mtd: qcom,nandc: Document the SDX75 NAND Kaushal Kumar
2025-03-13 14:31 ` Rob Herring (Arm)
2025-03-13 14:48 ` Krzysztof Kozlowski [this message]
2025-03-27 10:42 ` Kaushal Kumar
2025-03-13 13:09 ` [PATCH 2/6] dt-bindings: dma: qcom,bam: Document dma-coherent property Kaushal Kumar
2025-03-13 14:50 ` Krzysztof Kozlowski
2025-03-27 10:46 ` Kaushal Kumar
2025-03-13 13:09 ` [PATCH 3/6] ARM: dts: qcom: sdx75: Add QPIC BAM support Kaushal Kumar
2025-03-13 13:09 ` [PATCH 4/6] ARM: dts: qcom: sdx75: Add QPIC NAND support Kaushal Kumar
2025-03-13 14:36 ` Konrad Dybcio
2025-03-27 10:48 ` Kaushal Kumar
2025-03-13 14:50 ` Krzysztof Kozlowski
2025-03-27 10:47 ` Kaushal Kumar
2025-03-13 13:09 ` [PATCH 5/6] ARM: dts: qcom: sdx75-idp: Enable QPIC BAM support Kaushal Kumar
2025-03-13 14:37 ` Konrad Dybcio
2025-03-27 10:25 ` Kaushal Kumar
2025-03-13 13:09 ` [PATCH 6/6] ARM: dts: qcom: sdx75-idp: Enable QPIC NAND support Kaushal Kumar
2025-03-13 14:30 ` [PATCH 0/6] Enable QPIC BAM and QPIC NAND support for SDX75 Konrad Dybcio
2025-03-27 10:23 ` Kaushal Kumar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=779c824b-d44c-4613-aebf-05c3327df1ea@kernel.org \
--to=krzk@kernel.org \
--cc=agross@kernel.org \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=manivannan.sadhasivam@linaro.org \
--cc=miquel.raynal@bootlin.com \
--cc=quic_kaushalk@quicinc.com \
--cc=richard@nod.at \
--cc=robh@kernel.org \
--cc=vigneshr@ti.com \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox