Re: [PATCH 30/37] dt-bindings: PCI: dra7xx: Add dt bindings to enable legacy mode
From: Kishon Vijay Abraham I
Date: Thu Feb 16 2017 - 03:34:52 EST
On Thursday 19 January 2017 03:16 AM, Rob Herring wrote:
> On Thu, Jan 12, 2017 at 03:56:19PM +0530, Kishon Vijay Abraham I wrote:
>> Update device tree binding documentation of TI's dra7xx PCI
>> controller to include property for enabling legacy mode.
>> Signed-off-by: Kishon Vijay Abraham I <kishon@xxxxxx>
>> Documentation/devicetree/bindings/pci/ti-pci.txt | 4 ++++
>> 1 file changed, 4 insertions(+)
>> diff --git a/Documentation/devicetree/bindings/pci/ti-pci.txt b/Documentation/devicetree/bindings/pci/ti-pci.txt
>> index 62f5f59..ed85e8e 100644
>> --- a/Documentation/devicetree/bindings/pci/ti-pci.txt
>> +++ b/Documentation/devicetree/bindings/pci/ti-pci.txt
>> @@ -39,6 +39,10 @@ DEVICE MODE
>> - interrupts : one interrupt entries must be specified for main interrupt.
>> - num-ib-windows : number of inbound address translation windows
>> - num-ob-windows : number of outbound address translation windows
>> + - syscon-legacy-mode: phandle to the syscon dt node. The 1st argument should
>> + contain the register offset within syscon and the 2nd
>> + argument should contain the bit field for setting the
>> + legacy mode
> What's legacy mode?
It's the name of the bit-field defined in TRM used to add workaround for errata
id i870 (See [PATCH 29/37] PCI: dwc: dra7xx: Workaround for errata id i870 of
this series). I'm not sure what it does internally.