mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Vasut <marek.vasut@mailbox.org>
To: Koichiro Den <den@valinux.co.jp>
Cc: Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] arm64: dts: renesas: spider: Add overlay for PCIe ch0 endpoint mode
Date: Mon, 26 Oct 2026 06:35:09 +0100	[thread overview]
Message-ID: <1d48649e-cf7d-421b-bcd9-3a896064375c@mailbox.org> (raw)
In-Reply-To: <yxguu4obyspgkq5f2coa6kjrnxjeij3yduhwd4qd4gpamw25fp@quii5c75uxhn>

On 10/26/26 4:08 AM, Koichiro Den wrote:
> On Fri, Oct 23, 2026 at 02:58:38AM +0200, Marek Vasut wrote:
>> On 10/22/26 10:21 AM, Koichiro Den wrote:
>>
>> Hello Den-san,
>>
>> [...]
>>
>>> +++ b/arch/arm64/boot/dts/renesas/r8a779f0-spider-pcie0-ep.dtso
>>> @@ -0,0 +1,15 @@
>>> +// SPDX-License-Identifier: (GPL-2.0 OR MIT)
>>> +/*
>>> + * Copyright (C) 2026 Renesas Electronics Corp.
>>
>> Is this header correct ?
> 
> I checked with Renesas just in case, and confirmed it is fine.

Thank you for checking.

>> Would it be possible to include a brief "example usage" comment in the
>> header ? An example of such a comment is available in e.g.
>> arch/arm64/boot/dts/renesas/r8a779g3-sparrow-hawk-fan-argon40.dtso "Example
>> usage:" . If this would be too complicated, then please ignore this request.
> 
> I would personally perfer to stay aligned with other in-tree PCIe endpoint
> overlays (e.g. freescale/imx*, rockchip/*, ti/k3-*) rather than adding
> fan/HAT-style examples here.
> 
> The typical (long-standing) usage would just be the standard configfs steps for
> pci-epf-test (documented in Documentation/PCI/endpoint/pci-test-howto.rst)

How about adding modified form of this ^ sentence into the header ?
(please see below)

> , so I
> suspect duplicating those generic instructions in this file might not add much
> value.
> 
> That said, keeping the header completely bare might look too terse.
> How about something like this:
> 
>    // SPDX-License-Identifier: (GPL-2.0 OR MIT)
>    /*
>     * DT Overlay for enabling PCIe channel 0 in Endpoint Configuration with the
>     * R-Car S4-8 Spider board.
>     *
>     * Copyright (C) 2026 Renesas Electronics Corp.

How about adding this here:

*
* Please follow the standard configfs steps for pci-epf-test documented in
* Documentation/PCI/endpoint/pci-test-howto.rst to set the endpoint up.

This would steer users toward the documentation. What do you think ?

[...]

-- 
Best regards,
Marek Vasut

  reply	other threads:[~2026-10-26  5:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-22  8:21 Koichiro Den
2026-10-23  0:58 ` Marek Vasut
2026-10-26  3:08   ` Koichiro Den
2026-10-26  5:35     ` Marek Vasut [this message]
2026-10-26  6:16       ` Koichiro Den
2026-10-26 13:17         ` Marek Vasut

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=1d48649e-cf7d-421b-bcd9-3a896064375c@mailbox.org \
    --to=marek.vasut@mailbox.org \
    --cc=conor+dt@kernel.org \
    --cc=den@valinux.co.jp \
    --cc=devicetree@vger.kernel.org \
    --cc=geert+renesas@glider.be \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=robh@kernel.org \
    --cc=yoshihiro.shimoda.uh@renesas.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

all inboxes | Powered by JetHome®