R: [PATCH 11/12] devicetree: bindings: pci: add force_gen1 for qcom,pcie

From: ansuelsmth
Date: Wed Apr 01 2020 - 08:09:18 EST




> -----Messaggio originale-----
> Da: Rob Herring <robh@xxxxxxxxxx>
> Inviato: martedì 31 marzo 2020 19:34
> A: Ansuel Smith <ansuelsmth@xxxxxxxxx>
> Cc: Stanimir Varbanov <svarbanov@xxxxxxxxxx>; Andy Gross
> <agross@xxxxxxxxxx>; Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>;
> Bjorn Helgaas <bhelgaas@xxxxxxxxxx>; Mark Rutland
> <mark.rutland@xxxxxxx>; Lorenzo Pieralisi <lorenzo.pieralisi@xxxxxxx>;
> Andrew Murray <amurray@xxxxxxxxxxxxxxxxxxxx>; Philipp Zabel
> <p.zabel@xxxxxxxxxxxxxx>; linux-arm-msm@xxxxxxxxxxxxxxx; linux-
> pci@xxxxxxxxxxxxxxx; devicetree@xxxxxxxxxxxxxxx; linux-
> kernel@xxxxxxxxxxxxxxx
> Oggetto: Re: [PATCH 11/12] devicetree: bindings: pci: add force_gen1 for
> qcom,pcie
>
> On Fri, Mar 20, 2020 at 07:34:53PM +0100, Ansuel Smith wrote:
> > Document force_gen1 optional definition to limit pcie
> > line to GEN1 speed
> >
> > Signed-off-by: Ansuel Smith <ansuelsmth@xxxxxxxxx>
> > ---
> > Documentation/devicetree/bindings/pci/qcom,pcie.txt | 5 +++++
> > 1 file changed, 5 insertions(+)
> >
> > diff --git a/Documentation/devicetree/bindings/pci/qcom,pcie.txt
> b/Documentation/devicetree/bindings/pci/qcom,pcie.txt
> > index 8c1d014f37b0..766876465c42 100644
> > --- a/Documentation/devicetree/bindings/pci/qcom,pcie.txt
> > +++ b/Documentation/devicetree/bindings/pci/qcom,pcie.txt
> > @@ -260,6 +260,11 @@
> > Definition: If not defined is 0. In ipq806x is set to 7. In newer
> > revision (v2.0) the offset is zero.
> >
> > +- force_gen1:
> > + Usage: optional
> > + Value type: <u32>
> > + Definition: Set 1 to force the pcie line to GEN1
> > +
>
> I believe we have a standard property 'link-speed' for this purpose.
>

Yes this will be dropped in v2

> > * Example for ipq/apq8064
> > pcie@1b500000 {
> > compatible = "qcom,pcie-apq8064", "qcom,pcie-ipq8064",
> "snps,dw-pcie";
> > --
> > 2.25.1
> >