From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Sarath Babu Naidu Gaddam <sarath.babu.naidu.gaddam@amd.com>,
davem@davemloft.net, edumazet@google.com, kuba@kernel.org,
pabeni@redhat.com, robh+dt@kernel.org,
krzysztof.kozlowski+dt@linaro.org
Cc: linux@armlinux.org.uk, michal.simek@amd.com,
radhey.shyam.pandey@amd.com, netdev@vger.kernel.org,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, anirudha.sarangi@amd.com,
harini.katakam@amd.com, git@amd.com
Subject: Re: [PATCH net-next V3 1/3] dt-bindings: net: xilinx_axienet: Introduce dmaengine binding support
Date: Wed, 10 May 2023 12:08:42 +0200 [thread overview]
Message-ID: <95f61847-2ec3-a4e0-d277-5d68836f66cf@linaro.org> (raw)
In-Reply-To: <20230510085031.1116327-2-sarath.babu.naidu.gaddam@amd.com>
On 10/05/2023 10:50, Sarath Babu Naidu Gaddam wrote:
> From: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
>
> The axiethernet driver will use dmaengine framework to communicate
> with dma controller IP instead of built-in dma programming sequence.
Subject: drop second/last, redundant "bindings". The "dt-bindings"
prefix is already stating that these are bindings.
Actually also drop "dmaenging" as it is Linuxism. Focus on hardware,
e.g. "Add DMA support".
>
> To request dma transmit and receive channels the axiethernet driver uses
> generic dmas, dma-names properties.
>
> Also to support the backward compatibility, use "dmas" property to
> identify as it should use dmaengine framework or legacy
> driver(built-in dma programming).
>
> At this point it is recommended to use dmaengine framework but it's
> optional. Once the solution is stable will make dmas as
> required properties.
>
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>
> Signed-off-by: Sarath Babu Naidu Gaddam <sarath.babu.naidu.gaddam@amd.com>
> ---
> These changes are on top of below txt to yaml conversion discussion
> https://lore.kernel.org/all/20230308061223.1358637-1-sarath.babu.naidu.gaddam@amd.com/#Z2e.:20230308061223.1358637-1-sarath.babu.naidu.gaddam::40amd.com:1bindings:net:xlnx::2caxi-ethernet.yaml
>
> Changes in V3:
> 1) Reverted reg and interrupts property to support backward compatibility.
> 2) Moved dmas and dma-names properties from Required properties.
>
> Changes in V2:
> - None.
> ---
> .../devicetree/bindings/net/xlnx,axi-ethernet.yaml | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/xlnx,axi-ethernet.yaml b/Documentation/devicetree/bindings/net/xlnx,axi-ethernet.yaml
> index 80843c177029..9dfa1976e260 100644
> --- a/Documentation/devicetree/bindings/net/xlnx,axi-ethernet.yaml
> +++ b/Documentation/devicetree/bindings/net/xlnx,axi-ethernet.yaml
> @@ -122,6 +122,16 @@ properties:
> modes, where "pcs-handle" should be used to point to the PCS/PMA PHY,
> and "phy-handle" should point to an external PHY if exists.
>
> + dmas:
> + items:
> + - description: TX DMA Channel phandle and DMA request line number
> + - description: RX DMA Channel phandle and DMA request line number
> +
> + dma-names:
> + items:
> + - const: tx_chan0
tx
> + - const: rx_chan0
rx
Why doing these differently than all other devices?
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-05-10 10:08 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-10 8:50 [PATCH net-next V3 0/3] net: axienet: Introduce dmaengine Sarath Babu Naidu Gaddam
2023-05-10 8:50 ` [PATCH net-next V3 1/3] dt-bindings: net: xilinx_axienet: Introduce dmaengine binding support Sarath Babu Naidu Gaddam
2023-05-10 10:08 ` Krzysztof Kozlowski [this message]
2023-05-11 11:32 ` Gaddam, Sarath Babu Naidu
2023-05-12 6:27 ` Krzysztof Kozlowski
2023-05-17 12:06 ` Gaddam, Sarath Babu Naidu
2023-05-17 14:48 ` Krzysztof Kozlowski
2023-05-18 8:51 ` Gaddam, Sarath Babu Naidu
2023-05-10 8:50 ` [PATCH net-next V3 2/3] net: axienet: Preparatory changes for dmaengine support Sarath Babu Naidu Gaddam
2023-05-10 13:19 ` [EXT] " Subbaraya Sundeep Bhatta
2023-05-10 8:50 ` [PATCH net-next V3 3/3] net: axienet: Introduce " Sarath Babu Naidu Gaddam
2023-05-10 10:10 ` Krzysztof Kozlowski
2023-05-10 13:44 ` [EXT] " Subbaraya Sundeep Bhatta
2023-05-12 4:36 ` Gaddam, Sarath Babu Naidu
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=95f61847-2ec3-a4e0-d277-5d68836f66cf@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=anirudha.sarangi@amd.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=git@amd.com \
--cc=harini.katakam@amd.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@armlinux.org.uk \
--cc=michal.simek@amd.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=radhey.shyam.pandey@amd.com \
--cc=robh+dt@kernel.org \
--cc=sarath.babu.naidu.gaddam@amd.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®