From: Lukasz Luba <l.luba@partner•samsung.com>
To: Krzysztof Kozlowski <krzk@kernel•org>
Cc: mark.rutland@arm•com, devicetree@vger•kernel.org,
willy.mh.wolff.ml@gmail•com,
"linux-samsung-soc@vger•kernel.org"
<linux-samsung-soc@vger•kernel.org>,
"Bartłomiej Żołnierkiewicz" <b.zolnierkie@samsung•com>,
linux-pm@vger•kernel.org,
"linux-kernel@vger•kernel.org" <linux-kernel@vger•kernel.org>,
robh+dt@kernel•org, "Chanwoo Choi" <cw00.choi@samsung•com>,
kyungmin.park@samsung•com, kgene@kernel•org,
myungjoo.ham@samsung•com, s.nawrocki@samsung•com,
linux-arm-kernel@lists•infradead.org,
"Marek Szyprowski" <m.szyprowski@samsung•com>
Subject: Re: [PATCH v2 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories
Date: Thu, 19 Sep 2019 08:49:07 +0200 [thread overview]
Message-ID: <4a0d1d2c-cd1d-5df4-d4b1-f2dd1ef3bb72@partner.samsung.com> (raw)
In-Reply-To: <CAJKOXPcxG-mMKy5u-b0+xj_sOmrq5yq5-LYJx0Ds6_+yo_=JbA@mail.gmail.com>
Hi Krzysztof,
On 9/18/19 8:51 PM, Krzysztof Kozlowski wrote:
> On Mon, 16 Sep 2019 at 12:07, Lukasz Luba <l.luba@partner•samsung.com> wrote:
>>
>> Add compatible for Samsung k3qf2f20db LPDDR3 memory bindings.
>> Introduce minor fixes in the old documentation.
>>
>> Signed-off-by: Lukasz Luba <l.luba@partner•samsung.com>
>> ---
>> Documentation/devicetree/bindings/ddr/lpddr3.txt | 9 ++++++---
>> 1 file changed, 6 insertions(+), 3 deletions(-)
>>
>> diff --git a/Documentation/devicetree/bindings/ddr/lpddr3.txt b/Documentation/devicetree/bindings/ddr/lpddr3.txt
>> index 3b2485b84b3f..49afe794daaa 100644
>> --- a/Documentation/devicetree/bindings/ddr/lpddr3.txt
>> +++ b/Documentation/devicetree/bindings/ddr/lpddr3.txt
>> @@ -1,7 +1,9 @@
>> * LPDDR3 SDRAM memories compliant to JEDEC JESD209-3C
>>
>> Required properties:
>> -- compatible : Should be - "jedec,lpddr3"
>> +- compatible : should be one of the following:
>> + Generic default - "jedec,lpddr3".
>
> The convention is first compatible, then description. I gave you the
> example to base on - at25. Why making it different?
I have checked at25 that you pointed me to and also checked at24, which
has a bit longer "compatible" section.
I found that there are many "jedec,spi-nor" compatible devices, which I
thought would be a better example for my "jedec,lpddr3".
For example, two configurations, where you have a single labels or dual
(with specific device)
arch/arm/boot/dts/imx6dl-rex-basic.dts:
compatible = "sst,sst25vf016b", "jedec,spi-nor";
arch/arm/boot/dts/imx6q-ba16.dtsi:
compatible = "jedec,spi-nor";
The 'compatible' in documentation for the "jedec,spi-nor" is slightly
different (similar to at24).
Documentation/devicetree/bindings/mtd/jedec,spi-nor.txt
It has a long explanation, which is also OK. So I thought that it is
quite flexible what you put in there.
I have also checked Cadance QSPI controller.
Documentation/devicetree/bindings/mtd/cadence-quadspi.txt
The controller might be built-in into different vendor SoC's
and the "compatible" is ready to reflect it in similar fashion but
with a short explanation in this section.
Therefore, what you see in the patch draw heavily on Cadence's qspi,
with a bit of inspiration from jedec,spi-nor usage.
Should I change it to at25 "compatible" style and send next patch?
PS. Thank you for taking the other two patches. I will not respond in
their threads to keep the traffic low.
Regards,
Lukasz
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists•infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
next prev parent reply other threads:[~2019-09-19 6:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CGME20190916100716eucas1p213ef29ba8bd288dfc6b5f05138c9a558@eucas1p2.samsung.com>
2019-09-16 10:07 ` [PATCH v2 0/3] Exynos5 DMC minor fixes Lukasz Luba
2019-09-16 10:07 ` [PATCH v2 1/3] memory: Exynos5422: minor fixes in DMC Lukasz Luba
2019-09-18 18:55 ` Krzysztof Kozlowski
2019-09-16 10:07 ` [PATCH v2 2/3] ARM: dts: exynos: fix too long line in memory device Lukasz Luba
2019-09-18 18:55 ` Krzysztof Kozlowski
2019-09-16 10:07 ` [PATCH v2 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories Lukasz Luba
2019-09-18 18:51 ` Krzysztof Kozlowski
2019-09-19 6:49 ` Lukasz Luba [this message]
2019-09-19 7:28 ` Krzysztof Kozlowski
2019-09-19 7:43 ` Lukasz Luba
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=4a0d1d2c-cd1d-5df4-d4b1-f2dd1ef3bb72@partner.samsung.com \
--to=l.luba@partner$(echo .)samsung.com \
--cc=b.zolnierkie@samsung$(echo .)com \
--cc=cw00.choi@samsung$(echo .)com \
--cc=devicetree@vger$(echo .)kernel.org \
--cc=kgene@kernel$(echo .)org \
--cc=krzk@kernel$(echo .)org \
--cc=kyungmin.park@samsung$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=linux-pm@vger$(echo .)kernel.org \
--cc=linux-samsung-soc@vger$(echo .)kernel.org \
--cc=m.szyprowski@samsung$(echo .)com \
--cc=mark.rutland@arm$(echo .)com \
--cc=myungjoo.ham@samsung$(echo .)com \
--cc=robh+dt@kernel$(echo .)org \
--cc=s.nawrocki@samsung$(echo .)com \
--cc=willy.mh.wolff.ml@gmail$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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