[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID:
<SEYPR06MB5134E409B225B6B1C934A10F9D7CA@SEYPR06MB5134.apcprd06.prod.outlook.com>
Date: Fri, 20 Jun 2025 08:29:41 +0000
From: Jacky Chou <jacky_chou@...eedtech.com>
To: Krzysztof Kozlowski <krzk@...nel.org>, "bhelgaas@...gle.com"
<bhelgaas@...gle.com>, "lpieralisi@...nel.org" <lpieralisi@...nel.org>,
"kwilczynski@...nel.org" <kwilczynski@...nel.org>, "mani@...nel.org"
<mani@...nel.org>, "robh@...nel.org" <robh@...nel.org>, "krzk+dt@...nel.org"
<krzk+dt@...nel.org>, "conor+dt@...nel.org" <conor+dt@...nel.org>,
"joel@....id.au" <joel@....id.au>, "andrew@...econstruct.com.au"
<andrew@...econstruct.com.au>, "vkoul@...nel.org" <vkoul@...nel.org>,
"kishon@...nel.org" <kishon@...nel.org>, "linus.walleij@...aro.org"
<linus.walleij@...aro.org>, "p.zabel@...gutronix.de"
<p.zabel@...gutronix.de>, "linux-aspeed@...ts.ozlabs.org"
<linux-aspeed@...ts.ozlabs.org>, "linux-pci@...r.kernel.org"
<linux-pci@...r.kernel.org>, "devicetree@...r.kernel.org"
<devicetree@...r.kernel.org>, "linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>, "linux-kernel@...r.kernel.org"
<linux-kernel@...r.kernel.org>, "linux-phy@...ts.infradead.org"
<linux-phy@...ts.infradead.org>, "openbmc@...ts.ozlabs.org"
<openbmc@...ts.ozlabs.org>, "linux-gpio@...r.kernel.org"
<linux-gpio@...r.kernel.org>
CC: "elbadrym@...gle.com" <elbadrym@...gle.com>, "romlem@...gle.com"
<romlem@...gle.com>, "anhphan@...gle.com" <anhphan@...gle.com>,
"wak@...gle.com" <wak@...gle.com>, "yuxiaozhang@...gle.com"
<yuxiaozhang@...gle.com>, BMC-SW <BMC-SW@...eedtech.com>
Subject:
回覆: [PATCH 1/7] dt-bindings: phy: Add document for ASPEED PCIe PHY
>
> Filename basedon compatible
>
> A nit, subject: drop second/last, redundant "document for". The "dt-bindings"
> prefix is already stating that these are documents.
> See also:
> https://elixir.bootlin.com/linux/v6.7-rc8/source/Documentation/devicetree/bin
> dings/submitting-patches.rst#L18
Agreed.
>
> > MAINTAINERS | 10 +++++
> > 2 files changed, 48 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/phy/aspeed-pcie-phy.yaml
> >
> > diff --git
> > a/Documentation/devicetree/bindings/phy/aspeed-pcie-phy.yaml
> > b/Documentation/devicetree/bindings/phy/aspeed-pcie-phy.yaml
> > new file mode 100644
> > index 000000000000..762bf7b0aedc
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/phy/aspeed-pcie-phy.yaml
> > @@ -0,0 +1,38 @@
> > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/phy/aspeed-pcie-phy.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: ASPEED PCIe PHY
> > +
> > +maintainers:
> > + - Jacky Chou <jacky_chou@...eedtech.com>
> > +
> > +description: |
>
> Do not need '|' unless you need to preserve formatting.
Agreed.
>
> > + The ASPEED PCIe PHY provides the physical layer interface for PCIe
> > + controllers in the SoC. This node represents the register block for
> > + the PCIe PHY, which is typically accessed by PCIe Root Complex or
> > + Endpoint drivers via syscon.
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - aspeed,ast2600-pcie-phy
> > + - aspeed,ast2700-pcie-phy
> > +
> > + reg:
> > + maxItems: 1
> > +
>
> No phy cells? How is this a phy exactly?
>
> No resources? This looks just incomplete.
There is no resource.
I will add the following description in next version.
"#phy-cells":
const: 0
>
> > +required:
> > + - compatible
> > + - reg
>
> > +
> > +additionalProperties: false
> > +
> > +examples:
> > + - |
> > + pcie-phy@...ed200 {
> > + compatible = "aspeed,ast2600-pcie-phy";
> > + reg = <0x1e6ed200 0x100>;
> > + };
> > diff --git a/MAINTAINERS b/MAINTAINERS index
> > a5a650812c16..68115443607d 100644
> > --- a/MAINTAINERS
> > +++ b/MAINTAINERS
> > @@ -3696,6 +3696,16 @@ S: Maintained
> > F:
> Documentation/devicetree/bindings/media/aspeed,video-engine.yaml
> > F: drivers/media/platform/aspeed/
> >
> > +ASPEED PCIE CONTROLLER DRIVER
> > +M: Jacky Chou <jacky_chou@...eedtech.com>
> > +L: linux-aspeed@...ts.ozlabs.org (moderated for non-subscribers)
> > +L: linux-pci@...r.kernel.org
> > +S: Maintained
> > +F: Documentation/devicetree/bindings/pci/aspeed-pcie-cfg.yaml
> > +F: Documentation/devicetree/bindings/pci/aspeed-pcie.yaml
> > +F: Documentation/devicetree/bindings/phy/aspeed-pcie-phy.yaml
> > +F: drivers/pci/controller/pcie-aspeed.c
>
> There is no such file... actually many above do not exist.
I will separate MAINTAINERS from this patch to a single patch attached
the end of series in next version.
Thanks,
Jacky
Powered by blists - more mailing lists