linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
To: "Jan Lübbe" <jlu@pengutronix.de>,
	"Borislav Petkov" <bp@alien8.de>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Tony Luck" <tony.luck@intel.com>,
	"James Morse" <james.morse@arm.com>,
	"Robert Richter" <rric@kernel.org>,
	linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org,
	"Rob Herring" <robh+dt@kernel.org>,
	devicetree@vger.kernel.org
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Subject: Re: [PATCH 1/2] dt-bindings: memory: convert Marvell MVEBU SDRAM controller to dtschema
Date: Tue, 17 Aug 2021 12:52:10 +0200	[thread overview]
Message-ID: <9872ed05-28d6-15aa-dc61-228776d20819@canonical.com> (raw)
In-Reply-To: <17798cb01c5d699738f57118d4deb53504759818.camel@pengutronix.de>

On 17/08/2021 12:46, Jan Lübbe wrote:
> On Tue, 2021-08-17 at 11:38 +0200, Krzysztof Kozlowski wrote:
>> Convert Marvell MVEBU SDRAM controller bindings to DT schema format
>> using json-schema.
>>
>> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
>> ---
>>  .../marvell,mvebu-sdram-controller.yaml       | 31 +++++++++++++++++++
>>  .../mvebu-sdram-controller.txt                | 21 -------------
>>  2 files changed, 31 insertions(+), 21 deletions(-)
>>  create mode 100644 Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml
>>  delete mode 100644 Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt
>>
>> diff --git a/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml b/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml
>> new file mode 100644
>> index 000000000000..14a6bc8f421f
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/memory-controllers/marvell,mvebu-sdram-controller.yaml
>> @@ -0,0 +1,31 @@
>> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
>> +%YAML 1.2
>> +---
>> +$id: http://devicetree.org/schemas/memory-controllers/marvell,mvebu-sdram-controller.yaml#
>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>> +
>> +title: Marvell MVEBU SDRAM controller
>> +
>> +maintainers:
>> +  - Jan Luebbe <jlu@pengutronix.de>
>> +  - Krzysztof Kozlowski <krzysztof.kozlowski@canonical.com>
>> +
>> +properties:
>> +  compatible:
>> +    const: marvell,armada-xp-sdram-controller
>> +
>> +  reg:
>> +    maxItems: 1
>> +
>> +required:
>> +  - compatible
>> +  - reg
>> +
>> +additionalProperties: false
>> +
>> +examples:
>> +  - |
>> +    memory-controller@1400 {
>> +        compatible = "marvell,armada-xp-sdram-controller";
>> +        reg = <0x1400 0x500>;
>> +    };
>> diff --git a/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt b/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt
>> deleted file mode 100644
>> index 89657d1d4cd4..000000000000
>> --- a/Documentation/devicetree/bindings/memory-controllers/mvebu-sdram-controller.txt
>> +++ /dev/null
>> @@ -1,21 +0,0 @@
>> -Device Tree bindings for MVEBU SDRAM controllers
>> -
>> -The Marvell EBU SoCs all have a SDRAM controller. The SDRAM controller
>> -differs from one SoC variant to another, but they also share a number
>> -of commonalities.
>> -
>> -For now, this Device Tree binding documentation only documents the
>> -Armada XP SDRAM controller.
> 
> Please keep the description, otherwise it would be confusing why the binding is
> named marvell,mvebu-sdram-controller.yaml although it (currenly) only applies to
> the Armada XP.
> 

The description does not explain why it only documents Armada XP, so it
just duplicates what is in "compatible" part of bindings. How is the
confusion removed by saying "we document currently only Armada XP"? What
changes?

The entire description (with first paragraph) might make it a derivative
work, so I would need Ack or SoB from author to relicense it (Cc: Thomas
Petazzoni).


Best regards,
Krzysztof

  reply	other threads:[~2021-08-17 10:52 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-17  9:38 [PATCH 1/2] dt-bindings: memory: convert Marvell MVEBU SDRAM controller to dtschema Krzysztof Kozlowski
2021-08-17  9:38 ` [PATCH 2/2] MAINTAINERS: EDAC/armada_xp: include dt-bindings Krzysztof Kozlowski
2021-08-17 10:50   ` Jan Lübbe
2021-08-18 16:33     ` Rob Herring
2021-08-17 10:46 ` [PATCH 1/2] dt-bindings: memory: convert Marvell MVEBU SDRAM controller to dtschema Jan Lübbe
2021-08-17 10:52   ` Krzysztof Kozlowski [this message]
2021-08-17 10:58     ` Jan Lübbe
2021-08-17 11:06       ` Krzysztof Kozlowski
2021-08-17 12:06         ` Jan Lübbe
2021-08-18 16:26 ` Rob Herring

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=9872ed05-28d6-15aa-dc61-228776d20819@canonical.com \
    --to=krzysztof.kozlowski@canonical.com \
    --cc=bp@alien8.de \
    --cc=devicetree@vger.kernel.org \
    --cc=james.morse@arm.com \
    --cc=jlu@pengutronix.de \
    --cc=linux-edac@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=rric@kernel.org \
    --cc=thomas.petazzoni@bootlin.com \
    --cc=tony.luck@intel.com \
    /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;
as well as URLs for NNTP newsgroup(s).