From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752416AbcAFONc (ORCPT ); Wed, 6 Jan 2016 09:13:32 -0500 Received: from mail.kernel.org ([198.145.29.136]:43022 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751629AbcAFON3 (ORCPT ); Wed, 6 Jan 2016 09:13:29 -0500 Date: Wed, 6 Jan 2016 08:13:24 -0600 From: Rob Herring To: Kishon Vijay Abraham I Cc: Bjorn Helgaas , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , linux-omap@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, nsekhar@ti.com Subject: Re: [PATCH 2/2] pci: host: pci-dra7xx: Enable x2 mode support Message-ID: <20160106141324.GA24713@rob-hp-laptop> References: <1452077393-25880-1-git-send-email-kishon@ti.com> <1452077393-25880-3-git-send-email-kishon@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1452077393-25880-3-git-send-email-kishon@ti.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 06, 2016 at 04:19:53PM +0530, Kishon Vijay Abraham I wrote: > Perform syscon configurations to get x2 mode to working in DRA74x and > DRA72x. Also add a new compatible string to dfferentiate > DRA72x and DRA74x, since b1c0 mask is different for both these platforms. > > Signed-off-by: Kishon Vijay Abraham I > --- > Documentation/devicetree/bindings/pci/ti-pci.txt | 8 ++- > drivers/pci/host/pci-dra7xx.c | 81 +++++++++++++++++++++- > 2 files changed, 86 insertions(+), 3 deletions(-) > > diff --git a/Documentation/devicetree/bindings/pci/ti-pci.txt b/Documentation/devicetree/bindings/pci/ti-pci.txt > index 60e2516..0b10e84 100644 > --- a/Documentation/devicetree/bindings/pci/ti-pci.txt > +++ b/Documentation/devicetree/bindings/pci/ti-pci.txt > @@ -1,7 +1,9 @@ > TI PCI Controllers > > PCIe Designware Controller > - - compatible: Should be "ti,dra7-pcie"" > + - compatible: "ti,dra7-pcie" is deprecated > + Should be "ti,dra746-pcie" for DRA74x > + Should be "ti,dra726-pcie" for DRA72x > - reg : Two register ranges as listed in the reg-names property > - reg-names : The first entry must be "ti-conf" for the TI specific registers > The second entry must be "rc-dbics" for the designware pcie > @@ -14,6 +16,10 @@ PCIe Designware Controller > where is the instance number of the pcie from the HW spec. > - interrupts : Two interrupt entries must be specified. The first one is for > main interrupt line and the second for MSI interrupt line. > + - syscon-lane-conf : phandle/offset pair. Phandle to the system control module and the > + register offset to specify 1 lane or 2 lane. > + - syscon-lane-sel : phandle/offset pair. Phandle to the system control module and the > + register offset to specify lane selection. These should have a ti prefix. > - #address-cells, > #size-cells, > #interrupt-cells,