[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <fa0864288be56f747b63396f46deb482@codeaurora.org>
Date: Fri, 11 Aug 2017 14:32:05 +0530
From: Abhishek Sahu <absahu@...eaurora.org>
To: Rob Herring <robh@...nel.org>
Cc: dwmw2@...radead.org, boris.brezillon@...e-electrons.com,
computersforpeace@...il.com, marek.vasut@...il.com,
mark.rutland@....com, richard@....at, cyrille.pitchen@...ev4u.fr,
devicetree@...r.kernel.org, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
andy.gross@...aro.org, architt@...eaurora.org,
sricharan@...eaurora.org
Subject: Re: [PATCH v3 18/20] dt-bindings: qcom_nandc: IPQ8074 QPIC NAND
documentation
On 2017-08-11 02:00, Rob Herring wrote:
> On Sat, Aug 05, 2017 at 09:49:56PM +0530, Abhishek Sahu wrote:
>> Qualcom IPQ8074 SoC uses QPIC NAND controller version 1.5.0
>> which uses BAM DMA Engine.
>>
>> Signed-off-by: Abhishek Sahu <absahu@...eaurora.org>
>> ---
>> Documentation/devicetree/bindings/mtd/qcom_nandc.txt | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/mtd/qcom_nandc.txt
>> b/Documentation/devicetree/bindings/mtd/qcom_nandc.txt
>> index d93b952..8dfa543 100644
>> --- a/Documentation/devicetree/bindings/mtd/qcom_nandc.txt
>> +++ b/Documentation/devicetree/bindings/mtd/qcom_nandc.txt
>> @@ -6,6 +6,8 @@ Required properties:
>> SoC and it uses ADM DMA
>> * "qcom,ipq4019-nand" - for QPIC NAND controller v1.4.0 being
>> used in
>> IPQ4019 SoC and it uses BAM DMA
>> + * "qcom,ipq8074-nand" - for QPIC NAND controller v1.5.0 being
>> used in
>> + IPQ8074 SoC and it uses BAM DMA
>>
>> - reg: MMIO address range
>> - clocks: must contain core clock and always on clock
>> @@ -97,7 +99,7 @@ nand-controller@...00000 {
>> };
>>
>> nand-controller@...0000 {
>> - compatible = "qcom,ipq4019-nand";
>> + compatible = "qcom,ipq4019-nand", "qcom,ipq8074-nand";
>
> The order here should be reversed as 8074 is the newer one. And if 4019
> is the fallback compatible, that needs to be documented above.
>
Thanks Rob for review.
This is not fallback compatible. I checked the other device tree
binding examples and it seems, we don't have to add every
similar compatible string in example. I will remove the
qcom,ipq8074-nand from example which is causing confusion.
> Rob
Powered by blists - more mailing lists