Linux-ARM-Kernel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzk@kernel.org>
To: MANNURU VENKATESWARLU <v-mannuru@ti.com>,
	robh@kernel.org, conor+dt@kernel.org
Cc: linux-arm-kernel@lists.infradead.org,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	n-francis@ti.com, s-k6@ti.com, bb@ti.com
Subject: Re: [RFC PATCH 01/22] dt-bindings: memory: cdns,k3-ddr: Add Cadence K3 DDR controller binding
Date: Wed, 15 Jul 2026 06:55:41 +0200	[thread overview]
Message-ID: <a7208f27-97a7-4fc9-b7ef-58b62405bb3b@kernel.org> (raw)
In-Reply-To: <20260714125537.3304217-1-v-mannuru@ti.com>

On 14/07/2026 14:55, MANNURU VENKATESWARLU wrote:
> Add device tree binding for the Cadence DDR controller used in TI K3 SoCs.
> 
> Signed-off-by: Neha Malcom Francis <n-francis@ti.com>
> Signed-off-by: Gandhar Deshpande <g-deshpande@ti.com>
> Signed-off-by: MANNURU VENKATESWARLU <v-mannuru@ti.com>
> ---
>  .../memory-controllers/ti/cdns,k3-ddr.yaml    | 81 +++++++++++++++++++
>  1 file changed, 81 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/memory-controllers/ti/cdns,k3-ddr.yaml
> 

Where is the rest of 22 patches? I got only these three patches.


A nit, subject: drop second/last, redundant "bindings". The
"dt-bindings" prefix is already stating that these are bindings.
See also:
https://elixir.bootlin.com/linux/v7.1-rc7/source/Documentation/devicetree/bindings/submitting-patches.rst#L23

> diff --git a/Documentation/devicetree/bindings/memory-controllers/ti/cdns,k3-ddr.yaml b/Documentation/devicetree/bindings/memory-controllers/ti/cdns,k3-ddr.yaml
> new file mode 100644
> index 0000000000000..89caeb111627a
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/memory-controllers/ti/cdns,k3-ddr.yaml
> @@ -0,0 +1,81 @@
> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/memory-controllers/ti/cdns,k3-ddr.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Cadence DDR controller for K3 devices
> +
> +maintainers:
> +  - Santhosh Kumar K <s-k6@ti.com>
> +  - Neha Malcom Francis <n-francis@ti.com>
> +
> +properties:
> +  compatible:
> +    const: cdns,k3-ddr

cdns does not make a K3 SoC.

This is confusing. Are you sure you understand which company products
you are working on?


> +
> +  reg:
> +    minItems: 3

Drop.

> +    maxItems: 3
> +    description: |
> +      Address ranges for the different register regions of the DDRSS controller.
> +      - ctl_cfg: Controller configuration registers
> +      - ctl_cfg_pi: PHY Interface configuration registers
> +      - ctl_cfg_phy: PHY configuration registers

Describe items.

> +
> +  reg-names:
> +    items:
> +      - const: ctl_cfg
> +      - const: ctl_cfg_pi
> +      - const: ctl_cfg_phy
> +
> +  bootph-pre-ram: true

Nope

> +
> +required:
> +  - compatible
> +  - reg
> +  - reg-names
> +
> +unevaluatedProperties: false

More NO.

Really, can't you make some internal review back there in TI to avoid
sending something which does not resemble upstream code at all?

> +
> +examples:
> +  - |
> +    #include <dt-bindings/interrupt-controller/arm-gic.h>
> +    #include <dt-bindings/soc/ti,sci_pm_domain.h>
> +
> +    cbass_main {

NAK

> +      #address-cells = <2>;
> +      #size-cells = <2>;
> +
> +      memorycontroller: memorycontroller@2980000 {


git grep memorycontroller

And it did not made you thinking that name is wrong? I am done with it.


> +        compatible = "ti,j721e-ddrss";

Irrelevant. Which binding are you describing here?

Best regards,
Krzysztof


  parent reply	other threads:[~2026-07-15  4:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-07-14 12:55 [RFC PATCH 01/22] dt-bindings: memory: cdns,k3-ddr: Add Cadence K3 DDR controller binding MANNURU VENKATESWARLU
2026-07-14 12:55 ` [RFC PATCH 02/22] dt-bindings: memory: ti,j7-ddrss: Add TI K3 DDRSS wrapper binding MANNURU VENKATESWARLU
2026-07-14 12:55 ` [RFC PATCH 03/22] dt-bindings: memory: ti,j721s2-msmc: Add TI K3 MSMC binding MANNURU VENKATESWARLU
2026-07-15  4:57   ` Krzysztof Kozlowski
2026-07-15  8:34     ` MANNURU VENKATESWARLU
2026-07-15  4:55 ` Krzysztof Kozlowski [this message]
2026-07-15  9:03   ` Re: [RFC PATCH 01/22] dt-bindings: memory: cdns,k3-ddr: Add Cadence K3 DDR controller binding MANNURU VENKATESWARLU

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=a7208f27-97a7-4fc9-b7ef-58b62405bb3b@kernel.org \
    --to=krzk@kernel.org \
    --cc=bb@ti.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=n-francis@ti.com \
    --cc=robh@kernel.org \
    --cc=s-k6@ti.com \
    --cc=v-mannuru@ti.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