[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230608155214.GA8632@thinkpad>
Date: Thu, 8 Jun 2023 21:22:14 +0530
From: Manivannan Sadhasivam <mani@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Krishna chaitanya chundru <quic_krichai@...cinc.com>,
manivannan.sadhasivam@...aro.org, quic_vbadigan@...cinc.com,
quic_ramkri@...cinc.com, Andy Gross <agross@...nel.org>,
Bjorn Andersson <andersson@...nel.org>,
Konrad Dybcio <konrad.dybcio@...aro.org>,
Lorenzo Pieralisi <lpieralisi@...nel.org>,
Krzysztof Wilczyński <kw@...ux.com>,
Bjorn Helgaas <bhelgaas@...gle.com>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
"open list:ARM/QUALCOMM SUPPORT" <linux-arm-msm@...r.kernel.org>,
"open list:PCIE ENDPOINT DRIVER FOR QUALCOMM"
<linux-pci@...r.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/3] dt-bindings: PCI: qcom: ep: Add interconnects path
On Thu, Jun 08, 2023 at 09:27:59AM -0600, Rob Herring wrote:
> On Wed, Jun 07, 2023 at 09:48:05PM +0530, Krishna chaitanya chundru wrote:
> > Add the "pcie-mem" interconnect path to the bindings.
> >
> > Signed-off-by: Krishna chaitanya chundru <quic_krichai@...cinc.com>
> > ---
> > Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml | 9 +++++++++
> > 1 file changed, 9 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > index b3c22eb..6fc5440 100644
> > --- a/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie-ep.yaml
> > @@ -70,6 +70,13 @@ properties:
> > description: GPIO used as WAKE# output signal
> > maxItems: 1
> >
> > + interconnects:
> > + maxItems: 1
> > +
> > + interconnect-names:
> > + items:
> > + - const: pcie-mem
> > +
> > resets:
> > maxItems: 1
> >
> > @@ -97,6 +104,8 @@ required:
> > - interrupts
> > - interrupt-names
> > - reset-gpios
> > + - interconnects
> > + - interconnect-names
>
> You can't add required properties. That's an ABI break. Up to the
> platform whether that's acceptible, but you have to explain all this in
> the commmit msg.
>
Some platforms may not boot if a device driver doesn't initialize the
interconnect path. Mostly it is all handled by the bootloader but we have
starting to see cases where bootloader simply ignores them.
So I'd say that these need to be made required (should've been from the start
but I take the blame). And yes, this info should be part of the commit message.
- Mani
> > - resets
> > - reset-names
> > - power-domains
> > --
> > 2.7.4
> >
--
மணிவண்ணன் சதாசிவம்
Powered by blists - more mailing lists