All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Fil Dunsky" <filipp.dunsky@gmail.com>
Cc: linux-pci@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org, vkoul@kernel.org,
	neil.armstrong@linaro.org, olteanv@gmail.com
Subject: Re: [PATCH 2/8] dt-bindings: clock: Describe CS7542 PCIe gates and resets
Date: Mon, 23 Nov 2026 18:49:26 +0000	[thread overview]
Message-ID: <sashiko-outbox-229877@kernel.org> (raw)
In-Reply-To: <20261123-b4-cs7542-pcie-v1-2-4cde5201d404@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: clock: virtual child node for parent syscon
  clocks and resets
--

commit 9d52d2650fe35dd9a422c99bb705a36a99c1ed9f
Author: Fil Dunsky <filipp.dunsky@gmail.com>

dt-bindings: clock: Describe CS7542 PCIe gates and resets

This commit adds a Devicetree binding for the Cortina Systems CS7542 PCIe
clock gates and resets as a child node of the global control syscon.

> diff --git a/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml b/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml
> new file mode 100644
> index 0000000000000..08e0214d2bb22
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml
> @@ -0,0 +1,47 @@
[ ... ]
> +properties:
> +  compatible:
> +    const: cortina,cs7542-pcie-control
> +
> +  "#clock-cells":
> +    const: 1
> +
> +  "#reset-cells":
> +    const: 1
[ ... ]
> diff --git a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
> index fb074de870bd4..52597c4e84d20 100644
> --- a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
> +++ b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
> @@ -29,6 +29,10 @@ properties:
>    "#clock-cells":
>      const: 1
>  
> +  pcie-control:
> +    type: object
> +    $ref: /schemas/clock/cortina,cs7542-pcie-control.yaml#

[Severity: Medium]
Should the PCIe gate clocks and controller resets be provided directly by
the parent cortina,cs7542-syscon node instead of a resource-less
pcie-control child node?

The parent node already maps the 0x100-byte global control register block
and acts as a clock provider with #clock-cells = <1>.  Creating a child
node with no reg property or Devicetree resources of its own puts a
driver split into the Devicetree ABI, contrary to
Documentation/devicetree/bindings/writing-bindings.rst.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-b4-cs7542-pcie-v1-0-4cde5201d404@gmail.com?part=2

-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

WARNING: multiple messages have this Message-ID (diff)
From: sashiko-bot@kernel.org
To: "Fil Dunsky" <filipp.dunsky@gmail.com>
Cc: linux-pci@vger.kernel.org, linux-clk@vger.kernel.org,
	linux-phy@lists.infradead.org, devicetree@vger.kernel.org,
	robh@kernel.org, conor+dt@kernel.org, vkoul@kernel.org,
	neil.armstrong@linaro.org, olteanv@gmail.com
Subject: Re: [PATCH 2/8] dt-bindings: clock: Describe CS7542 PCIe gates and resets
Date: Mon, 23 Nov 2026 18:49:26 +0000	[thread overview]
Message-ID: <sashiko-outbox-229877@kernel.org> (raw)
In-Reply-To: <20261123-b4-cs7542-pcie-v1-2-4cde5201d404@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] dt-bindings: clock: virtual child node for parent syscon
  clocks and resets
--

commit 9d52d2650fe35dd9a422c99bb705a36a99c1ed9f
Author: Fil Dunsky <filipp.dunsky@gmail.com>

dt-bindings: clock: Describe CS7542 PCIe gates and resets

This commit adds a Devicetree binding for the Cortina Systems CS7542 PCIe
clock gates and resets as a child node of the global control syscon.

> diff --git a/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml b/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml
> new file mode 100644
> index 0000000000000..08e0214d2bb22
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/clock/cortina,cs7542-pcie-control.yaml
> @@ -0,0 +1,47 @@
[ ... ]
> +properties:
> +  compatible:
> +    const: cortina,cs7542-pcie-control
> +
> +  "#clock-cells":
> +    const: 1
> +
> +  "#reset-cells":
> +    const: 1
[ ... ]
> diff --git a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
> index fb074de870bd4..52597c4e84d20 100644
> --- a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
> +++ b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
> @@ -29,6 +29,10 @@ properties:
>    "#clock-cells":
>      const: 1
>  
> +  pcie-control:
> +    type: object
> +    $ref: /schemas/clock/cortina,cs7542-pcie-control.yaml#

[Severity: Medium]
Should the PCIe gate clocks and controller resets be provided directly by
the parent cortina,cs7542-syscon node instead of a resource-less
pcie-control child node?

The parent node already maps the 0x100-byte global control register block
and acts as a clock provider with #clock-cells = <1>.  Creating a child
node with no reg property or Devicetree resources of its own puts a
driver split into the Devicetree ABI, contrary to
Documentation/devicetree/bindings/writing-bindings.rst.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261123-b4-cs7542-pcie-v1-0-4cde5201d404@gmail.com?part=2

  reply	other threads:[~2026-11-23 18:49 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-23 18:43 [PATCH 0/8] soc: cortina: Add CS7542 PCIe control, SerDes and host support Fil Dunsky
2026-11-23 18:43 ` Fil Dunsky via B4 Relay
2026-11-23 18:43 ` Fil Dunsky via B4 Relay
2026-11-23 18:43 ` [PATCH 1/8] PCI: dwc: Export the multiplexed MSI interrupt handler Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:52   ` sashiko-bot
2026-11-23 18:52     ` sashiko-bot
2026-11-23 18:43 ` [PATCH 2/8] dt-bindings: clock: Describe CS7542 PCIe gates and resets Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:49   ` sashiko-bot [this message]
2026-11-23 18:49     ` sashiko-bot
2026-11-24  6:38   ` Krzysztof Kozlowski
2026-11-24  6:38     ` Krzysztof Kozlowski
2026-11-24  6:58     ` Fil Dunsky
2026-11-24  6:58       ` Fil Dunsky
2026-11-23 18:43 ` [PATCH 3/8] clk: Add " Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43 ` [PATCH 4/8] dt-bindings: phy: Describe CS7542 PCIe SerDes Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43 ` [PATCH 5/8] phy: Add CS7542 PCIe SerDes support Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43 ` [PATCH 6/8] dt-bindings: PCI: Describe the CS7542 host controller Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:48   ` sashiko-bot
2026-11-23 18:48     ` sashiko-bot
2026-11-23 18:43 ` [PATCH 7/8] PCI: cs7542: Add CS7542 PCIe host support Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 19:11   ` sashiko-bot
2026-11-23 19:11     ` sashiko-bot
2026-11-23 22:24   ` Bjorn Helgaas
2026-11-23 22:24     ` Bjorn Helgaas
2026-11-23 23:42     ` Fil Dunsky
2026-11-23 23:42       ` Fil Dunsky
2026-11-23 18:43 ` [PATCH 8/8] MAINTAINERS: Add CS7542 PCIe support Fil Dunsky
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 18:43   ` Fil Dunsky via B4 Relay
2026-11-23 19:11 ` [PATCH 0/8] soc: cortina: Add CS7542 PCIe control, SerDes and host support sashiko-bot

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=sashiko-outbox-229877@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=filipp.dunsky@gmail.com \
    --cc=linux-clk@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=linux-phy@lists.infradead.org \
    --cc=neil.armstrong@linaro.org \
    --cc=olteanv@gmail.com \
    --cc=robh@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    --cc=vkoul@kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.